Instagram API

Instagram Tagged posts API

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

$1.88/1k req, pay per request, no subscription.

What the API returnedposts[0]
{
"id": "3486912004417253981",
"url": "https://www.instagram.com/p/C9x1QWEr8kD/",
"author": "morningpourco",
"caption": "Pulled a double shot at @brewhouselab this morning and it changed my whole outlook",
"likes": 2841,
"comments": 63,
"createdUtc": 1758823800,
"avatarUrl": "https://scontent.cdninstagram.com/v/t51.2885-19/morningpourco_profile.jpg",
... 17 more fields
}
Uptime
99.89%
30d · 4,629 calls
Requests
4,675
30d · weekly, last 12 wks
Response
6.2s
median · 30d

Pricing and providers

Instagram Tagged posts API pricing: one API, 3 interchangeable providers

The cheapest provider serves first. If it fails, the next one takes over in the same call.

You pay
$18.80
$1.88/1k req, only for what you use. No monthly plan.
Your first 53 requests are free with the $0.10 starting balance.

Try it

Get Instagram tagged posts in one request

requireFieldsarray
Optional; omit it and routing is unchanged, with the cheapest source serving. Name the output fields this request must be able to return, for example `audioId`, and it is served only by a source that returns every one of them. Fields you do not name are still returned whenever the serving source has them. This can raise your price: when the cheapest source cannot return a named field, a dearer source serves, and you are quoted and charged its price. A named field can still be absent on a post that genuinely lacks it. Naming a combination that no single source returns together is refused as invalid input, with no charge.
Open in
Get a free key
Sample response
Free runs return only the first 3 results. Fund a key to get the full response.

This sample shows 14 of 33 fields. See every field

{
  "found": true,
  "data": {
    "nextCursor": "QVFEX3RhZ2dlZF9jdXJzb3JfMg==",
    "posts": [
      {
        "id": "3486912004417253981",
        "url": "https://www.instagram.com/p/C9x1QWEr8kD/",
        "author": "morningpourco",
        "caption": "Pulled a double shot at @brewhouselab this morning and it changed my whole outlook",
        "likes": 2841,
        "comments": 63,
        "createdUtc": 1758823800,
        "avatarUrl": "https://scontent.cdninstagram.com/v/t51.2885-19/morningpourco_profile.jpg",
        "verified": false,
        "views": 18420
      },
      {
        "id": "3486777701928834412",
        "url": "https://www.instagram.com/p/C9wR2fkLmno/",
        "author": "citybeanscout",
        "caption": "Latte art class at @brewhouselab this weekend, link in bio",
        "likes": 954,
        "comments": 21,
        "createdUtc": 1758751500,
        "avatarUrl": "https://scontent.cdninstagram.com/v/t51.2885-19/citybeanscout_profile.jpg",
        "verified": false,
        "views": 4110
      }
    ]
  }
}

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

Reference

One request, one response shape.

Every field you send and every field you get back, each with a real example.

Last verified 2026-11-05 · uptime and latency measured over 30d

Request body

JSON, posted to this endpoint.

  • handlestring

    brewhouselab

    Instagram username without the leading @.

  • cursorstring

    Pagination cursor from a previous response's nextCursor.

  • requireFieldsarray

    Optional; omit it and routing is unchanged, with the cheapest source serving. Name the output fields this request must be able to return, for example `audioId`, and it is served only by a source that returns every one of them. Fields you do not name are still returned whenever the serving source has them. This can raise your price: when the cheapest source cannot return a named field, a dearer source serves, and you are quoted and charged its price. A named field can still be absent on a post that genuinely lacks it. Naming a combination that no single source returns together is refused as invalid input, with no charge.

You send. A small JSON body. The values shown are examples to replace with your own.

Response

JSON, one example value per field.

datadata
  • nextCursorstring

    QVFEX3RhZ2dlZF9jdXJzb3JfMg==

    Opaque cursor for the next page of tagged posts, or null when this lane has no more. Pass it back as cursor to continue.

each postdata.posts[]

