List Instagram user posts
Lists media from a public Instagram account. Provide username_or_url or user_id. count sets the page size; pass the previous response's next_max_id as cursor to get the next page.
1 credit / requestBilled only on success
Authorization
ApiKeyAuth x-api-key<token>
In: header
Query Parameters
username_or_url?string
Instagram username (without @) or full profile URL, for example natgeo or https://www.instagram.com/natgeo/.
Length
3 <= lengthuser_id?string
Numeric Instagram user ID. Use instead of username_or_url to skip the username lookup.
Length
1 <= lengthcursor?string
Pass the previous response's next_max_id value to get the next page. Omit for the first page.
count?integer
Range
1 <= value <= 50Default
12curl -X GET "https://example.com/v1/instagram/user/posts" \ -H "x-api-key: YOUR_API_KEY"{ "data": { "items": [ { "pk": "string", "property1": null, "property2": null } ], "more_available": true, "next_max_id": "string", "property1": null, "property2": null }}