{"openapi":"3.1.0","info":{"title":"Instagram API","version":"2026-11-29","description":"Public Instagram profiles and posts as JSON: follower and post counts, latest posts with captions, hashtags, likes, comments, views, images and video, plus a merged feed across creators.\n\nEvery request needs an API key in the `Authorization: Bearer <key>` header. Create one at https://maviapi.com/dashboard/keys. A successful request uses one credit, unless its operation says more (`x-credits`). That price covers 200 rows (or the operation's `x-credits-rows`); a request that returns more pays it again for each further page of that many rows. The `x-maviapi-credits` response header says what a request cost. A query param an operation does not take is ignored and named in the `x-maviapi-unknown-params` response header; send the `x-maviapi-strict: 1` request header to have such a request refused with a free `400 unknown_param` instead.\n\nEndpoint reference with live examples: https://maviapi.com/apis/instagram","termsOfService":"https://maviapi.com/terms"},"externalDocs":{"description":"API page","url":"https://maviapi.com/apis/instagram"},"servers":[{"url":"https://api.maviapi.com/v1/sites/instagram"}],"security":[{"maviapiKey":[]}],"paths":{"/feed":{"get":{"operationId":"feed","summary":"Feed","description":"One merged feed of the newest posts (up to 6 each) of up to 5 public profiles, each post with caption, hashtags, mentions, likes, comments, video plays, time, images/video and its creator's follower count; plus one line per profile (name, followers, verification, posts in the feed). A profile that cannot be found is listed with error \"not_found\" (\"unavailable\" when private or not loadable) instead of failing the feed.\n\nEach successful request uses 5 credits.","x-credits":5,"parameters":[{"name":"usernames","in":"query","required":false,"description":"comma-separated Instagram usernames, 1 to 5 (e.g. natgeo,nasa)","schema":{"type":"string","default":"natgeo,nasa"},"example":"natgeo,nasa"},{"name":"sort","in":"query","required":false,"description":"order of the posts: recent (newest first), likes or comments (most first)","schema":{"enum":["recent","likes","comments"],"type":"string","default":"recent"},"example":"recent"},{"name":"type","in":"query","required":false,"description":"only posts of this kind: image, video or carousel (any kind when omitted)","schema":{"anyOf":[{"enum":["image","video","carousel"],"type":"string"},{"type":"null"}]}},{"name":"limit","in":"query","required":false,"description":"Rows in one page, 1 to 200 (default 50).","schema":{"type":"integer","minimum":1,"maximum":200,"default":50}},{"name":"offset","in":"query","required":false,"description":"Rows to skip before the page starts (default 0).","schema":{"type":"integer","minimum":0,"default":0}},{"$ref":"#/components/parameters/Fields"},{"$ref":"#/components/parameters/Cursor"},{"$ref":"#/components/parameters/MaxAge"}],"responses":{"200":{"description":"The data, as JSON.","headers":{"RateLimit-Limit":{"description":"Requests the key may make in the current window.","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in the current window.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until the window starts again.","schema":{"type":"integer"}},"x-maviapi-unknown-params":{"description":"Query params this endpoint does not take, comma separated; they were ignored. Send `x-maviapi-strict: 1` to get a free `400 unknown_param` instead.","schema":{"type":"string"}},"Age":{"description":"Seconds since the data was read from the site, as the body's `age`.","schema":{"type":"integer"}},"x-maviapi-fetched-at":{"description":"When the data was read from the site (ISO 8601, UTC), as the body's `fetched_at`.","schema":{"type":"string","format":"date-time"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"sort":{"type":["string","null"],"example":"recent"},"type":{"type":"null","example":null},"profiles":{"type":["array","null"],"items":{"type":"object","properties":{"username":{"type":["string","null"],"example":"natgeo"},"full_name":{"type":["string","null"],"example":"National Geographic"},"followers_count":{"type":["integer","null"],"example":267196027},"is_verified":{"type":["boolean","null"],"example":true},"posts":{"type":["integer","null"],"example":6},"error":{"type":"null","example":null}}}},"count":{"type":["integer","null"],"example":12},"posts":{"type":["array","null"],"items":{"type":"object","properties":{"id":{"type":["string","null"],"example":"4039253819871911016"},"shortcode":{"type":["string","null"],"example":"DgOT_LDGtxo"},"url":{"type":["string","null"],"example":"https://www.instagram.com/p/DgOT_LDGtxo/"},"type":{"type":["string","null"],"example":"carousel"},"product_type":{"type":"null","example":null},"caption":{"type":["string","null"],"example":"Eel reproduction was first photographed in the wild by National Geographic photographer @tonywu98, and he and his team have continued to document this secretive event by spending hundreds of hours submerged in the waters of Kagoshima. National Geographic’s Pictures of the Year 2026 includes these moray eels in the act of ejecting their gametes, a process that occurs in less than two seconds.\n\nNational Geographic photographers ventured to places far and wide to capture the year’s most fascinating images. Out of millions of photos, just 25 were selected as our Pictures of the Year. See them all at the link in bio."},"hashtags":{"type":["array","null"],"items":{}},"mentions":{"type":["array","null"],"items":{"type":"string","example":"tonywu98"}},"like_count":{"type":["integer","null"],"example":84983},"comment_count":{"type":["integer","null"],"example":275},"view_count":{"type":"null","example":null},"taken_at":{"type":["string","null"],"example":"2026-11-26T23:43:19.000Z"},"display_url":{"type":["string","null"],"example":"https://scontent.cdninstagram.com/v/t51.82787-15/930382505_18723120067019133_7440139847351550069_n.jpg?stp=dst-jpg_e35_p1080x1080_sh2.08_tt6&_nc_cat=1&ig_cache_key=NDAzOTI1MjQ4NjY1MTkxOTQ4Mw%3D%3D.3-ccb7-5&ccb=7-5&_nc_sid=58cdad&efg=eyJ2ZW5jb2RlX3RhZyI6IkNBUk9VU0VMX0lURU0ueHBpZHMuMjA0OC5zZHIucmVndWxhcl9waG90by5DMyJ9&_nc_ohc=VogRwE_nH_4Q7kNvwEePunG&_nc_oc=Adp4QIYDL-KB5Jn5_rbWN0Ct0RhHqEmBHD_sZi88genX1GK9-jDUqGETvWiSm-ouPZw&_nc_zt=23&_nc_ht=scontent.cdninstagram.com&_nc_gid=Fdw29QrZDQfRLbdDQBmEPA&_nc_ss=79789&_nc_ct=RQosPBUIFQIlBAAAAA&oh=00_AQWqzC7PmJ5Fb9s2sKGvVw05nv5H01HQb-zRwwcj1_8DTA&oe=6B0F421D"},"video_url":{"type":"null","example":null},"video_duration":{"type":"null","example":null},"width":{"type":["integer","null"],"example":1080},"height":{"type":["integer","null"],"example":1350},"accessibility_caption":{"type":"null","example":null},"is_paid_partnership":{"type":["boolean","null"],"example":false},"location":{"type":"null","example":null},"owner":{"type":["object","null"],"properties":{"id":{"type":["string","null"],"example":"787132"},"username":{"type":["string","null"],"example":"natgeo"},"is_verified":{"type":["boolean","null"],"example":true},"profile_pic_url":{"type":["string","null"],"example":"https://scontent.cdninstagram.com/v/t51.82787-19/683576066_18653628823019133_9051036240972105113_n.jpg?stp=dst-jpg_s150x150_tt6&_nc_cat=1&ig_cache_key=GAKLvih9nsRnYEVCAJlFVLiBvZt9bmNDAQAB1501500j-ccb7-5&ccb=7-5&_nc_sid=669407&efg=eyJ2ZW5jb2RlX3RhZyI6InByb2ZpbGVfcGljLnd3dy40MDAuQzMifQ%3D%3D&_nc_ohc=Fzq-SLmj7IoQ7kNvwGpGgyW&_nc_oc=AdoSMy3X79OMsDhxuGaGueLvYRgHskmAnnMjOhIp964NrFIS5KIhjVsiNvzJcx_on5M&_nc_zt=24&_nc_ht=scontent.cdninstagram.com&_nc_gid=Fdw29QrZDQfRLbdDQBmEPA&_nc_ss=79789&_nc_ct=RQosPBUCFQIAAAA&oh=00_AQWjvhxastkp47DrsN6I5eZUvvrxnymxJhyvmUrshCO-HQ&oe=6B0F1CEB"},"followers_count":{"type":["integer","null"],"example":267196027}}},"media":{"type":["array","null"],"items":{"type":"object","properties":{"id":{"type":["string","null"],"example":"4039252486651919483"},"shortcode":{"type":["string","null"],"example":"DgOTrxZADx7"},"type":{"type":["string","null"],"example":"image"},"display_url":{"type":["string","null"],"example":"https://scontent.cdninstagram.com/v/t51.82787-15/930382505_18723120067019133_7440139847351550069_n.jpg?stp=dst-jpg_e35_p1080x1080_sh2.08_tt6&_nc_cat=1&ig_cache_key=NDAzOTI1MjQ4NjY1MTkxOTQ4Mw%3D%3D.3-ccb7-5&ccb=7-5&_nc_sid=58cdad&efg=eyJ2ZW5jb2RlX3RhZyI6IkNBUk9VU0VMX0lURU0ueHBpZHMuMjA0OC5zZHIucmVndWxhcl9waG90by5DMyJ9&_nc_ohc=VogRwE_nH_4Q7kNvwEePunG&_nc_oc=Adp4QIYDL-KB5Jn5_rbWN0Ct0RhHqEmBHD_sZi88genX1GK9-jDUqGETvWiSm-ouPZw&_nc_zt=23&_nc_ht=scontent.cdninstagram.com&_nc_gid=Fdw29QrZDQfRLbdDQBmEPA&_nc_ss=79789&_nc_ct=RQosPBUIFQIlBAAAAA&oh=00_AQWqzC7PmJ5Fb9s2sKGvVw05nv5H01HQb-zRwwcj1_8DTA&oe=6B0F421D"},"video_url":{"type":"null","example":null},"width":{"type":["integer","null"],"example":1080},"height":{"type":["integer","null"],"example":1350},"accessibility_caption":{"type":"null","example":null}}}}}}},"fetched_at":{"type":["string","null"],"example":"2026-11-27T10:16:51.378Z"},"age":{"type":["integer","null"],"example":0}}},"cached":{"type":"boolean","description":"Whether this answer was served from the stored copy."},"source":{"description":"Where the data was read from."},"pagination":{"type":"object","properties":{"total":{"type":"integer"},"limit":{"type":"integer"},"offset":{"type":"integer"},"count":{"type":"integer"},"has_more":{"type":"boolean"},"next_cursor":{"$ref":"#/components/schemas/NextCursor"}}},"fetched_at":{"$ref":"#/components/schemas/FetchedAt"},"age":{"$ref":"#/components/schemas/Age"}},"required":["data","cached","source"]}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/CreditLimitReached"},"403":{"$ref":"#/components/responses/AccountSuspended"},"410":{"$ref":"#/components/responses/CursorExpired"},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/UpstreamFailed"}}}},"/hashtag-posts":{"get":{"operationId":"hashtagPosts","summary":"Hashtag Posts","description":"Public posts and reels of one Instagram hashtag, as instagram.com/explore/tags/<tag>/ shows them to visitors who are not signed in, one page at a time. Each post has id, shortcode, url, type, product_type and is_reel, caption, hashtags, mentions, like_count, comment_count, view_count (plays), taken_at, display_url, video_url, video_duration, size, location (id, name, slug, latitude, longitude when given), owner (id, username, is_verified, profile_pic_url, followers_count) and every image/video of a carousel. Also the hashtag's total post count (Instagram gives it rounded, e.g. 10000000 for \"10M\"; null when it shows none) and next_cursor for the following page (null on the last page). Instagram shows signed-out visitors a single ranked list of top posts and no separate recent feed: \"recent\" returns the same pages with each page's posts ordered newest first. Raises not found for a hashtag without public posts.\n\nEach successful request uses 5 credits.","x-credits":5,"parameters":[{"name":"tag","in":"query","required":false,"description":"the hashtag, with or without # (e.g. weihnachtsmarkt); a hashtag page URL works too","schema":{"type":"string","default":"weihnachtsmarkt"},"example":"weihnachtsmarkt"},{"name":"section","in":"query","required":false,"description":"top (Instagram's ranking, best first) or recent (each page newest first)","schema":{"enum":["top","recent"],"type":"string","default":"top"},"example":"top"},{"name":"limit","in":"query","required":false,"description":"posts per page, 1 to 50","schema":{"type":"integer","default":12},"example":12},{"$ref":"#/components/parameters/MaxAge"}],"responses":{"200":{"description":"The data, as JSON.","headers":{"RateLimit-Limit":{"description":"Requests the key may make in the current window.","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in the current window.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until the window starts again.","schema":{"type":"integer"}},"x-maviapi-unknown-params":{"description":"Query params this endpoint does not take, comma separated; they were ignored. Send `x-maviapi-strict: 1` to get a free `400 unknown_param` instead.","schema":{"type":"string"}},"Age":{"description":"Seconds since the data was read from the site, as the body's `age`.","schema":{"type":"integer"}},"x-maviapi-fetched-at":{"description":"When the data was read from the site (ISO 8601, UTC), as the body's `fetched_at`.","schema":{"type":"string","format":"date-time"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"tag":{"type":["string","null"],"example":"weihnachtsmarkt"},"url":{"type":["string","null"],"example":"https://www.instagram.com/explore/tags/weihnachtsmarkt/"},"section":{"type":["string","null"],"example":"top"},"posts_count":{"type":["integer","null"],"example":10000000},"posts_count_text":{"type":["string","null"],"example":"10M"},"count":{"type":["integer","null"],"example":12},"posts":{"type":["array","null"],"items":{"type":"object","properties":{"id":{"type":["string","null"],"example":"4036960391315211283"},"shortcode":{"type":["string","null"],"example":"DgGKhZQqkQT"},"url":{"type":["string","null"],"example":"https://www.instagram.com/p/DgGKhZQqkQT/"},"type":{"type":["string","null"],"example":"video"},"product_type":{"type":["string","null"],"example":"clips"},"caption":{"type":["string","null"],"example":"Endlich wieder Weihnachtsmarkt 🎄\n#düsseldorf #weihnachtsmarkt 🎄#blogger"},"hashtags":{"type":["array","null"],"items":{"type":"string","example":"düsseldorf"}},"mentions":{"type":["array","null"],"items":{}},"like_count":{"type":["integer","null"],"example":465},"comment_count":{"type":["integer","null"],"example":8},"view_count":{"type":["integer","null"],"example":24332},"taken_at":{"type":["string","null"],"example":"2026-11-23T19:46:41.914Z"},"display_url":{"type":["string","null"],"example":"https://scontent-lga3-3.cdninstagram.com/v/t51.82787-15/926265570_29852331331122367_989291877237357101_n.jpg?stp=dst-jpg_e15_tt6&_nc_cat=101&_nc_map=urlgen_bucketless&ig_cache_key=NDAzNjk2MDM5MTMxNTIxMTI4MzI5ODUyMzMxMzA3Nzg5MDM2.3-ccb7-5&ccb=7-5&_nc_sid=58cdad&efg=eyJ2ZW5jb2RlX3RhZyI6IkNMSVBTLnhwaWRzLjEyMTUuc2RyLnZpZGVvX3VzZXJfdXBsb2FkZWRfdGh1bWJuYWlsLkMzIn0%3D&_nc_ohc=Cz4jesgBeV8Q7kNvwF0IZQn&_nc_oc=AdopPWscO2eZ_4wJA7FzxogolC9buXj-SjF9-tFatSJDjwAZbPpgBm1XT-pcABQiYsY&_nc_zt=23&_nc_ht=scontent-lga3-3.cdninstagram.com&_nc_gid=hhDVCe-vSCsA4k9Q_B-eRg&_nc_ss=79789&_nc_ct=RQosPBUIFQwlBAAAAA&oh=00_AQV7zud4wDQJUlwkfNCMUwP7G4tgHVtMsFrGab08Wj-mWw&oe=6B127971"},"video_url":{"type":["string","null"],"example":"https://scontent-lga3-3.cdninstagram.com/o1/v/t2/f2/m86/AQP_IoB31rFYCTwmmzw_V2I9PkTkRDSfxQuA8d2nhGkgzFJCe9Bx0_gZdLGv81UQ4nNUwARoziN-HNfrMwKAjqFsCOm_jbEwKrSfEo0.mp4?_nc_cat=105&_nc_sid=5e9851&_nc_ht=scontent-lga3-3.cdninstagram.com&_nc_ohc=h_fvQnuqDzgQ7kNvwFjYobM&efg=eyJ2ZW5jb2RlX3RhZyI6Inhwdl9wcm9ncmVzc2l2ZS5JTlNUQUdSQU0uQ0xJUFMuQzMuNzIwLmRhc2hfYmFzZWxpbmVfMV92MSIsInhwdl9hc3NldF9pZCI6Mjk4NTIzMzA1Njc3ODkxMTAsImFzc2V0X2FnZV9kYXlzIjo2LCJ2aV91c2VjYXNlX2lkIjoxMDA5OSwiZHVyYXRpb25fcyI6NiwidXJsZ2VuX3NvdXJjZSI6Ind3dyJ9&ccb=17-1&vs=c45f5599503b73f5&_nc_vs=HBksFQIYUmlnX3hwdl9yZWVsc19wZXJtYW5lbnRfc3JfcHJvZC9CM0ZGRjNBM0UzRDY0QjQ4QTY2QzBEMzIzQkM2NjNGQV92aWRlb19kYXNoaW5pdC5tcDQVAALIARIAFQIYUWlnX3hwdl9wbGFjZW1lbnRfcGVybWFuZW50X3YyLzBFMDQyNjY5OTAzMzRCMEI5QzJFNkZDQjQxMTBGRTdFX2F1ZGlvX2Rhc2hpbml0Lm1wNBUCAsgBEgAoABgAGwOIB3VzZV9vaWwBMRJwcm9ncmVzc2l2ZV9yZWNpcGUBMRJjb3B5X3NhbXBsZV9ncm91cHMBMRUAACbsqK_zqqKHahUCKAJDMywXQBohysCDEm8YEmRhc2hfYmFzZWxpbmVfMV92MREAdf4HZeadAQA&_nc_gid=hhDVCe-vSCsA4k9Q_B-eRg&_nc_ss=79789&_nc_map=urlgen_bucketless&_nc_zt=28&oh=00_AQX2ItywgHPam1ieIzxbKU4nitERBa_DmjgUk80kl_uNMw&oe=6B0EA56E"},"video_duration":{"type":["number","null"],"example":6.533},"width":{"type":["integer","null"],"example":1215},"height":{"type":["integer","null"],"example":2160},"accessibility_caption":{"type":"null","example":null},"is_paid_partnership":{"type":"null","example":null},"location":{"type":"null","example":null},"owner":{"type":["object","null"],"properties":{"id":{"type":["string","null"],"example":"56893789887"},"username":{"type":["string","null"],"example":"nazaninlately"},"is_verified":{"type":["boolean","null"],"example":false},"profile_pic_url":{"type":["string","null"],"example":"https://scontent-lga3-2.cdninstagram.com/v/t51.82787-19/866334068_17984249462901888_8508042365937299687_n.jpg?stp=dst-jpg_s150x150_tt6&_nc_cat=103&_nc_map=urlgen_bucketless&ig_cache_key=GHQ1ozOAzMlglOQ-AOewqkt0oxJ2bmNDAQAB1501500j-ccb7-5&ccb=7-5&_nc_sid=669407&efg=eyJ2ZW5jb2RlX3RhZyI6InByb2ZpbGVfcGljLnd3dy4xMDgwLkMzIn0%3D&_nc_ohc=W2GFD_8jGGsQ7kNvwGOoFQ1&_nc_oc=AdoKa7cyJzNEZ-O4wGn78cnRb-gmbAhwHOSDeBUbbU-mIGjz8dAgOqCbzqRg4AbTdow&_nc_zt=24&_nc_ht=scontent-lga3-2.cdninstagram.com&_nc_gid=hhDVCe-vSCsA4k9Q_B-eRg&_nc_ss=79789&_nc_ct=RQosPBUCFQIAAAA&oh=00_AQVQynzMsourvjAAjhtjSO0kA_llrs38aNIhpwtiH5JomA&oe=6B129182"},"followers_count":{"type":["integer","null"],"example":57}}},"media":{"type":["array","null"],"items":{"type":"object","properties":{"id":{"type":["string","null"],"example":"4036960391315211283"},"shortcode":{"type":["string","null"],"example":"DgGKhZQqkQT"},"type":{"type":["string","null"],"example":"video"},"display_url":{"type":["string","null"],"example":"https://scontent-lga3-3.cdninstagram.com/v/t51.82787-15/926265570_29852331331122367_989291877237357101_n.jpg?stp=dst-jpg_e15_tt6&_nc_cat=101&_nc_map=urlgen_bucketless&ig_cache_key=NDAzNjk2MDM5MTMxNTIxMTI4MzI5ODUyMzMxMzA3Nzg5MDM2.3-ccb7-5&ccb=7-5&_nc_sid=58cdad&efg=eyJ2ZW5jb2RlX3RhZyI6IkNMSVBTLnhwaWRzLjEyMTUuc2RyLnZpZGVvX3VzZXJfdXBsb2FkZWRfdGh1bWJuYWlsLkMzIn0%3D&_nc_ohc=Cz4jesgBeV8Q7kNvwF0IZQn&_nc_oc=AdopPWscO2eZ_4wJA7FzxogolC9buXj-SjF9-tFatSJDjwAZbPpgBm1XT-pcABQiYsY&_nc_zt=23&_nc_ht=scontent-lga3-3.cdninstagram.com&_nc_gid=hhDVCe-vSCsA4k9Q_B-eRg&_nc_ss=79789&_nc_ct=RQosPBUIFQwlBAAAAA&oh=00_AQV7zud4wDQJUlwkfNCMUwP7G4tgHVtMsFrGab08Wj-mWw&oe=6B127971"},"video_url":{"type":["string","null"],"example":"https://scontent-lga3-3.cdninstagram.com/o1/v/t2/f2/m86/AQP_IoB31rFYCTwmmzw_V2I9PkTkRDSfxQuA8d2nhGkgzFJCe9Bx0_gZdLGv81UQ4nNUwARoziN-HNfrMwKAjqFsCOm_jbEwKrSfEo0.mp4?_nc_cat=105&_nc_sid=5e9851&_nc_ht=scontent-lga3-3.cdninstagram.com&_nc_ohc=h_fvQnuqDzgQ7kNvwFjYobM&efg=eyJ2ZW5jb2RlX3RhZyI6Inhwdl9wcm9ncmVzc2l2ZS5JTlNUQUdSQU0uQ0xJUFMuQzMuNzIwLmRhc2hfYmFzZWxpbmVfMV92MSIsInhwdl9hc3NldF9pZCI6Mjk4NTIzMzA1Njc3ODkxMTAsImFzc2V0X2FnZV9kYXlzIjo2LCJ2aV91c2VjYXNlX2lkIjoxMDA5OSwiZHVyYXRpb25fcyI6NiwidXJsZ2VuX3NvdXJjZSI6Ind3dyJ9&ccb=17-1&vs=c45f5599503b73f5&_nc_vs=HBksFQIYUmlnX3hwdl9yZWVsc19wZXJtYW5lbnRfc3JfcHJvZC9CM0ZGRjNBM0UzRDY0QjQ4QTY2QzBEMzIzQkM2NjNGQV92aWRlb19kYXNoaW5pdC5tcDQVAALIARIAFQIYUWlnX3hwdl9wbGFjZW1lbnRfcGVybWFuZW50X3YyLzBFMDQyNjY5OTAzMzRCMEI5QzJFNkZDQjQxMTBGRTdFX2F1ZGlvX2Rhc2hpbml0Lm1wNBUCAsgBEgAoABgAGwOIB3VzZV9vaWwBMRJwcm9ncmVzc2l2ZV9yZWNpcGUBMRJjb3B5X3NhbXBsZV9ncm91cHMBMRUAACbsqK_zqqKHahUCKAJDMywXQBohysCDEm8YEmRhc2hfYmFzZWxpbmVfMV92MREAdf4HZeadAQA&_nc_gid=hhDVCe-vSCsA4k9Q_B-eRg&_nc_ss=79789&_nc_map=urlgen_bucketless&_nc_zt=28&oh=00_AQX2ItywgHPam1ieIzxbKU4nitERBa_DmjgUk80kl_uNMw&oe=6B0EA56E"},"width":{"type":["integer","null"],"example":1215},"height":{"type":["integer","null"],"example":2160}}}},"is_reel":{"type":["boolean","null"],"example":true}}}},"next_cursor":{"type":["string","null"],"example":"AQHTtZj9MC-5KlwbnEQ0UMJjmuDoCUENVyb_kUIuY1T8GGf4M3TZm8CVGO47V6foXOvs"},"fetched_at":{"type":["string","null"],"example":"2026-11-29T23:38:05.194Z"},"age":{"type":["integer","null"],"example":0}}},"cached":{"type":"boolean","description":"Whether this answer was served from the stored copy."},"source":{"description":"Where the data was read from."},"fetched_at":{"$ref":"#/components/schemas/FetchedAt"},"age":{"$ref":"#/components/schemas/Age"}},"required":["data","cached","source"]}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/CreditLimitReached"},"403":{"$ref":"#/components/responses/AccountSuspended"},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/UpstreamFailed"}}}},"/location-posts":{"get":{"operationId":"locationPosts","summary":"Location Posts","description":"One Instagram location (instagram.com/explore/locations/<id>/<slug>/) and its public posts and reels as visitors who are not signed in see them. The location has id, name, slug, url, address, city, zip, latitude, longitude, category, phone, website (null: Instagram does not show one on location pages), price_range, hours_status, posts_count and its linked business account. Each post has the fields of GET /posts/{shortcode} (id, shortcode, url, type, product_type, caption, hashtags, mentions, like_count, comment_count, view_count, taken_at, display_url, video_url, video_duration, size, location, owner with username, is_verified and followers_count, carousel media) plus is_reel. Signed out, Instagram shows one page per section (about 18 top posts, 12 recent ones) and refuses further pages; next_cursor pages within that set and is null at its end. With `query`, returns instead the locations matching a place name (id, name, slug, url, latitude, longitude, category, city, posts_count, name_matches, tagged_posts_found): the places tagged on Instagram's public posts for that search, exact name matches first. Raises not found for a location that does not exist.\n\nEach successful request uses 5 credits.","x-credits":5,"parameters":[{"name":"location_id","in":"query","required":false,"description":"numeric location id, or a full location page URL","schema":{"anyOf":[{"type":"string"},{"type":"null"}],"default":"216370423"},"example":"216370423"},{"name":"section","in":"query","required":false,"description":"recent (newest first) or top (Instagram's ranking)","schema":{"enum":["top","recent"],"type":"string","default":"recent"},"example":"recent"},{"name":"limit","in":"query","required":false,"description":"posts per page, 1 to 50","schema":{"type":"integer","default":12},"example":12},{"name":"query","in":"query","required":false,"description":"a place name to search for (e.g. \"Erciyes Kayak Merkezi\"); when given, location_id is ignored","schema":{"anyOf":[{"type":"string"},{"type":"null"}]}},{"$ref":"#/components/parameters/MaxAge"}],"responses":{"200":{"description":"The data, as JSON.","headers":{"RateLimit-Limit":{"description":"Requests the key may make in the current window.","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in the current window.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until the window starts again.","schema":{"type":"integer"}},"x-maviapi-unknown-params":{"description":"Query params this endpoint does not take, comma separated; they were ignored. Send `x-maviapi-strict: 1` to get a free `400 unknown_param` instead.","schema":{"type":"string"}},"Age":{"description":"Seconds since the data was read from the site, as the body's `age`.","schema":{"type":"integer"}},"x-maviapi-fetched-at":{"description":"When the data was read from the site (ISO 8601, UTC), as the body's `fetched_at`.","schema":{"type":"string","format":"date-time"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"location":{"type":["object","null"],"properties":{"id":{"type":["string","null"],"example":"216370423"},"name":{"type":["string","null"],"example":"Erciyes Kayak  Merkezi"},"slug":{"type":["string","null"],"example":"erciyes-kayak-merkezi"},"url":{"type":["string","null"],"example":"https://www.instagram.com/explore/locations/216370423/erciyes-kayak-merkezi/"},"address":{"type":["string","null"],"example":"Hisarcık Mahallesi Mehmet Özhaseki Bulvarı No/1255"},"city":{"type":"null","example":null},"zip":{"type":["string","null"],"example":"38030"},"latitude":{"type":["number","null"],"example":38.53991066743},"longitude":{"type":["number","null"],"example":35.526047043599},"category":{"type":["string","null"],"example":"Ski Resort"},"phone":{"type":"null","example":null},"website":{"type":"null","example":null},"price_range":{"type":["integer","null"],"example":4},"hours_status":{"type":["string","null"],"example":"Closed until 9:00 AM"},"posts_count":{"type":["integer","null"],"example":424008},"business_account":{"type":["object","null"],"properties":{"id":{"type":["string","null"],"example":"1362241515"},"username":{"type":["string","null"],"example":"erciyeskykmrkz"}}}}},"section":{"type":["string","null"],"example":"recent"},"count":{"type":["integer","null"],"example":12},"posts":{"type":["array","null"],"items":{"type":"object","properties":{"id":{"type":["string","null"],"example":"4041433583838589657"},"shortcode":{"type":["string","null"],"example":"DgWDm6cCHLZ"},"url":{"type":["string","null"],"example":"https://www.instagram.com/p/DgWDm6cCHLZ/"},"type":{"type":["string","null"],"example":"carousel"},"product_type":{"type":"null","example":null},"caption":{"type":"null","example":null},"hashtags":{"type":["array","null"],"items":{}},"mentions":{"type":["array","null"],"items":{}},"like_count":{"type":["integer","null"],"example":0},"comment_count":{"type":["integer","null"],"example":0},"view_count":{"type":"null","example":null},"taken_at":{"type":["string","null"],"example":"2026-11-29T23:54:08.017Z"},"display_url":{"type":["string","null"],"example":"https://scontent-lga3-3.cdninstagram.com/v/t51.82787-15/934743596_18068341295629937_7846708498280609283_n.jpg?stp=dst-jpegr_e35_tt6&_nc_cat=107&_nc_map=urlgen_bucketless&ig_cache_key=NDA0MTQzMzI2NTQwMDQxODg1Nw%3D%3D.3-ccb7-5&ccb=7-5&_nc_sid=58cdad&efg=eyJ2ZW5jb2RlX3RhZyI6IkNBUk9VU0VMX0lURU0ueHBpZHMuMzAyNC5oZHIucmVndWxhcl9waG90by5DMyJ9&_nc_ohc=1a8dE6Ry11sQ7kNvwF9WikP&_nc_oc=AdrjILz9VNzDdPoWnZQKDLcVOaIV0o-_iimehoHTBAoDcsy-SblyDJOBsPxuv-LbOTI&_nc_zt=23&_nc_ht=scontent-lga3-3.cdninstagram.com&_nc_gid=-yq0NFAtKb1meHoNoV47TA&_nc_ss=79789&_nc_ct=RQosPBUIFQIlAgAAAA&oh=00_AQUcSBuRJ0VTL8SrXWwe4elUNzNsrFq8mUQCeAHXqfj2Vw&oe=6B127B94"},"video_url":{"type":"null","example":null},"video_duration":{"type":"null","example":null},"width":{"type":["integer","null"],"example":3024},"height":{"type":["integer","null"],"example":4032},"accessibility_caption":{"type":"null","example":null},"is_paid_partnership":{"type":"null","example":null},"location":{"type":["object","null"],"properties":{"id":{"type":["string","null"],"example":"216370423"},"name":{"type":["string","null"],"example":"Erciyes Kayak  Merkezi"},"slug":{"type":"null","example":null},"latitude":{"type":["number","null"],"example":38.53991066743},"longitude":{"type":["number","null"],"example":35.526047043599}}},"owner":{"type":["object","null"],"properties":{"id":{"type":["string","null"],"example":"48928141936"},"username":{"type":["string","null"],"example":"fotograftahayatm"},"is_verified":{"type":["boolean","null"],"example":false},"profile_pic_url":{"type":["string","null"],"example":"https://scontent-lga3-1.xx.fbcdn.net/v/t1.30497-1/115870214_694925034696967_1870022665148339563_n.jpg?stp=dst-jpg_s100x100_tt6&_nc_cat=1&ccb=1-7&_nc_sid=7565cd&_nc_ohc=EgpBW5GUZj0Q7kNvwFurD1C&_nc_oc=AdqlBa5kf6JeCu5Ho-8Tonbx7lxoMq1klDa8btH802l4vCyx0Zoo6nTbB7zmEA5sxu0&_nc_zt=24&_nc_ht=scontent-lga3-1.xx&_nc_ss=79789&oh=00_AQXjOyi1hwIk_zfwTj-nHuRaIx8mzNR7f3Q33C4L20A69w&oe=6B3443E2"},"followers_count":{"type":["integer","null"],"example":0}}},"media":{"type":["array","null"],"items":{"type":"object","properties":{"id":{"type":["string","null"],"example":"4041433265400418857"},"shortcode":{"type":["string","null"],"example":"DgWDiR3o5Ip"},"type":{"type":["string","null"],"example":"image"},"display_url":{"type":["string","null"],"example":"https://scontent-lga3-3.cdninstagram.com/v/t51.82787-15/934743596_18068341295629937_7846708498280609283_n.jpg?stp=dst-jpegr_e35_tt6&_nc_cat=107&_nc_map=urlgen_bucketless&ig_cache_key=NDA0MTQzMzI2NTQwMDQxODg1Nw%3D%3D.3-ccb7-5&ccb=7-5&_nc_sid=58cdad&efg=eyJ2ZW5jb2RlX3RhZyI6IkNBUk9VU0VMX0lURU0ueHBpZHMuMzAyNC5oZHIucmVndWxhcl9waG90by5DMyJ9&_nc_ohc=1a8dE6Ry11sQ7kNvwF9WikP&_nc_oc=AdrjILz9VNzDdPoWnZQKDLcVOaIV0o-_iimehoHTBAoDcsy-SblyDJOBsPxuv-LbOTI&_nc_zt=23&_nc_ht=scontent-lga3-3.cdninstagram.com&_nc_gid=-yq0NFAtKb1meHoNoV47TA&_nc_ss=79789&_nc_ct=RQosPBUIFQIlAgAAAA&oh=00_AQUcSBuRJ0VTL8SrXWwe4elUNzNsrFq8mUQCeAHXqfj2Vw&oe=6B127B94"},"video_url":{"type":"null","example":null},"width":{"type":["integer","null"],"example":3024},"height":{"type":["integer","null"],"example":4032}}}},"is_reel":{"type":["boolean","null"],"example":false}}}},"next_cursor":{"type":"null","example":null},"fetched_at":{"type":["string","null"],"example":"2026-11-29T23:55:43.213Z"},"age":{"type":["integer","null"],"example":0}}},"cached":{"type":"boolean","description":"Whether this answer was served from the stored copy."},"source":{"description":"Where the data was read from."},"fetched_at":{"$ref":"#/components/schemas/FetchedAt"},"age":{"$ref":"#/components/schemas/Age"}},"required":["data","cached","source"]}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/CreditLimitReached"},"403":{"$ref":"#/components/responses/AccountSuspended"},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/UpstreamFailed"}}}},"/posts/{shortcode}":{"get":{"operationId":"postsByShortcode","summary":"Post","description":"One public post or reel: id, type, reel flag, caption, hashtags, mentions, likes, comments, video plays, upload time, cover image, video file and duration, size, location, the author with follower count (rounded, e.g. 267000000, on single-image posts), and every image/video of a carousel. Raises not found for a post that does not exist or is not public.\n\nEach successful request uses 5 credits.","x-credits":5,"parameters":[{"name":"shortcode","in":"path","required":true,"description":"post shortcode, the id in instagram.com/p/<shortcode>/ (a full post or reel URL works too)","schema":{"type":"string"},"example":"DfvE3QoDBvd"},{"$ref":"#/components/parameters/MaxAge"}],"responses":{"200":{"description":"The data, as JSON.","headers":{"RateLimit-Limit":{"description":"Requests the key may make in the current window.","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in the current window.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until the window starts again.","schema":{"type":"integer"}},"x-maviapi-unknown-params":{"description":"Query params this endpoint does not take, comma separated; they were ignored. Send `x-maviapi-strict: 1` to get a free `400 unknown_param` instead.","schema":{"type":"string"}},"Age":{"description":"Seconds since the data was read from the site, as the body's `age`.","schema":{"type":"integer"}},"x-maviapi-fetched-at":{"description":"When the data was read from the site (ISO 8601, UTC), as the body's `fetched_at`.","schema":{"type":"string","format":"date-time"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"id":{"type":["string","null"],"example":"4030461581128899549"},"shortcode":{"type":["string","null"],"example":"DfvE3QoDBvd"},"url":{"type":["string","null"],"example":"https://www.instagram.com/p/DfvE3QoDBvd/"},"type":{"type":["string","null"],"example":"image"},"product_type":{"type":"null","example":null},"caption":{"type":["string","null"],"example":"Photo by @joelsartore | This brightly colored serpent is an ornate palm pit viper that I photographed @sanantoniozoo. In the wild, the species can be found in the cloud forests of Mexico and northern Guatemala. Unfortunately, this snake’s habitat is used frequently for agricultural purposes—growing coffee plants and ornamental ferns—which has decreased suitable habitat. You can do your part to protect the snake by purchasing wildlife-friendly coffee and growing plants native to your region in your outdoor spaces. To see more species featured in the Photo Ark, follow me, @joelsartore. #PhotoArk"},"hashtags":{"type":["array","null"],"items":{"type":"string","example":"PhotoArk"}},"mentions":{"type":["array","null"],"items":{"type":"string","example":"joelsartore"}},"like_count":{"type":["integer","null"],"example":26231},"comment_count":{"type":["integer","null"],"example":78},"view_count":{"type":"null","example":null},"taken_at":{"type":["string","null"],"example":"2026-11-14T20:34:43.369Z"},"display_url":{"type":["string","null"],"example":"https://scontent-sjc6-1.cdninstagram.com/v/t51.82787-15/904674515_18719283778019133_3850278475097255874_n.jpg?stp=dst-jpg_e35_tt6&_nc_cat=103&_nc_map=urlgen_bucketless&ig_cache_key=NDAzMDQ2MTU4MTEyODg5OTU0OQ%3D%3D.3-ccb7-5&ccb=7-5&_nc_sid=58cdad&efg=eyJ2ZW5jb2RlX3RhZyI6IkZFRUQueHBpZHMuMTQzOS5zZHIucmVndWxhcl9waG90by5DMyJ9&_nc_ohc=ae2T9n5sr4EQ7kNvwGbEz3N&_nc_oc=Ados5WaB3Ct17RhmGcuaLXj4ggn90D-1lGqHN6TekxrC49Vi6Q-zSEirSyIf50KK4kg&_nc_zt=23&_nc_ht=scontent-sjc6-1.cdninstagram.com&_nc_gid=eedcEWBjFr0GAGnosuU2VA&_nc_ss=79789&_nc_ct=RQosPBUIFQIlBAAAAA&oh=00_AQWZ2Vix3TKCwd7VMzWavnCSsyzGdZpq0whh7MKagDCwHA&oe=6B0F234D"},"video_url":{"type":"null","example":null},"video_duration":{"type":"null","example":null},"width":{"type":["integer","null"],"example":1439},"height":{"type":["integer","null"],"example":957},"accessibility_caption":{"type":["string","null"],"example":"Photo by National Geographic on November 15, 2026. May be an image of snake and text."},"is_paid_partnership":{"type":"null","example":null},"location":{"type":"null","example":null},"owner":{"type":["object","null"],"properties":{"id":{"type":["string","null"],"example":"787132"},"username":{"type":["string","null"],"example":"natgeo"},"is_verified":{"type":["boolean","null"],"example":true},"profile_pic_url":{"type":["string","null"],"example":"https://scontent-sjc6-1.cdninstagram.com/v/t51.82787-19/683576066_18653628823019133_9051036240972105113_n.jpg?stp=dst-jpg_s150x150_tt6&_nc_cat=1&ig_cache_key=GAKLvih9nsRnYEVCAJlFVLiBvZt9bmNDAQAB1501500j-ccb7-5&ccb=7-5&_nc_sid=669407&efg=eyJ2ZW5jb2RlX3RhZyI6InByb2ZpbGVfcGljLnd3dy40MDAuQzMifQ%3D%3D&_nc_ohc=Fzq-SLmj7IoQ7kNvwG9RvTm&_nc_oc=AdpMuHY_cUZEjZXNOgfttLqQzcU1cpNWkzJUOqKaujKhGTvFPPEfzm0lYsL1ExhSeJo&_nc_zt=24&_nc_ht=scontent-sjc6-1.cdninstagram.com&_nc_gid=eedcEWBjFr0GAGnosuU2VA&_nc_ss=79789&_nc_ct=RQosPBUCFQIAAAA&oh=00_AQXxHZWqAMFpUIZgndXs9s9L6c--1y9kN-u-JyqH1Jelxw&oe=6B0F1CEB"},"followers_count":{"type":["integer","null"],"example":267000000}}},"media":{"type":["array","null"],"items":{"type":"object","properties":{"id":{"type":["string","null"],"example":"4030461581128899549"},"shortcode":{"type":["string","null"],"example":"DfvE3QoDBvd"},"type":{"type":["string","null"],"example":"image"},"display_url":{"type":["string","null"],"example":"https://scontent-sjc6-1.cdninstagram.com/v/t51.82787-15/904674515_18719283778019133_3850278475097255874_n.jpg?stp=dst-jpg_e35_tt6&_nc_cat=103&_nc_map=urlgen_bucketless&ig_cache_key=NDAzMDQ2MTU4MTEyODg5OTU0OQ%3D%3D.3-ccb7-5&ccb=7-5&_nc_sid=58cdad&efg=eyJ2ZW5jb2RlX3RhZyI6IkZFRUQueHBpZHMuMTQzOS5zZHIucmVndWxhcl9waG90by5DMyJ9&_nc_ohc=ae2T9n5sr4EQ7kNvwGbEz3N&_nc_oc=Ados5WaB3Ct17RhmGcuaLXj4ggn90D-1lGqHN6TekxrC49Vi6Q-zSEirSyIf50KK4kg&_nc_zt=23&_nc_ht=scontent-sjc6-1.cdninstagram.com&_nc_gid=eedcEWBjFr0GAGnosuU2VA&_nc_ss=79789&_nc_ct=RQosPBUIFQIlBAAAAA&oh=00_AQWZ2Vix3TKCwd7VMzWavnCSsyzGdZpq0whh7MKagDCwHA&oe=6B0F234D"},"video_url":{"type":"null","example":null},"width":{"type":["integer","null"],"example":1439},"height":{"type":["integer","null"],"example":957}}}},"pagination":{"type":["object","null"],"properties":{"count":{"type":["integer","null"],"example":1},"has_more":{"type":["boolean","null"],"example":false},"next_cursor":{"type":"null","example":null}}},"fetched_at":{"type":["string","null"],"example":"2026-11-27T10:17:12.806Z"},"age":{"type":["integer","null"],"example":0}}},"cached":{"type":"boolean","description":"Whether this answer was served from the stored copy."},"source":{"description":"Where the data was read from."},"fetched_at":{"$ref":"#/components/schemas/FetchedAt"},"age":{"$ref":"#/components/schemas/Age"}},"required":["data","cached","source"]}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/CreditLimitReached"},"403":{"$ref":"#/components/responses/AccountSuspended"},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/UpstreamFailed"}}}},"/profiles/{username}":{"get":{"operationId":"profilesByUsername","summary":"Profile","description":"A public Instagram profile: id, name, verification, follower and post counts, avatar, whether a story is live, pronouns, and its 6 newest posts (type, likes, comments, time, cover image). Raises not found for an account that does not exist.\n\nEach successful request uses 5 credits.","x-credits":5,"parameters":[{"name":"username","in":"path","required":true,"description":"Instagram username, with or without @ (a profile URL works too)","schema":{"type":"string"},"example":"natgeo"},{"$ref":"#/components/parameters/MaxAge"}],"responses":{"200":{"description":"The data, as JSON.","headers":{"RateLimit-Limit":{"description":"Requests the key may make in the current window.","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in the current window.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until the window starts again.","schema":{"type":"integer"}},"x-maviapi-unknown-params":{"description":"Query params this endpoint does not take, comma separated; they were ignored. Send `x-maviapi-strict: 1` to get a free `400 unknown_param` instead.","schema":{"type":"string"}},"Age":{"description":"Seconds since the data was read from the site, as the body's `age`.","schema":{"type":"integer"}},"x-maviapi-fetched-at":{"description":"When the data was read from the site (ISO 8601, UTC), as the body's `fetched_at`.","schema":{"type":"string","format":"date-time"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"id":{"type":["string","null"],"example":"787132"},"username":{"type":["string","null"],"example":"natgeo"},"full_name":{"type":["string","null"],"example":"National Geographic"},"is_verified":{"type":["boolean","null"],"example":true},"profile_pic_url":{"type":["string","null"],"example":"https://scontent.cdninstagram.com/v/t51.82787-19/683576066_18653628823019133_9051036240972105113_n.jpg?stp=dst-jpg_s150x150_tt6&_nc_cat=1&ig_cache_key=GAKLvih9nsRnYEVCAJlFVLiBvZt9bmNDAQAB1501500j-ccb7-5&ccb=7-5&_nc_sid=669407&efg=eyJ2ZW5jb2RlX3RhZyI6InByb2ZpbGVfcGljLnd3dy40MDAuQzMifQ%3D%3D&_nc_ohc=Fzq-SLmj7IoQ7kNvwGpGgyW&_nc_oc=AdoSMy3X79OMsDhxuGaGueLvYRgHskmAnnMjOhIp964NrFIS5KIhjVsiNvzJcx_on5M&_nc_zt=24&_nc_ht=scontent.cdninstagram.com&_nc_gid=Fdw29QrZDQfRLbdDQBmEPA&_nc_ss=79789&_nc_ct=RQosPBUCFQIAAAA&oh=00_AQWjvhxastkp47DrsN6I5eZUvvrxnymxJhyvmUrshCO-HQ&oe=6B0F1CEB"},"followers_count":{"type":["integer","null"],"example":267196027},"posts_count":{"type":["integer","null"],"example":32218},"has_public_story":{"type":["boolean","null"],"example":true},"pronouns":{"type":["array","null"],"items":{}},"url":{"type":["string","null"],"example":"https://www.instagram.com/natgeo/"},"recent_posts":{"type":["array","null"],"items":{"type":"object","properties":{"shortcode":{"type":["string","null"],"example":"DgOT_LDGtxo"},"url":{"type":["string","null"],"example":"https://www.instagram.com/p/DgOT_LDGtxo/"},"type":{"type":["string","null"],"example":"carousel"},"like_count":{"type":["integer","null"],"example":84983},"comment_count":{"type":["integer","null"],"example":275},"taken_at":{"type":["string","null"],"example":"2026-11-26T23:43:19.000Z"},"display_url":{"type":["string","null"],"example":"https://scontent.cdninstagram.com/v/t51.82787-15/930382505_18723120067019133_7440139847351550069_n.jpg?stp=dst-jpg_e35_p1080x1080_sh2.08_tt6&_nc_cat=1&ig_cache_key=NDAzOTI1MjQ4NjY1MTkxOTQ4Mw%3D%3D.3-ccb7-5&ccb=7-5&_nc_sid=58cdad&efg=eyJ2ZW5jb2RlX3RhZyI6IkNBUk9VU0VMX0lURU0ueHBpZHMuMjA0OC5zZHIucmVndWxhcl9waG90by5DMyJ9&_nc_ohc=VogRwE_nH_4Q7kNvwEePunG&_nc_oc=Adp4QIYDL-KB5Jn5_rbWN0Ct0RhHqEmBHD_sZi88genX1GK9-jDUqGETvWiSm-ouPZw&_nc_zt=23&_nc_ht=scontent.cdninstagram.com&_nc_gid=Fdw29QrZDQfRLbdDQBmEPA&_nc_ss=79789&_nc_ct=RQosPBUIFQIlBAAAAA&oh=00_AQWqzC7PmJ5Fb9s2sKGvVw05nv5H01HQb-zRwwcj1_8DTA&oe=6B0F421D"}}}},"pagination":{"type":["object","null"],"properties":{"count":{"type":["integer","null"],"example":6},"has_more":{"type":["boolean","null"],"example":false},"next_cursor":{"type":"null","example":null}}},"fetched_at":{"type":["string","null"],"example":"2026-11-27T10:16:52.001Z"},"age":{"type":["integer","null"],"example":0}}},"cached":{"type":"boolean","description":"Whether this answer was served from the stored copy."},"source":{"description":"Where the data was read from."},"fetched_at":{"$ref":"#/components/schemas/FetchedAt"},"age":{"$ref":"#/components/schemas/Age"}},"required":["data","cached","source"]}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/CreditLimitReached"},"403":{"$ref":"#/components/responses/AccountSuspended"},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/UpstreamFailed"}}}},"/profiles/{username}/recent-posts":{"get":{"operationId":"profilesRecentPostsByUsername","summary":"Recent Posts","description":"The newest posts of a public profile (Instagram shows at most the 6 newest without login): id, shortcode, url, type, caption, hashtags, mentions, likes, comments, video plays, publish time, cover image, video file and duration, size, location, owner with follower count, and every image/video of a carousel. Also the profile's total post count. Raises not found for an unknown account.\n\nEach successful request uses 5 credits.","x-credits":5,"parameters":[{"name":"username","in":"path","required":true,"description":"Instagram username, with or without @","schema":{"type":"string"},"example":"natgeo"},{"name":"type","in":"query","required":false,"description":"only posts of this kind: image, video or carousel (any kind when omitted)","schema":{"anyOf":[{"enum":["image","video","carousel"],"type":"string"},{"type":"null"}]}},{"name":"sort","in":"query","required":false,"description":"order of the posts: recent (newest first), likes or comments (most first)","schema":{"enum":["recent","likes","comments"],"type":"string","default":"recent"},"example":"recent"},{"name":"limit","in":"query","required":false,"description":"Rows in one page, 1 to 200 (default 50).","schema":{"type":"integer","minimum":1,"maximum":200,"default":50}},{"name":"offset","in":"query","required":false,"description":"Rows to skip before the page starts (default 0).","schema":{"type":"integer","minimum":0,"default":0}},{"$ref":"#/components/parameters/Fields"},{"$ref":"#/components/parameters/Cursor"},{"$ref":"#/components/parameters/MaxAge"}],"responses":{"200":{"description":"The data, as JSON.","headers":{"RateLimit-Limit":{"description":"Requests the key may make in the current window.","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in the current window.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until the window starts again.","schema":{"type":"integer"}},"x-maviapi-unknown-params":{"description":"Query params this endpoint does not take, comma separated; they were ignored. Send `x-maviapi-strict: 1` to get a free `400 unknown_param` instead.","schema":{"type":"string"}},"Age":{"description":"Seconds since the data was read from the site, as the body's `age`.","schema":{"type":"integer"}},"x-maviapi-fetched-at":{"description":"When the data was read from the site (ISO 8601, UTC), as the body's `fetched_at`.","schema":{"type":"string","format":"date-time"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"username":{"type":["string","null"],"example":"natgeo"},"posts_count":{"type":["integer","null"],"example":32218},"count":{"type":["integer","null"],"example":6},"posts":{"type":["array","null"],"items":{"type":"object","properties":{"id":{"type":["string","null"],"example":"4039253819871911016"},"shortcode":{"type":["string","null"],"example":"DgOT_LDGtxo"},"url":{"type":["string","null"],"example":"https://www.instagram.com/p/DgOT_LDGtxo/"},"type":{"type":["string","null"],"example":"carousel"},"product_type":{"type":"null","example":null},"caption":{"type":["string","null"],"example":"Eel reproduction was first photographed in the wild by National Geographic photographer @tonywu98, and he and his team have continued to document this secretive event by spending hundreds of hours submerged in the waters of Kagoshima. National Geographic’s Pictures of the Year 2026 includes these moray eels in the act of ejecting their gametes, a process that occurs in less than two seconds.\n\nNational Geographic photographers ventured to places far and wide to capture the year’s most fascinating images. Out of millions of photos, just 25 were selected as our Pictures of the Year. See them all at the link in bio."},"hashtags":{"type":["array","null"],"items":{}},"mentions":{"type":["array","null"],"items":{"type":"string","example":"tonywu98"}},"like_count":{"type":["integer","null"],"example":84983},"comment_count":{"type":["integer","null"],"example":275},"view_count":{"type":"null","example":null},"taken_at":{"type":["string","null"],"example":"2026-11-26T23:43:19.000Z"},"display_url":{"type":["string","null"],"example":"https://scontent.cdninstagram.com/v/t51.82787-15/930382505_18723120067019133_7440139847351550069_n.jpg?stp=dst-jpg_e35_p1080x1080_sh2.08_tt6&_nc_cat=1&ig_cache_key=NDAzOTI1MjQ4NjY1MTkxOTQ4Mw%3D%3D.3-ccb7-5&ccb=7-5&_nc_sid=58cdad&efg=eyJ2ZW5jb2RlX3RhZyI6IkNBUk9VU0VMX0lURU0ueHBpZHMuMjA0OC5zZHIucmVndWxhcl9waG90by5DMyJ9&_nc_ohc=VogRwE_nH_4Q7kNvwEePunG&_nc_oc=Adp4QIYDL-KB5Jn5_rbWN0Ct0RhHqEmBHD_sZi88genX1GK9-jDUqGETvWiSm-ouPZw&_nc_zt=23&_nc_ht=scontent.cdninstagram.com&_nc_gid=Fdw29QrZDQfRLbdDQBmEPA&_nc_ss=79789&_nc_ct=RQosPBUIFQIlBAAAAA&oh=00_AQWqzC7PmJ5Fb9s2sKGvVw05nv5H01HQb-zRwwcj1_8DTA&oe=6B0F421D"},"video_url":{"type":"null","example":null},"video_duration":{"type":"null","example":null},"width":{"type":["integer","null"],"example":1080},"height":{"type":["integer","null"],"example":1350},"accessibility_caption":{"type":"null","example":null},"is_paid_partnership":{"type":["boolean","null"],"example":false},"location":{"type":"null","example":null},"owner":{"type":["object","null"],"properties":{"id":{"type":["string","null"],"example":"787132"},"username":{"type":["string","null"],"example":"natgeo"},"is_verified":{"type":["boolean","null"],"example":true},"profile_pic_url":{"type":["string","null"],"example":"https://scontent.cdninstagram.com/v/t51.82787-19/683576066_18653628823019133_9051036240972105113_n.jpg?stp=dst-jpg_s150x150_tt6&_nc_cat=1&ig_cache_key=GAKLvih9nsRnYEVCAJlFVLiBvZt9bmNDAQAB1501500j-ccb7-5&ccb=7-5&_nc_sid=669407&efg=eyJ2ZW5jb2RlX3RhZyI6InByb2ZpbGVfcGljLnd3dy40MDAuQzMifQ%3D%3D&_nc_ohc=Fzq-SLmj7IoQ7kNvwGpGgyW&_nc_oc=AdoSMy3X79OMsDhxuGaGueLvYRgHskmAnnMjOhIp964NrFIS5KIhjVsiNvzJcx_on5M&_nc_zt=24&_nc_ht=scontent.cdninstagram.com&_nc_gid=Fdw29QrZDQfRLbdDQBmEPA&_nc_ss=79789&_nc_ct=RQosPBUCFQIAAAA&oh=00_AQWjvhxastkp47DrsN6I5eZUvvrxnymxJhyvmUrshCO-HQ&oe=6B0F1CEB"},"followers_count":{"type":["integer","null"],"example":267196027}}},"media":{"type":["array","null"],"items":{"type":"object","properties":{"id":{"type":["string","null"],"example":"4039252486651919483"},"shortcode":{"type":["string","null"],"example":"DgOTrxZADx7"},"type":{"type":["string","null"],"example":"image"},"display_url":{"type":["string","null"],"example":"https://scontent.cdninstagram.com/v/t51.82787-15/930382505_18723120067019133_7440139847351550069_n.jpg?stp=dst-jpg_e35_p1080x1080_sh2.08_tt6&_nc_cat=1&ig_cache_key=NDAzOTI1MjQ4NjY1MTkxOTQ4Mw%3D%3D.3-ccb7-5&ccb=7-5&_nc_sid=58cdad&efg=eyJ2ZW5jb2RlX3RhZyI6IkNBUk9VU0VMX0lURU0ueHBpZHMuMjA0OC5zZHIucmVndWxhcl9waG90by5DMyJ9&_nc_ohc=VogRwE_nH_4Q7kNvwEePunG&_nc_oc=Adp4QIYDL-KB5Jn5_rbWN0Ct0RhHqEmBHD_sZi88genX1GK9-jDUqGETvWiSm-ouPZw&_nc_zt=23&_nc_ht=scontent.cdninstagram.com&_nc_gid=Fdw29QrZDQfRLbdDQBmEPA&_nc_ss=79789&_nc_ct=RQosPBUIFQIlBAAAAA&oh=00_AQWqzC7PmJ5Fb9s2sKGvVw05nv5H01HQb-zRwwcj1_8DTA&oe=6B0F421D"},"video_url":{"type":"null","example":null},"width":{"type":["integer","null"],"example":1080},"height":{"type":["integer","null"],"example":1350},"accessibility_caption":{"type":"null","example":null}}}}}}},"pagination":{"type":["object","null"],"properties":{"count":{"type":["integer","null"],"example":6},"has_more":{"type":["boolean","null"],"example":false},"next_cursor":{"type":"null","example":null}}},"fetched_at":{"type":["string","null"],"example":"2026-11-27T10:16:52.010Z"},"age":{"type":["integer","null"],"example":0}}},"cached":{"type":"boolean","description":"Whether this answer was served from the stored copy."},"source":{"description":"Where the data was read from."},"pagination":{"type":"object","properties":{"total":{"type":"integer"},"limit":{"type":"integer"},"offset":{"type":"integer"},"count":{"type":"integer"},"has_more":{"type":"boolean"},"next_cursor":{"$ref":"#/components/schemas/NextCursor"}}},"fetched_at":{"$ref":"#/components/schemas/FetchedAt"},"age":{"$ref":"#/components/schemas/Age"}},"required":["data","cached","source"]}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/CreditLimitReached"},"403":{"$ref":"#/components/responses/AccountSuspended"},"410":{"$ref":"#/components/responses/CursorExpired"},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"$ref":"#/components/responses/UpstreamFailed"}}}}},"components":{"securitySchemes":{"maviapiKey":{"type":"http","scheme":"bearer","description":"Your maviapi API key, sent as `Authorization: Bearer <key>`. Create one at https://maviapi.com/dashboard/keys."}},"parameters":{"Fields":{"name":"fields","in":"query","required":false,"description":"Row fields to keep in a list answer, comma separated (at most 50). A dot reaches into an object, or into each object of an array (venue.city). A name no row has is a 400 that lists the fields a row has.","schema":{"type":"string"}},"Cursor":{"name":"cursor","in":"query","required":false,"description":"pagination.next_cursor of the previous page, sent with the same other params: the next page of the same stored copy of the list, so a walk never skips or repeats a row when the cache refreshes or the site reorders. A cursor for other params is 400 invalid_cursor; a copy that is gone is 410 cursor_expired (start again without cursor).","schema":{"type":"string"}},"MaxAge":{"name":"max_age","in":"query","required":false,"description":"Serve a stored answer only when it was read at most this many seconds ago (0 to 86400); older, the site is read again. 0 is refresh=true. Any other value is 400 invalid_max_age.","schema":{"type":"integer","minimum":0,"maximum":86400}}},"schemas":{"Error":{"type":"object","required":["error","message","retryable"],"properties":{"error":{"type":"string","description":"Machine-readable code, e.g. `rate_limited`."},"message":{"type":"string","description":"What went wrong, in a sentence."},"retryable":{"type":"boolean","description":"Whether the same request may succeed later without any change. When true, wait the seconds in `Retry-After` (if sent) first."}}},"FetchedAt":{"type":["string","null"],"format":"date-time","description":"When this data was read from the site (ISO 8601, UTC). Also in the x-maviapi-fetched-at header.","example":"2026-11-25T09:30:00.000Z"},"Age":{"type":["integer","null"],"description":"Seconds since fetched_at: 0 for a fresh read, more for a stored answer. Also in the Age header.","example":0},"NextCursor":{"type":["string","null"],"description":"Send as `cursor`, with the same other params, for the next page of the same copy of the list; null on the last page."}},"responses":{"BadRequest":{"description":"A parameter is missing or cannot be used (`bad_request`), or, with the `x-maviapi-strict: 1` request header, a query param the operation does not take was sent (`unknown_param`, with the names in `params`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":"bad_request","message":"Missing required query parameter: q","retryable":false}}}},"Unauthorized":{"description":"No API key was sent, or the key is invalid or revoked (`missing_api_key`, `invalid_api_key`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":"missing_api_key","message":"Provide an API key via the Authorization: Bearer <key> header.","retryable":false}}}},"CreditLimitReached":{"description":"The plan's credits for this period are used up.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":"credit_limit_reached","message":"You've used all 1,000 credits in your Free plan for this period. Upgrade your plan for a higher allotment.","retryable":false}}}},"AccountSuspended":{"description":"The account that owns the key is suspended.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":"account_banned","message":"Your account is suspended.","retryable":false}}}},"RateLimited":{"description":"Too many requests for this key (`rate_limited`), or too many at once for its plan (`concurrency_limited`). Wait the number of seconds in `Retry-After`.","headers":{"Retry-After":{"description":"Seconds to wait before retrying.","schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":"rate_limited","message":"Rate limit exceeded for this API key (600 requests a minute).","retryable":true}}}},"UpstreamFailed":{"description":"The source site could not be read this time. Retrying later usually works.","headers":{"Retry-After":{"description":"Seconds to wait before retrying.","schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":"scrape_failed","message":"The upstream source could not be fetched","retryable":true}}}},"CursorExpired":{"description":"The stored copy of the list this cursor walks is gone. Start the list again without cursor.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":"cursor_expired","message":"The copy of the list this cursor walks is gone. Start the list again without cursor.","retryable":false}}}}}}}