Instagram

Get recent posts from an Instagram profile

Fetch recent posts and Reels by one Instagram account: shortcode, permalink, media_type, caption, timestamp, media_url, carousel children, like_count, comments_count, view_count, hashtags, mentions and the paid-partnership label.

Give exactly one of username or url to identify the profile.

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

get/instagram/posts

Request

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

Query parameters

usernamestring
Example:nasa

The username. A leading @ is fine.

urlstring

The profile URL.

limitinteger

At most this many results, 1–24. 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.