toolzerhub API Docs

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
GET
/v1/instagram/user/posts

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/.

Length3 <= length
user_id?string

Numeric Instagram user ID. Use instead of username_or_url to skip the username lookup.

Length1 <= length
cursor?string

Pass the previous response's next_max_id value to get the next page. Omit for the first page.

count?integer
Range1 <= value <= 50
Default12
curl -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  }}