herascrape
Menu
API reference

Instagram User Posts API

GET/users/{user_id}/posts

The profile grid. Page with ``cursor`` taken from ``feed.profile_grid_items_cursor`` of the previous response.

$0.0004 per request ($0.40 per 1,000), flat. Only successful calls are billed.

Parameters

NameInRequiredDescription
user_idpathyesNumeric Instagram user id (pk)
cursorquerynoOpaque pagination cursor from a previous next_cursor

Request

curl "https://api.herascrape.com/users/528817151/posts" \
  -H "x-api-key: $HERASCRAPE_KEY"

Returns one page of results in the uniform `{ items, next_cursor, has_more }` envelope. Loop on `next_cursor` to page through the rest.