toolzerhub API Docs

List Instagram user posts by ID

Lists media from a public Instagram account by numeric user_id. count sets the page size; pass the previous response's next_max_id as next_max_id to get the next page.

1 credit / requestBilled only on success
GET
/v1/instagram/user/posts/by-id

Authorization

ApiKeyAuth
x-api-key<token>

In: header

Query Parameters

user_id*string

Numeric Instagram user ID, from the id field of Get User ID or Get User Info.

Length1 <= length
next_max_id?string

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

count?integer
Range1 <= value <= 20
Default12
curl -X GET "https://example.com/v1/instagram/user/posts/by-id?user_id=787132" \  -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  }}