toolzerhub API Docs

List post comments (v1)

List the comments on a post or reel by url, code or media_id, with the commenter and like count. Paginate with cursor and next_cursor. A post without comments returns an empty items list.

1 credit / requestBilled only on success
GET
/v1/instagram/comments

Authorization

ApiKeyAuth
x-api-key<token>

In: header

Query Parameters

url?string

Post or reel URL (/p/, /reel/, /reels/ or /tv/). Send exactly one of url or code.

Lengthlength <= 500
code?string

Shortcode from the post URL, DZpQwxqimz2 in instagram.com/p/DZpQwxqimz2/. Send exactly one of url or code.

Lengthlength <= 50
media_id?string

Numeric media ID, from the pk field of /v1/instagram/media. Send exactly one of url, code or media_id.

Lengthlength <= 60
cursor?string

next_cursor from the previous response. Omit for the first page and send it unchanged for later pages.

Lengthlength <= 2000
curl -X GET "https://example.com/v1/instagram/comments" \  -H "x-api-key: YOUR_API_KEY"
{  "data": {    "items": [      {        "property1": null,        "property2": null      }    ],    "next_cursor": "string"  },  "details": {    "reason": "string",    "message": "string"  }}