{
"ok": true,
"data": {
"id": "787132",
"username": "natgeo",
"url": "https://www.instagram.com/natgeo/",
"fullName": "National Geographic",
"biography": "Step into wonder and find your inner explorer with National Geographic",
"externalUrl": "http://visitstore.bio/natgeo",
"externalUrls": [
{
"title": null,
"url": "http://visitstore.bio/natgeo"
}
],
"followersCount": 268114015,
"followsCount": 195,
"postsCount": 32171,
"highlightReelCount": 1,
"hasReels": true,
"verified": true,
"isBusinessAccount": true,
"accountType": "business",
"profilePicUrl": "https://scontent.cdninstagram.com/v/t51.82787-19/natgeo_150.jpg",
"profilePicUrlHD": "https://scontent.cdninstagram.com/v/t51.82787-19/natgeo_1080.jpg",
"fbid": "17841400573960012",
"pronouns": [],
"latestPosts": [
{
"id": "4024784204432119856",
"type": "Video",
"productType": "clips",
"shortCode": "Dfa5-jix5gw",
"url": "https://www.instagram.com/p/Dfa5-jix5gw/",
"caption": "From harsh conditions to rival predators, these wolves face danger at every turn.",
"hashtags": [
"WolvesUpClose"
],
"mentions": [
"bertiegregory"
],
"likesCount": 132982,
"commentsCount": 538,
"videoPlayCount": 2285354,
"videoDuration": 42.603,
"timestamp": "2026-11-07T15:00:02.000Z",
"displayUrl": "https://scontent.cdninstagram.com/v/t51.82787-15/Dfa5-jix5gw.jpg",
"images": [],
"videoUrl": "https://scontent.cdninstagram.com/o1/v/t2/f2/m86/Dfa5-jix5gw.mp4",
"dimensionsHeight": 1920,
"dimensionsWidth": 1080,
"alt": null,
"childPosts": [],
"ownerId": "787132",
"ownerUsername": "natgeo",
"ownerFullName": "National Geographic",
"taggedUsers": [
{
"id": "1284886006",
"username": "bertiegregory",
"fullName": "Bertie Gregory",
"isVerified": true
}
],
"coauthorProducers": [],
"isPaidPartnership": false,
"isCommentsDisabled": false,
"isPinned": true
}
],
"scrapedAt": "2026-11-15T03:49:14.921Z"
},
"next_cursor": "eyJ2IjoxLCJrIjoicG9zdHMiLCJ1IjoibmF0Z2VvIiwicGsiOiI3ODcxMzIi..."
}
curl --location --request GET 'https://zylalabs.com/api/15059/instagram+profiles+api/39855/get+profile?username=natgeo' --header 'Authorization: Bearer YOUR_API_KEY'
{
"ok": true,
"data": {
"username": "nasa",
"items": [
{
"id": "4024676116912147114",
"type": "Image",
"productType": "feed",
"shortCode": "DfahZrMjAqq",
"url": "https://www.instagram.com/p/DfahZrMjAqq/",
"caption": "Galaxy in bloom",
"hashtags": [
"NASA",
"Galaxy",
"Flower"
],
"mentions": [],
"likesCount": 244637,
"commentsCount": 810,
"videoPlayCount": null,
"videoDuration": null,
"timestamp": "2026-11-06T21:00:08.000Z",
"displayUrl": "https://scontent.cdninstagram.com/v/t51.82787-15/DfahZrMjAqq.jpg",
"images": [],
"videoUrl": null,
"dimensionsHeight": 1440,
"dimensionsWidth": 1440,
"alt": null,
"childPosts": [],
"ownerId": "528817151",
"ownerUsername": "nasa",
"ownerFullName": "NASA",
"taggedUsers": [],
"coauthorProducers": [],
"isPaidPartnership": false,
"isCommentsDisabled": false,
"isPinned": false
}
]
},
"next_cursor": "eyJ2IjoxLCJrIjoicG9zdHMiLCJ1IjoibmFzYSIsInBrIjoiNTI4ODE3MTUxIi..."
}
curl --location --request GET 'https://zylalabs.com/api/15059/instagram+profiles+api/39856/get+profile+posts?username=nasa' --header 'Authorization: Bearer YOUR_API_KEY'
{
"ok": true,
"data": {
"username": "nasa",
"items": [
{
"id": "4025327901360909266",
"type": "Video",
"productType": "clips",
"shortCode": "Dfc1mYxFevS",
"url": "https://www.instagram.com/p/Dfc1mYxFevS/",
"caption": "Apply to become an astronaut!\n\nWe've opened applications to join NASA's astronaut corps, who will expand the frontiers of discovery in low Earth orbit, on the Moon, and beyond. Check our link in bio for the details.\n\n#NASA #Astronaut #JobSearch",
"hashtags": [
"NASA",
"Astronaut",
"JobSearch"
],
"mentions": [],
"likesCount": 95181,
"commentsCount": 1338,
"videoPlayCount": 3961240,
"videoDuration": 63.467,
"timestamp": "2026-11-07T18:35:41.000Z",
"displayUrl": "https://scontent-lax3-1.cdninstagram.com/v/t51.82787-15/892262107_18667067911049152_7232282950866099313_n.jpg?stp=dst-jpg_e15_tt6&_nc_cat=102&_nc_map=urlgen_bucketless&ig_cache_key=NDAyNTMyNzkwMTM2MDkwOTI2NjE4NjY3MDY3OTA4MDQ5MTUy.3-ccb7-5&ccb=7-5&_nc_sid=58cdad&efg=eyJ2ZW5jb2RlX3RhZyI6IkNMSVBTLnhwaWRzLjEwODAuc2RyLnZpZGVvX2RlZmF1bHRfY292ZXJfZnJhbWUuQzMifQ%3D%3D&_nc_ohc=3nTm1dtB_boQ7kNvwE4uyNr&_nc_o",
"images": [],
"videoUrl": "https://scontent-lax3-1.cdninstagram.com/o1/v/t2/f2/m86/AQOaFZSzCK2cDiH6dXb9aPPuVfhKmFlDpvjqR_xWLa4dUfLChqiDZzaKpehvtFAiPlqNcqsLHTRGmIiWJEXXgIw4rkcVSbfJtzGbCko.mp4?_nc_cat=101&_nc_sid=5e9851&_nc_ht=scontent-lax3-1.cdninstagram.com&_nc_ohc=cPz8ZljVAz4Q7kNvwF_Z08x&efg=eyJ2ZW5jb2RlX3RhZyI6Inhwdl9wcm9ncmVzc2l2ZS5JTlNUQUdSQU0uQ0xJUFMuQzMuNzIwLmRhc2hfYmFzZWxpbmVfMV92MSIsInhwdl9hc3NldF9pZCI6MTg2NjcwNjc1O",
"dimensionsHeight": 1920,
"dimensionsWidth": 1080,
"alt": null,
"childPosts": [],
"ownerId": "528817151",
"ownerUsername": "nasa",
"ownerFullName": "NASA",
"taggedUsers": [],
"coauthorProducers": [],
"isPaidPartnership": false,
"isCommentsDisabled": false,
"isPinned": true
},
{
"id": "4028930589394858803",
"type": "Video",
"productType": "clips",
"shortCode": "DfpowZdlfMz",
"url": "https://www.instagram.com/p/DfpowZdlfMz/",
"caption": "Spacewalk or moonwalk? 🌝\n\nWe're playing \"This or That\" with our current class of astronaut candidates. Could you be one of our next astronauts? Get your application in by Dec. 3.\n\nSee our link in bio to learn more!\n\n#NASA #Astronaut #ToTheMoon",
"hashtags": [
"NASA",
"Astronaut",
"ToTheMoon"
],
"mentions": [],
"likesCount": 108884,
"commentsCount": 1366,
"videoPlayCount": 7721550,
"videoDuration": 29.118,
"timestamp": "2026-11-12T17:53:22.000Z",
"displayUrl": "https://scontent-lax3-1.cdninstagram.com/v/t51.82787-15/901842424_18668761549049152_1896484591967906649_n.jpg?stp=dst-jpg_e15_tt6&_nc_cat=1&ig_cache_key=NDAyODkzMDU4OTM5NDg1ODgwMzE4NjY4NzYxNTQ2MDQ5MTUy.3-ccb7-5&ccb=7-5&_nc_sid=58cdad&efg=eyJ2ZW5jb2RlX3RhZyI6IkNMSVBTLnhwaWRzLjQwNS5zZHIudmlkZW9fZGVmYXVsdF9jb3Zlcl9mcmFtZS5DMyJ9&_nc_ohc=fXyG4SSYAHUQ7kNvwG3Ui-N&_nc_oc=AdqTCqHjlmgDkpTxKKzkFJp373EeiYvgeN",
"images": [],
"videoUrl": "https://scontent-lax3-1.cdninstagram.com/o1/v/t2/f2/m86/AQOgFChnAV_e-bO89_oHF4deJ4TNt5PwIHLes8Gi-yCGx74iT9PrY2_LMnka7gGntojPC3ncXdvz2UbPrNxo1W_NZ8OU-lZeNt1kmRk.mp4?_nc_cat=109&_nc_sid=5e9851&_nc_ht=scontent-lax3-1.cdninstagram.com&_nc_ohc=EkfL3L7QSTEQ7kNvwGzGA0u&efg=eyJ2ZW5jb2RlX3RhZyI6Inhwdl9wcm9ncmVzc2l2ZS5JTlNUQUdSQU0uQ0xJUFMuQzMuNzIwLmRhc2hfYmFzZWxpbmVfMV92MSIsInhwdl9hc3NldF9pZCI6MTg2Njg3NjEzO",
"dimensionsHeight": 1920,
"dimensionsWidth": 1080,
"alt": null,
"childPosts": [],
"ownerId": "528817151",
"ownerUsername": "nasa",
"ownerFullName": "NASA",
"taggedUsers": [],
"coauthorProducers": [],
"isPaidPartnership": false,
"isCommentsDisabled": false,
"isPinned": false
},
{
"id": "4026720852899666176",
"type": "Video",
"productType": "clips",
"shortCode": "DfhyUf-vhkA",
"url": "https://www.instagram.com/p/DfhyUf-vhkA/",
"caption": "The weekend ends. The mission keeps going.\n\nThis is what American ambition looks like. 🇺🇸🚀",
"hashtags": [],
"mentions": [],
"likesCount": 38172,
"commentsCount": 412,
"videoPlayCount": 3101703,
"videoDuration": 86.72,
"timestamp": "2026-11-09T16:47:12.000Z",
"displayUrl": "https://scontent-lax3-1.cdninstagram.com/v/t51.82787-15/893375784_18667736551049152_7849517084079523217_n.jpg?stp=dst-jpg_e15_tt6&_nc_cat=106&_nc_map=urlgen_bucketless&ig_cache_key=NDAyNjcyMDg1Mjg5OTY2NjE3Ng%3D%3D.3-ccb7-5&ccb=7-5&_nc_sid=58cdad&efg=eyJ2ZW5jb2RlX3RhZyI6IkNMSVBTLnhwaWRzLjEyMTUuc2RyLnZpZGVvX2RlZmF1bHRfY292ZXJfZnJhbWUuQzMifQ%3D%3D&_nc_ohc=CbeTRWhA0c4Q7kNvwFY5amV&_nc_oc=AdpM5Xee_xe4mE",
"images": [],
"videoUrl": "https://scontent-lax3-1.cdninstagram.com/o1/v/t2/f2/m367/AQPbsBClb86nkbZYxzFneELmzl8o7gnUeY6kg6yD70fDPQd5unTfVGPTMBlqffhKYGB80GaXXYnLME6cW3Z3EKl5UHRkYECLMqFrvxPvcQ.mp4?_nc_cat=110&_nc_sid=8bf8fe&_nc_ht=scontent-lax3-1.cdninstagram.com&_nc_ohc=Tglcs2LvxeAQ7kNvwE384wE&efg=eyJ2ZW5jb2RlX3RhZyI6Inhwdl9wcm9ncmVzc2l2ZS5JTlNUQUdSQU0uQ0xJUFMuQzMuMTI4MC5wcm9ncmVzc2l2ZV9oMjY0LWJhc2ljLWdlbjJfNzIwcCIsInhwdl9hc",
"dimensionsHeight": 1080,
"dimensionsWidth": 1920,
"alt": null,
"childPosts": [],
"ownerId": "528817151",
"ownerUsername": "nasa",
"ownerFullName": "NASA",
"taggedUsers": [
{
"id": "27179220808",
"username": "airdotshow",
"fullName": "Air Dot Show Tour",
"isVerified": false
},
{
"id": "72012334051",
"username": "whitehouse",
"fullName": "The White House",
"isVerified": true
},
{
"id": "72066633030",
"username": "potus",
"fullName": "President Donald J. Trump",
"isVerified": true
}
],
"coauthorProducers": [
{
"id": "79712351002",
"username": "nasaadmin",
"fullName": "NASA Administrator Jared Isaacman",
"isVerified": true
}
],
"isPaidPartnership": false,
"isCommentsDisabled": false,
"isPinned": false
}
]
},
"next_cursor": "eyJ2IjoxLCJrIjoicmVlbHMiLCJ1IjoibmFzYSIsInBrIjoiNTI4ODE3MTUxIiwibiI6IjE3ODQxNDAxNDc0NTM4MjYyIiwiYSI6IkFRSFRuYU55SnZvTDRTMGNfdVN2ZjRWUEM1OFZDVFk5SVFsemkySW5TZmMtbmllaDJRYkRaMDdpOWFRZFR3RVdzRGFqYjZ6ZTNoVkhUWnFzdUdtY2Vubk1iZyIsImciOiJBUUhUSVRFZUN5NFBrNDA3M1JaQ3V2UFRfeng4cm5QV2ZZQ3kwOFQ3YWVwbklGZmNDVzJlWEM1SEtTLVdRWTBhVVpWNzlpNlFfSHNKaUlaY2J6bnRHOElPWHcifQ"
}
curl --location --request GET 'https://zylalabs.com/api/15059/instagram+profiles+api/39857/get+profile+reels?username=nasa' --header 'Authorization: Bearer YOUR_API_KEY'
{
"ok": true,
"data": {
"id": "4024676116912147114",
"type": "Image",
"productType": "feed",
"shortCode": "DfahZrMjAqq",
"url": "https://www.instagram.com/p/DfahZrMjAqq/",
"caption": "Galaxy in bloom",
"hashtags": [
"NASA",
"Galaxy",
"Flower"
],
"mentions": [],
"likesCount": 244637,
"commentsCount": 810,
"videoPlayCount": null,
"videoDuration": null,
"timestamp": "2026-11-06T21:00:08.000Z",
"displayUrl": "https://scontent.cdninstagram.com/v/t51.82787-15/DfahZrMjAqq.jpg",
"images": [],
"videoUrl": null,
"dimensionsHeight": 1440,
"dimensionsWidth": 1440,
"alt": null,
"childPosts": [],
"ownerId": "528817151",
"ownerUsername": "nasa",
"ownerFullName": "NASA",
"taggedUsers": [],
"coauthorProducers": [],
"isPaidPartnership": false,
"isCommentsDisabled": false,
"locationName": null,
"locationId": null,
"sponsors": [],
"musicInfo": null,
"scrapedAt": "2026-11-15T03:49:34.894Z"
},
"next_cursor": null
}
curl --location --request GET 'https://zylalabs.com/api/15059/instagram+profiles+api/39858/get+post+details?url=https://www.instagram.com/p/DfahZrMjAqq/' --header 'Authorization: Bearer YOUR_API_KEY'
{
"ok": true,
"data": {
"shortCode": "DfahZrMjAqq",
"postId": "4024676116912147114",
"commentsCount": 810,
"commentsDisabled": false,
"items": [
{
"id": "18109962871946737",
"text": "Beautiful!",
"timestamp": "2026-11-07T08:21:13.000Z",
"likesCount": 3,
"repliesCount": 0,
"ownerId": "1234567890",
"ownerUsername": "sample.account",
"ownerIsVerified": false,
"ownerProfilePicUrl": "https://scontent.cdninstagram.com/v/sample-avatar.jpg"
}
]
},
"next_cursor": "eyJ2IjoxLCJrIjoiY29tbWVudHMiLCJzIjoiRGZhaFpyTWpBcXEi..."
}
curl --location --request GET 'https://zylalabs.com/api/15059/instagram+profiles+api/39859/get+post+comments?url=https://www.instagram.com/p/DfahZrMjAqq/' --header 'Authorization: Bearer YOUR_API_KEY'
{
"ok": true,
"data": {
"tag": "sourdough",
"relatedTags": [
"sourdough danish recipe",
"hot honey sourdough"
],
"items": [
{
"searchTerm": "sourdough",
"position": 1,
"id": "3858533513377077358",
"type": "Video",
"productType": null,
"shortCode": "DWMQ8l6x9hu",
"url": "https://www.instagram.com/p/DWMQ8l6x9hu/",
"caption": "Sourdough bread recipe for beginners",
"hashtags": [
"sourdough",
"sourdoughbaking"
],
"mentions": [],
"likesCount": null,
"commentsCount": null,
"videoPlayCount": 2802745,
"videoDuration": null,
"timestamp": "2026-03-22T15:24:20.558Z",
"displayUrl": "https://scontent.cdninstagram.com/v/t51.71878-15/DWMQ8l6x9hu.jpg",
"images": [],
"videoUrl": "https://scontent.cdninstagram.com/o1/v/t2/f2/m86/DWMQ8l6x9hu.mp4",
"dimensionsHeight": null,
"dimensionsWidth": null,
"alt": null,
"childPosts": [],
"ownerId": "79751840297",
"ownerUsername": "sample.creator",
"ownerFullName": null,
"taggedUsers": [],
"coauthorProducers": [],
"isPaidPartnership": false,
"isCommentsDisabled": false,
"ownerIsVerified": true,
"ownerProfilePicUrl": "https://scontent.cdninstagram.com/v/sample-avatar.jpg",
"locationName": null,
"locationId": null,
"sponsors": [],
"musicInfo": null
}
]
},
"next_cursor": "eyJ2IjoxLCJrIjoiaGFzaHRhZyIsInQiOiJzb3VyZG91Z2gi..."
}
curl --location --request GET 'https://zylalabs.com/api/15059/instagram+profiles+api/39860/get+hashtag+top+posts?tag=sourdough' --header 'Authorization: Bearer YOUR_API_KEY'
注册后,每个开发者都会被分配一个个人 API 访问密钥,这是一个唯一的字母和数字组合,用于访问我们的 API 端点。要使用 Instagram个人资料 API 进行身份验证,只需在 Authorization 标头中包含您的 bearer token。
| 标头 | 描述 |
|---|---|
授权
|
必需
应为 Bearer access_key. 订阅后,请查看上方的"您的 API 访问密钥"。
|
不 API 仅读取公共数据 无需登录 私人账户及其帖子不可用
列表端点返回next_cursor 将其作为游标参数传递以获取下一页 直到next_cursor为null
用户名 @用户名 或者个人资料链接 用于个人资料 文章或短视频链接 短代码或数字ID 用于文章 标签或关键字 用于标签搜索
API返回404错误代码和消息而不是数据
每个端点返回特定的公共Instagram数据。例如“获取个人资料”提供个人资料详情和最新帖子,而“获取帖子评论”返回特定帖子的评论。“获取标签热门帖子”显示标签的热门帖子,包括标题和媒体URL
关键字段因端点而异。对于“获取资料”,字段包括用户名、粉丝数量和最新帖子。“获取帖子详情”包括标题、点赞数量和媒体网址。每个端点都有与其数据类型相关的独特字段
响应数据采用JSON格式结构化。每个响应包括一个“ok”状态和一个包含相关字段的“data”对象。例如,“获取个人资料”在“data”下返回个人资料信息,而“获取帖子评论”在“items”数组中列出评论。
每个端点提供不同的信息 “获取个人资料”提供关注者数量和最新帖子 “获取个人资料帖子”列出带有互动指标的帖子 “获取标签热门帖子”显示与关键字相关的热门帖子,包括标题和媒体
参数因端点而异 对于“获取个人资料”,您可以使用用户名或个人资料链接 “获取帖子评论”需要一个帖子URL或简短代码 “获取标签热门帖子”接受一个标签或关键词来过滤结果
用户可以分析互动指标如点赞和评论来评估帖子受欢迎程度。例如,通过使用“获取资料”数据,可以跟踪粉丝的增长情况。结构化的JSON便于实时洞察的应用程序集成
典型的用例包括社交媒体分析 品牌监测 和内容策略开发 企业可以跟踪竞争对手的表现 影响者可以分析参与度 而营销人员可以通过标签分析识别热门话题
通过直接从公共Instagram个人资料和帖子获取信息来保持数据准确性 由于API访问实时数据,因此它反映了可用的最新信息,确保用户获得最新的见解