Post
One post or reel with its counts, media and tags.
GET
apiKeyheader
AuthorizationBearer <token>An API key from the dashboard: Authorization: Bearer sapi_….
url?stringThe post's link (https://www.instagram.com/p/DgCpvD5A-3U/, or a reel's).
id?stringThe post's media id, instead of url.
maxAge?integerHow old a cached answer may be, in seconds; 0 always fetches. Default and most: the endpoint's cache lifetime.
Format
int64Range
0 <= valueThe answer.
application/json- response
One item, as every single-item endpoint answers: { "data": … }.
data*An Instagram post: a photo, a video, a carousel, a reel, or a story in a highlight.
import { SocialAPI } from "@socialapihq/sdk";const client = new SocialAPI({ apiKey: process.env.SOCIALAPI_API_KEY });const { data } = await client.instagram.post({ url: "https://www.instagram.com/p/Df147tCiAyB/" });Example Response
{ "data": { "id": "4032379434794749057", "url": "https://www.instagram.com/p/Df147tCiAyB/", "text": "National 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. \n\nWe thought these photos of a juvenile Greenland shark, possibly born around the time of the American Civil War, a climber dangling from a horizontal ledge in Spain during August’s solar eclipse, and an astro…", "createdAt": "2026-11-17T12:05:09.000Z", "author": { "id": "787132", "username": "natgeo", "displayName": "National Geographic", "avatarUrl": "https://scontent-muc2-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-SLmj7IoQ7kNvwEomVU3&_nc_oc=AdoSSLSDWlxgB4nS6ADyJql3YCqH2Tddy3-4UcMuTratGcW73ljT5DGiYUUCFdQ_Di8&_nc_zt=24&_nc_ht=scontent-muc2-1.cdninstagram.com&_nc_gid=9y7W7SWNsnsOUo3MiAJpbA&_nc_ss=79b8c&_nc_ct=RQosPBUCFQIAAAA&oh=00_AQTybcC1BBeWZvRK8DV_8Z8OfF2sR2xxZWN68hDiyIhhMQ&oe=6B0CB22B", "verified": true, "url": "https://www.instagram.com/natgeo/" }, "stats": { "views": null, "likes": 23825, "comments": 104, "shares": null, "saves": null, "engagementRate": null }, "media": [ { "kind": "image", "url": "https://scontent-muc2-1.cdninstagram.com/v/t51.82787-15/912032737_18720223195019133_3854183847552490578_n.jpg?stp=dst-jpg_e35_tt6&_nc_cat=109&_nc_map=urlgen_bucketless&ig_cache_key=NDAzMjM3MDM5NDQxODY4Mjg1OA%3D%3D.3-ccb7-5&ccb=7-5&_nc_sid=58cdad&efg=eyJ2ZW5jb2RlX3RhZyI6IkNBUk9VU0VMX0lURU0ueHBpZHMuMTA4MC5zZHIucmVndWxhcl9waG90by5DMyJ9&_nc_ohc=bFP-yCIxZ7sQ7kNvwEUcYun&_nc_oc=AdpOZc2LMJ9e8ZtQkhjo0HgXFkrlqmbKUMs5bFacIFlb3diItSOB_ZlTs4DeRU0WX8U&_nc_zt=23&_nc_ht=scontent-muc2-1.cdninstagram.com&_nc_gid=9y7W7SWNsnsOUo3MiAJpbA&_nc_ss=79b8c&_nc_ct=RQosPBUIFQIlBAAAAA&oh=00_AQRjkuAR0QBIZxOs61jk95_5NmXGtHNxkOCA-AVsjp1WTQ&oe=6B0CC5B4", "thumbnailUrl": null, "width": 1080, "height": 1350, "durationSeconds": null }, { "kind": "image", "url": "https://scontent-muc2-1.cdninstagram.com/v/t51.82787-15/914384603_18720223210019133_7491756309452445712_n.jpg?stp=dst-jpg_e35_tt6&_nc_cat=110&_nc_map=urlgen_bucketless&ig_cache_key=NDAzMjM3MDM5OTYxOTY5MjgwOA%3D%3D.3-ccb7-5&ccb=7-5&_nc_sid=58cdad&efg=eyJ2ZW5jb2RlX3RhZyI6IkNBUk9VU0VMX0lURU0ueHBpZHMuMjA0Ni5zZHIucmVndWxhcl9waG90by5DMyJ9&_nc_ohc=4wWdcPuuez0Q7kNvwEkzIn6&_nc_oc=AdoVL2kYtZsOk76In6v1t8UFnx4MIxSZ5aqCkGO3wnUSF-DGrKjV4RP5QDqrN-tIKFE&_nc_zt=23&_nc_ht=scontent-muc2-1.cdninstagram.com&_nc_gid=9y7W7SWNsnsOUo3MiAJpbA&_nc_ss=79b8c&_nc_ct=RQosPBUIFQIlBAAAAA&oh=00_AQQXbqNPERXcyBdr47pObvqR7CbRKvD-xhlFrJKmfRltjQ&oe=6B0CBCCF", "thumbnailUrl": null, "width": 2046, "height": 1856, "durationSeconds": null }, { "kind": "image", "url": "https://scontent-muc2-1.cdninstagram.com/v/t51.82787-15/910707883_18720223213019133_8801173042309599373_n.jpg?stp=dst-jpg_e35_tt6&_nc_cat=104&_nc_map=urlgen_bucketless&ig_cache_key=NDAzMjM3MDQwMTQ5ODgyMTAxOQ%3D%3D.3-ccb7-5&ccb=7-5&_nc_sid=58cdad&efg=eyJ2ZW5jb2RlX3RhZyI6IkNBUk9VU0VMX0lURU0ueHBpZHMuMjg4Ny5zZHIucmVndWxhcl9waG90by5DMyJ9&_nc_ohc=9c9rBGW3-XAQ7kNvwFpoYnK&_nc_oc=AdobA-ns7bltQpgOia95XRoDAbq9wMTOY81I_rka7fdg2XmCTJDZBQHJK6yWB8TPAn8&_nc_zt=23&_nc_ht=scontent-muc2-1.cdninstagram.com&_nc_gid=9y7W7SWNsnsOUo3MiAJpbA&_nc_ss=79b8c&_nc_ct=RQosPBUIFQIlBAAAAA&oh=00_AQSkpWlz1k5Qgu91gH7OYnc4FyFxsvQx8Q46_oveolX4cw&oe=6B0CC4E7", "thumbnailUrl": null, "width": 2887, "height": 2099, "durationSeconds": null } ], "hashtags": [], "mentions": [ "kiliiiyuyan", "chrisburkard", "paoloverzone" ], "ext": { "code": "Df147tCiAyB", "kind": "carousel", "location": null, "sound": null, "tagged": [], "paidPartnership": false, "countsHidden": false, "altText": "Photo by National Geographic on November 17, 2026. May be an image of text." } }}