Skip to main content
List endpoints accept limit and cursor. They return data and next_cursor.
  • limit accepts 1 to 100. The default is 25.
  • Send next_cursor as cursor to get the next page.
  • A null value for next_cursor means that there are no more results.

Keep the filters the same

A cursor belongs to the filters that made it. Send the same filters with each page. A cursor sent with different filters returns 400 invalid_request.

Instagram posts

GET /accounts/{account_id}/media accepts a limit of 1 to 50. A page can hold fewer posts than limit, and even none with a next_cursor, because posts that are not videos are left out. Keep paging until next_cursor is null. A media cursor belongs to one account. It returns 400 on another account. Each media page uses the account’s Instagram rate limit. Read only the pages you need.

Treat a cursor as opaque

Do not parse a cursor or build one yourself. The format can change.