Posts that tag the requested account, newest first. Populated whenever the provider has data for the entity.

  • audioIdstringcan require

    Instagram audio id of the post's sound, licensed track or original audio, the audioId instagram.audio_reels takes to list other reels using it. Absent when the post has no sound. Null when the serving source does not report it.

  • authorstring

    morningpourco

    Username of the account that posted and applied the tag, without the @ prefix. Populated whenever the provider has data for the entity.

  • avatarUrlstring

    https://scontent.cdninstagram.com/v/t51.2885-19/morningpourco_profile.jpg

    URL of the posting account's profile avatar image.

  • captionstring

    Pulled a double shot at @brewhouselab this morning and it changed my whole outlook

    The post's caption text. Empty when the post has none. Populated whenever the provider has data for the entity.

  • carouselCountintegercan require

    Number of slides, present on carousel posts only. Null when the serving source does not report it.

  • commentsinteger

    63

    Number of comments on the post.

  • createdUtcnumber

    1758823800

    UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds.

  • durationSecondsnumber

    Video length in seconds, present on video posts and reels only.

  • hashtagsstring[]

    Hashtags carried in the caption, each including its leading #. Populated whenever the provider has data for the entity.

  • idstring

    3486912004417253981

    The post's numeric Instagram media ID, as a string. Populated whenever the provider has data for the entity.

  • likesinteger

    2841

    Number of likes on the post. Null when the source does not report it, including when the owner hides like counts.

  • locationIdstring

    Instagram location id the post is tagged at. Absent when the post has no location. Null when the serving source does not report it.

  • locationLatnumber

    Latitude of the tagged location, in decimal degrees. Null when the serving source does not report it.

  • locationLngnumber

    Longitude of the tagged location, in decimal degrees. Null when the serving source does not report it.

  • locationNamestring

    Name of the location the post is tagged at. Null when the serving source does not report it.

  • mentionsstring[]

    Accounts @mentioned in the caption, each including its leading @. Populated whenever the provider has data for the entity.

  • paidPartnershipboolean

    Whether the post is tagged as a paid partnership. Null when the serving source does not report it.

  • productTypestring

    Instagram's own surface label for the post, such as feed, clips or carousel_container. Null when the serving source does not report it.

  • resharesinteger

    Number of times the post has been reshared, when Instagram reports it. Null when the serving source does not report it.

  • soundAuthorstring

    Credited artist of a licensed track, or the username of the account whose original audio it is. Absent when the post has no sound. Null when the serving source does not report it.

  • soundTitlestring

    Name of the sound on a reel or a post with music. "Original audio" means the creator's own audio rather than a licensed track. Absent when the post has no sound. Null when the serving source does not report it.

  • urlstring

    https://www.instagram.com/p/C9x1QWEr8kD/

    Canonical URL of the post, with tracking query params stripped. Populated whenever the provider has data for the entity.

  • verifiedboolean

    false

    True when the posting account carries a verified badge.

  • viewsinteger

    18420

    Number of views on the post, when the upstream reports one.

each taggedUserdata.posts[].taggedUsers[]

Accounts tagged in the media. Null when the serving source does not report it.

  • displayNamestring

    Account display name.

  • userIdstring

    Instagram's numeric account id, as a string.

  • usernamestring

    Instagram username without the leading @.

top level
  • foundboolean

    true

  • reason"not_found"

    Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.

You get back. Named, typed fields in the same shape whichever source answers.

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.88 per 1,000 requests, in US dollars with no subscription and no monthly minimum. Over the last 30 days, 99.9% of Instagram tagged posts calls through AnyAPI succeeded, with a median response time of 6.2 seconds across 4,629 measured calls.

It costs from $1.88 per 1,000 requests, in US dollars with no subscription and no monthly minimum. You fund one USD wallet and each call draws it down. Some failed wallet-funded requests incur processing charges that we pass through at cost, with no markup; the error response shows the amount charged.

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, 99.9% of Instagram tagged posts calls through AnyAPI succeeded, with a median response time of 6.2 seconds across 4,629 measured calls. These are AnyAPI's own measurements of traffic through the gateway, recomputed continuously, not a published service-level target.

Yes. A new AnyAPI account starts with $0.10 of free balance and no card required, which covers 53 Instagram Tagged posts calls at $0.00188 each.

AnyAPI asks the next of its 3 sources in the same request, cheapest first, so one source going down does not fail your call.

Send a POST request to https://api.getanyapi.com/v1/run/instagram.tagged_posts with your AnyAPI key in an "Authorization: Bearer" header and the input as a JSON body. The same key and the same wallet work on every AnyAPI endpoint.

No. You add US dollars to one prepaid AnyAPI balance and each request draws it down. There is no monthly plan and no minimum, and the same balance pays for every AnyAPI endpoint.

Yes. Install @getanyapi/sdk from npm for TypeScript or getanyapi from pip for Python. Both call every AnyAPI endpoint with the same key, and any HTTP client works too.

Yes. An agent can connect to the AnyAPI MCP server at https://api.getanyapi.com/mcp, or create its own free-trial key with one unauthenticated POST to https://api.getanyapi.com/agent/signup and call this endpoint over HTTP.