Instagram

Get the comments on an Instagram post

Fetch comments on one Instagram post: username, text, timestamp, like_count, reply_count and parent_id for replies. Use this for social listening and campaign verification.

Give exactly one of url or shortcode to identify the post.

Costs 3 credits, whether the answer is fetched or served from cache. A failed call is refunded automatically.

get/instagram/comments

Request

  • Base URL: https://api.scrapefield.com/v1
  • URL: https://api.scrapefield.com/v1/instagram/comments
  • Auth: one of:
    • HTTP bearer
    • none

Query parameters

urlstring

The post URL.

shortcodestring
Example:C1a2B3c4D5e

The post shortcode.

limitinteger

At most this many results, 1–50. A page can hold fewer while next_cursor is set: read until it is null.

cursorstring

The meta.next_cursor from the previous page. Omit for the first page.

freshboolean

Skip the cache and fetch now. Charged normally. Not available on trial credits — buy any pack to unlock it.

demoboolean

With no key: a fixed demo answer in the same shape, charged nothing.

Response

The request succeeded.

Changes

No recorded changes to this operation across all 1 revision of this API.