Instagram Comments
The comments of a public Instagram post, read as a visitor with no account and answered as the document: `post`, `comments` and `pagination`.
The comments of a public Instagram post, read as a visitor with no account and answered as the document: post, comments and pagination. The first page is the 15 comments the post's page carries. pagination is absent on the last page. replies (a reply count) and user.is_verified appear only when set. An unknown post is 404 profile_not_found. zero_retention is not handled.
X-API-Key<token>Your API key.
cancel_token?stringA name you make up for this request (a UUID is fine), so you can later GET /v1/cancel
with it. Only you know it, so only you can cancel. Use a new one for every request, retries included: a cancelled token stays cancelled for a few minutes.
1 <= length <= 128post_id*stringThe shortcode, or the address of a post, reel or video (as for instagram_post).
next_page_token?stringThe previous answer's pagination.next_page_token (base64 JSON). A token this API did not give, or one of another post, is 400.
The comments, as the document. When the page could not be parsed, the usual envelope.
application/json- response
The first keys of a document-form answer. Unlike DocumentHead there is no
search_information unless the engine has one (there is none for the AI engines,
Events, Events Details, Facebook, Tripadvisor Place, Trending Now and the Apple engines' places).
search_metadata*search_parameters*The parameters the search ran with, defaults filled in; engine is the engine's name.
search_information?post?As instagram_post's post, without preview_comments.
comments?array<>pagination?Absent on the last page.
curl -X GET 'https://api.justserp.com/v1/instagram/comments?post_id=DbTmwYKFkZo'{ "search_metadata": { "id": "string", "status": "Success", "created_at": "string", "request_url": "string", "html_url": "string" }, "search_parameters": {}, "search_information": { "total_results": 0 }, "post": { "id": "string", "media_id": "string", "permalink": "string", "type": "string", "caption": "string", "likes": 0, "comments": 0 }, "comments": [ { "position": 0, "id": "string", "text": "string", "iso_date": "string", "likes": 0, "user": { "id": "string", "username": "string", "avatar": "string", "is_verified": true }, "replies": 0 } ], "pagination": { "next_page_token": "string" }}Instagram Post GET
One public Instagram post, reel or carousel, read as a visitor with no account and answered as the document with `post`: counts, time, every carousel item with its pictures and video files, tags, topics and the page's first 15 comments (`preview_comments`; `has_more_comments` says there are more, and `instagram_comments` pages them).
TikTok Profile GET
A public TikTok account, read as a visitor with no account and answered as the document: `profile`.