Instagram API

Instagram Hashtag recent posts API

Instagram posts published under a hashtag, newest first, read from its live chronological feed rather than a web search index. Built for monitoring: results arrive within a couple of minutes of posting, so engagement counts are usually still zero and reels do not appear (Instagram keeps those on a separate tab). For engagement-ranked results use instagram.hashtag_top_posts; for older relevance-ranked results use instagram.search_hashtag.

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

#skincare hashtag on Instagram
instagram.com/explore/tags/skincare/
#

#skincare

Follow
TOPRECENT
What the API returnedposts[0]
{
"id": "3487213908652217441",
"shortcode": "C9xR2q1s0eA",
"url": "https://www.instagram.com/p/C9xR2q1s0eA/",
"caption": "Fresh routine for the week ahead, cleanser then serum then spf every single morning #skincare #skincareroutine",
"username": "glow.by.nadia",
"createdUtc": 1727481600,
"hashtags": [...],
"likes": 0,
+14 more fields
}
Uptime
99.99%
30d · 52,702 calls
Requests
52,703
30d · weekly, last 12 wks
Response
3.6s
median · 30d

Pricing and providers

Instagram Hashtag recent 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
$12.00
$1.20/1k req, only for what you use. No monthly plan.
Your first 83 requests are free with the $0.10 starting balance.

Try it

Get Instagram hashtag recent posts in one 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.
{
  "found": true,
  "data": {
    "nextCursor": "QVFDeU1qWjRhbGxpY0dGellYSjBhbTF2",
    "posts": [
      {
        "id": "3487213908652217441",
        "shortcode": "C9xR2q1s0eA",
        "url": "https://www.instagram.com/p/C9xR2q1s0eA/",
        "caption": "Fresh routine for the week ahead, cleanser then serum then spf every single morning #skincare #skincareroutine",
        "username": "glow.by.nadia",
        "createdUtc": 1727481600,
        "hashtags": [
          "#skincare",
          "#skincareroutine"
        ],
        "likes": 0,
        "comments": 0,
        "locationName": "Lisbon, Portugal",
        "locationLat": 38.7223,
        "locationLng": -9.1393,
        "userId": "58201933471",
        "displayName": "Nadia Coelho",
        "avatarUrl": "https://scontent.cdninstagram.com/v/t51.2885-19/nadia-coelho-profile.jpg",
        "verified": false,
        "private": false,
        "productType": "feed",
        "paidPartnership": false,
        "width": 1080,
        "height": 1350,
        "media": [
          {
            "type": "photo",
            "url": "https://scontent.cdninstagram.com/v/t51.29350-15/skincare-shelf-3487213908652217441.jpg"
          }
        ]
      },
      {
        "id": "3487213908652217455",
        "shortcode": "C9xR3fBsAbC",
        "url": "https://www.instagram.com/p/C9xR3fBsAbC/",
        "caption": "Ingredient breakdown: niacinamide vs vitamin C, which one goes first #skincaretips #skinsciense",
        "username": "derma.notes",
        "createdUtc": 1727481420,
        "hashtags": [
          "#skincaretips",
          "#skinsciense"
        ],
        "likes": 2,
        "comments": 0,
        "carouselCount": 4,
        "userId": "58201933512",
        "displayName": "Derma Notes",
        "avatarUrl": "https://scontent.cdninstagram.com/v/t51.2885-19/derma-notes-profile.jpg",
        "verified": true,
        "private": false,
        "productType": "carousel_container",
        "paidPartnership": false,
        "width": 1080,
        "height": 1080,
        "media": [
          {
            "type": "photo",
            "url": "https://scontent.cdninstagram.com/v/t51.29350-15/ingredient-chart-3487213908652217455.jpg"
          }
        ]
      }
    ]
  }
}

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-10-17 · uptime and latency measured over 30d

Request body

JSON, posted to this endpoint.

  • hashtagstring

    skincare

    Hashtag to monitor, without the leading #.

  • cursorstring

    Pagination cursor from a previous response's nextCursor.

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

Response

JSON, one example value per field.

  • foundboolean

    true

datadata
  • nextCursorstring

    QVFDeU1qWjRhbGxpY0dGellYSjBhbTF2

each postdata.posts[]
  • idstring

    3487213908652217441

  • shortcodestring

    C9xR2q1s0eA

  • urlstring

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

  • captionstring

    Fresh routine for the week ahead, cleanser then serum then spf every single morning #skincare #skincareroutine

  • usernamestring

    glow.by.nadia

  • createdUtcnumber

    1727481600

  • hashtags[]string

    #skincare

  • likesnumber

    0

  • commentsnumber

    0

  • locationNamestring

    Lisbon, Portugal

  • locationLatnumber

    38.7223

  • locationLngnumber

    -9.1393

  • userIdstring

    58201933471

  • displayNamestring

    Nadia Coelho

  • avatarUrlstring

    https://scontent.cdninstagram.com/v/t51.2885-19/nadia-coelho-profile.jpg

  • verifiedboolean

    false

  • privateboolean

    false

  • productTypestring

    feed

  • paidPartnershipboolean

    false

  • widthnumber

    1080

  • heightnumber

    1350

each mediadata.posts[].media[]
  • typestring

    photo

  • urlstring

    https://scontent.cdninstagram.com/v/t51.29350-15/skincare-shelf-3487213908652217441.jpg

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

FAQ

About the Instagram Hashtag recent posts API

The AnyAPI Instagram Hashtag recent posts API returns Instagram hashtag recent posts data as normalized JSON from one POST call to /v1/run/instagram.hashtag_recent_posts. Instagram posts published under a hashtag, newest first, read from its live chronological feed rather than a web search index. Built for monitoring: results arrive within a couple of minutes of posting, so engagement counts are usually still zero and reels do not appear (Instagram keeps those on a separate tab). For engagement-ranked results use instagram.hashtag_top_posts; for older relevance-ranked results use instagram.search_hashtag. AnyAPI routes each request across 3 sources and falls back automatically when one fails. It costs from $1.20 per 1,000 requests, in US dollars with no subscription and no monthly minimum. Over the last 30 days, 100.0% of Instagram hashtag recent posts calls through AnyAPI succeeded, with a median response time of 3.6 seconds across 52,702 measured calls.

It costs from $1.20 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.

Instagram posts published under a hashtag, newest first, read from its live chronological feed rather than a web search index. Built for monitoring: results arrive within a couple of minutes of posting, so engagement counts are usually still zero and reels do not appear (Instagram keeps those on a separate tab). For engagement-ranked results use instagram.hashtag_top_posts; for older relevance-ranked results use instagram.search_hashtag. 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 hashtag recent posts calls through AnyAPI succeeded, with a median response time of 3.6 seconds across 52,702 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 83 Instagram Hashtag recent posts calls at $0.0012 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.hashtag_recent_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.