InstagramUSER
Get user posts
Retrieve a paginated post feed. Pass pagination.next_cursor back as cursor for the next page.
/v1/instagram/user/postsCursor-paginatedhttps://social-api.airaa.xyzcurl "https://social-api.airaa.xyz/v1/instagram/user/posts?username=instagram" \ -H "X-API-KEY: $AIRAA_KEY"
{
"user": {
"id": "25025320",
"username": "instagram",
"full_name": "Instagram",
"profile_url": "https://www.instagram.com/instagram/",
"profile_picture_url": "https://scontent-phl2-1.cdninstagram.com/v/t51.82787-19/550891366_18667771684001321_1383210656577177067_n.jpg",
"is_private": false,
"is_verified": true
},
"posts": [
{
"id": "4032525312506263120",
"shortcode": "Df2aGgPtPZQ",
"post_url": "https://www.instagram.com/reel/Df2aGgPtPZQ/",
"type": "reel",
"caption": "food, but make it fashion ✨🍍\n\n#InTheMoment\n\nVideo by @sedjroxx\n\nMusic by @michaelprinceviolin",
"published_at": "2026-11-17T16:59:29.000Z",
"like_count": 268128,
"comment_count": 4681,
"width": 720,
"height": 1280,
"media": [
{
"type": "video",
"url": "https://scontent-phl2-1.cdninstagram.com/o1/v/t2/f2/m86/AQOqPjBmCCfKFRFs-Xw8-ilXCKt3T_xmZuWe8fuhYRMxs5mhEENuC7cEJlmUsYCs6I1blNStIeCGYwrD7z3BDiRKog54ncdRfc_b8Fc.mp4",
"thumbnail_url": "https://scontent-phl2-1.cdninstagram.com/v/t51.82787-15/910384646_1154538673588034_2834912206712094424_n.jpg",
"width": 720,
"height": 1280,
"duration_seconds": 38.334
}
],
"view_count": 30900611,
"duration_seconds": 38.334
},
{
"id": "4031845282429052247",
"shortcode": "Dfz_ew4hKVX",
"post_url": "https://www.instagram.com/reel/Dfz_ew4hKVX/",
"type": "reel",
"caption": "the creative vision is VISIONING 👏\n\n#InTheMoment\n\nVideo by @brandikoleart",
"published_at": "2026-11-16T18:24:24.000Z",
"like_count": 203448,
"comment_count": 4925,
"width": 720,
"height": 1280,
"media": [
{
"type": "video",
"url": "https://scontent-phl2-1.cdninstagram.com/o1/v/t2/f2/m86/AQMl255POmYekOE-Vd4hcMt3tVQHYbexOH2glD0QHupc9L2GDiDDjXns24CLuz3nOXwdZF6AYTMuyqjPMyHZ5tf76r2WgqTNIgAhGAA.mp4",
"thumbnail_url": "https://scontent-phl2-1.cdninstagram.com/v/t51.82787-15/896132685_2001167423894986_602414861542077462_n.jpg",
"width": 720,
"height": 1280,
"duration_seconds": 6.639
}
],
"view_count": 65931407,
"duration_seconds": 6.639
}
],
"pagination": {
"next_cursor": "Y9swOQ7aK4Y01CRbriiqztmj51dksCrE50xlQCl7oIXe…",
"has_more": true
}
}type is one of image, video, carousel, or reel. Every post carries a media[] array — one entry per carousel item, one entry for a single image or video. view_count and duration_seconds appear only on videos and reels.
Parameters
Query stringusernamestringrequiredInstagram username
Example instagram
cursorstringoptionalPagination cursor from the previous response (pagination.next_cursor)
Response
200 · application/jsonAbsent fields are omitted, never null. Response conventions
| Field | Type | Description |
|---|---|---|
| user | object | The account whose feed is returned |
| user.id | string | Canonical Instagram user ID |
| user.username | string | Instagram handle, without the @ |
| user.full_name | string | Display name shown on the profile |
| user.profile_url | string · url | Absolute URL of the profile on instagram.com |
| user.profile_picture_url | string · url | Profile picture URL on the Instagram CDN |
| user.is_private | boolean | Whether the account is private |
| user.is_verified | boolean | Whether the account has a verified badge |
| posts | array<object> | Posts on this page of the feed |
| posts[].id | string | Canonical post ID |
| posts[].shortcode | string | Post shortcode, as used in the post URL |
| posts[].post_url | string · url | Absolute URL of the post on instagram.com |
| posts[].type | string | One of image, video, carousel or reel |
| posts[].caption | string | Caption text |
Errors
{ "error": "message" }| Status | Meaning | Retry |
|---|---|---|
| 400 | Missing or invalid query parameter { "error": "username is required" } | No. Fix the request. |
| 401 | Missing or invalid { "error": "Invalid API key." } | No. Check the key. |
| 429 | Request quota exceeded — contact light@airaa.xyz to upgrade your plan { "error": "Request quota exceeded — contact light@airaa.xyz to upgrade your plan." } | After your quota resets |
| 500 | Server misconfiguration — API key environment variable not set { "error": "Server configuration error" } | No. Contact us. |
| 502 | Upstream provider temporarily unavailable — please try again { "error": "Upstream service unavailable" } | Yes, with backoff |
| 504 | Request timed out — please try again { "error": "Request timed out — please try again." } | Yes, with backoff |