Instagram API

Instagram Tagged posts API

List the posts an Instagram user is tagged in, with cursor pagination (author, caption, likes, comments).

POST/v1/run/instagram.tagged_posts
Uptime
100.00%
30d · 46 calls
Requests
46
30d · weekly, last 12 wks
Response
7.3s
median · 30d

Try it

Make your first request

Open in
Get a free key
Sample response
Free runs return only the first 3 results. Fund a key to get the full response.
{
  "data": {
    "nextCursor": "example",
    "posts": [
      {
        "author": "Alex Rivera",
        "avatarUrl": "https://example.com/image.jpg",
        "caption": "A short example description of this item.",
        "comments": 12500,
        "createdUtc": 12.5,
        "id": "a1b2c3d4",
        "likes": 12500,
        "url": "https://example.com/page"
      }
    ]
  },
  "found": true
}
Response interface
interface InstagramTaggedPostsResponse {
  data: {
    nextCursor: string | null;
    posts: {
      author: string;
      avatarUrl?: string;
      caption: string;
      comments: number;
      createdUtc: number;
      id: string;
      likes: number;
      url: string;
    }[];
  } | null;
  found: boolean;
}

Full parameter and response reference - every field, type, and example for this endpoint.

Reference

Request, response, and price

Last verified 2026-09-12 · uptime and latency measured over 30d
POST /v1/run/instagram.tagged_posts
curl -X POST https://api.getanyapi.com/v1/run/instagram.tagged_posts \
  -H "Authorization: Bearer $ANYAPI_KEY" \
  -H "Content-Type: application/json" \
  -d '{"handle":"nasa"}'
FieldTypeExample value
Request body
handlestring"nasa"Instagram username without the leading @.
cursorstringPagination cursor from a previous response's nextCursor.
Response
dataobject
data.nextCursorstringOpaque cursor for the next page of tagged posts, or null when this lane has no more. Pass it back as cursor to continue.
data.postsobject[]Posts that tag the requested account, newest first. Populated whenever the provider has data for the entity.
data.posts[].authorstringUsername of the account that posted and applied the tag, without the @ prefix. Populated whenever the provider has data for the entity.
data.posts[].avatarUrlstringURL of the posting account's profile avatar image.
data.posts[].captionstringThe post's caption text. Empty when the post has none. Populated whenever the provider has data for the entity.
data.posts[].commentsintegerNumber of comments on the post.
data.posts[].createdUtcnumberUTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds.
data.posts[].idstringThe post's numeric Instagram media ID, as a string. Populated whenever the provider has data for the entity.
data.posts[].likesintegerNumber of likes on the post.
data.posts[].urlstringCanonical URL of the post, with tracking query params stripped. Populated whenever the provider has data for the entity.
foundboolean
Price
Price per requestUSD$0.0015
Price /1k reqUSD$1.50

FAQ

About the Instagram Tagged posts API

The AnyAPI Instagram Tagged posts API returns Instagram tagged posts data as normalized JSON from one POST call to /v1/run/instagram.tagged_posts. List the posts an Instagram user is tagged in, with cursor pagination (author, caption, likes, comments). AnyAPI routes each request across 3 sources and falls back automatically when one fails. It costs from $1.50 per 1,000 requests, in US dollars with no subscription and no monthly minimum. Over the last 30 days, 100.0% of Instagram tagged posts calls through AnyAPI succeeded, with a median response time of 7.3 seconds across 46 measured calls.

It costs from $1.50 per 1,000 requests, in US dollars with no subscription and no monthly minimum. You fund one USD wallet, each call draws it down, and a failed request costs $0.

List the posts an Instagram user is tagged in, with cursor pagination (author, caption, likes, comments). The response is normalized JSON with the same envelope every AnyAPI endpoint returns, so parsing a second endpoint is a change of URL and nothing else.

Over the last 30 days, 100.0% of Instagram tagged posts calls through AnyAPI succeeded, with a median response time of 7.3 seconds across 46 measured calls. These are AnyAPI's own measurements of traffic through the gateway, recomputed continuously, not a published service-level target.