User Published Posts

Retrieves posts published by an Instagram user with token-based pagination. Use it to browse a known account's post history or continue through subsequent result pages.

Endpoint ID
GET /v1/instagram/get_user_posts_v1
Endpoint ID
instagram.get_user_posts_v1
Price
$0.02 per successful call · failed calls are free

Parameters

Name Required Type Description Example Allowed values
username Required string The Instagram username whose published posts are to be retrieved. nasa —
pagination_token Optional string Token used for retrieving the next page of results. — —

Code samples

curl -G "https://api.mofa-ai.com/v1/instagram/get_user_posts_v1" \
  -H "Authorization: Bearer $MOFA_API_KEY" \
  --data-urlencode 'username=nasa'

Try it

Sign in to call this endpoint from this page. Successful calls are billed to your balance, failed calls are free, and new accounts get $0.50 of trial credit.

Sign in to try

Example response

There is no example response for this endpoint yet.