GETProfiles2 credits
Get posts
GET https://api.instagramapi.dev/v1/profile/postsPaginated list of an account's recent posts (photos, videos, carousels). Use `cursor` to page through.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| handle | string | yes | An Instagram account. Accepts a username (`nike`), a numeric user id (`13460080`), or a full profile URL (`https://instagram.com/nike`). We resolve it automatically. |
| cursor | string | no | Pagination cursor returned as `next_cursor` in the previous response. Omit for the first page. |
Example request
curl "https://api.instagramapi.dev/v1/profile/posts?handle=nike" \
-H "Authorization: Bearer $INSTAGRAMAPI_KEY"Try it
Live request · uses 2 creditsExample response
{
"data": { /* Recent posts (feed) for an account. */ },
"meta": {
"endpoint": "profile/posts",
"credits_charged": 2,
"credits_remaining": 4987,
"next_cursor": "QVFE...",
"ms": 412
}
}