100 free credits. No credit card required.Start building
Logo
Instagram logo
100 free credits. No credit card required

Instagram Search Hashtag API

Scrape Instagram Search Hashtag data with one API call. Flat 5 credits a page, and it takes no `limit` or `max_items` (both are ignored); volume is set by `type` and `max_pages`. For keyword, topic or brand discovery (posts about a phrase), use `GET /v1/instagram/search/reels?query=` instead: 1 credit a page with view counts. Use this endpoint only when you already have a specific hashtag. Returns recent public Instagram posts for a hashtag from Instagram's native hashtag feed. Each post includes shortcode, URL, caption, media URLs, engagement counts, and the author. Pass `type` to choose the ranking (`top`, `recent`, or `clips` for reels only). Only `type=recent` paginates: forward its `next_cursor` together with `type=recent` to page deeper. `top` and `clips` are one ranked page each, so they return `has_more: false` and no cursor; to cover more ground with those rankings, query more hashtags. A hashtag feed mixes photos and reels, so engagement.views is a number on the video rows and null on the photo rows. Pass `type=clips` for a reels-only page where every row carries a view count. Note: post.author.display_name is not available on this endpoint, so join on post.author.username, or pass it to /v1/instagram/profile?handle= for the name. Note: engagement.shares and engagement.saves are null on this endpoint (neither hashtag upstream carries a per-post share or save count); for a per-post share count pass a result URL to /v1/instagram/post/stats. Saves are platform-private. Instagram exposes no numeric save metric on any surface, and it is never fabricated.

Last updated October 2026Maintained by the SocialCrawl team

Returns public posts carrying a hashtag, each with shortcode, URL, caption, media URLs, engagement counts, and the author; share and save counts are not included.

Use it only for a hashtag you already have: flat 5 credits, no limit or max_items. For keyword or topic discovery use instagram/search/reels. Pick type top, recent or clips; page with cursor.

Searching 68 platforms in parallel

·TikTok logoTikTok·Instagram logoInstagram·YouTube logoYouTube·Facebook logoFacebook·X logoX·LinkedIn logoLinkedIn·Reddit logoReddit·Threads logoThreads·Pinterest logoPinterest·Twitch logoTwitch·Truth Social logoTruth Social·Snapchat logoSnapchat·Kick logoKick·Bluesky logoBluesky·Kwai logoKwai·Rumble logoRumble·Spotify logoSpotify·Apple Music logoApple Music·TikTok Shop logoTikTok Shop·Amazon Shop logoAmazon Shop·Google Shopping logoGoogle Shopping·Trustpilot logoTrustpilot·TripAdvisor logoTripAdvisor·Yelp logoYelp·Linktree logoLinktree·Komi logoKomi·Pillar logoPillar·lnk.bio logolnk.bio·Facebook Ads logoFacebook Ads·Google Ads logoGoogle Ads·LinkedIn Ads logoLinkedIn Ads·Google Search logoGoogle Search·Google News logoGoogle News·Finance logoFinance·Polymarket logoPolymarket·Tavily logoTavily·Hacker News logoHacker News·GitHub logoGitHub·Perplexity logoPerplexity·Naver logoNaver·Utility logoUtility·Universal Search logoUniversal Search
·TikTok logoTikTok·Instagram logoInstagram·YouTube logoYouTube·Facebook logoFacebook·X logoX·LinkedIn logoLinkedIn·Reddit logoReddit·Threads logoThreads·Pinterest logoPinterest·Twitch logoTwitch·Truth Social logoTruth Social·Snapchat logoSnapchat·Kick logoKick·Bluesky logoBluesky·Kwai logoKwai·Rumble logoRumble·Spotify logoSpotify·Apple Music logoApple Music·TikTok Shop logoTikTok Shop·Amazon Shop logoAmazon Shop·Google Shopping logoGoogle Shopping·Trustpilot logoTrustpilot·TripAdvisor logoTripAdvisor·Yelp logoYelp·Linktree logoLinktree·Komi logoKomi·Pillar logoPillar·lnk.bio logolnk.bio·Facebook Ads logoFacebook Ads·Google Ads logoGoogle Ads·LinkedIn Ads logoLinkedIn Ads·Google Search logoGoogle Search·Google News logoGoogle News·Finance logoFinance·Polymarket logoPolymarket·Tavily logoTavily·Hacker News logoHacker News·GitHub logoGitHub·Perplexity logoPerplexity·Naver logoNaver·Utility logoUtility·Universal Search logoUniversal Search
·TikTok logoTikTok·Instagram logoInstagram·YouTube logoYouTube·Facebook logoFacebook·X logoX·LinkedIn logoLinkedIn·Reddit logoReddit·Threads logoThreads·Pinterest logoPinterest·Twitch logoTwitch·Truth Social logoTruth Social·Snapchat logoSnapchat·Kick logoKick·Bluesky logoBluesky·Kwai logoKwai·Rumble logoRumble·Spotify logoSpotify·Apple Music logoApple Music·TikTok Shop logoTikTok Shop·Amazon Shop logoAmazon Shop·Google Shopping logoGoogle Shopping·Trustpilot logoTrustpilot·TripAdvisor logoTripAdvisor·Yelp logoYelp·Linktree logoLinktree·Komi logoKomi·Pillar logoPillar·lnk.bio logolnk.bio·Facebook Ads logoFacebook Ads·Google Ads logoGoogle Ads·LinkedIn Ads logoLinkedIn Ads·Google Search logoGoogle Search·Google News logoGoogle News·Finance logoFinance·Polymarket logoPolymarket·Tavily logoTavily·Hacker News logoHacker News·GitHub logoGitHub·Perplexity logoPerplexity·Naver logoNaver·Utility logoUtility·Universal Search logoUniversal Search
·TikTok logoTikTok·Instagram logoInstagram·YouTube logoYouTube·Facebook logoFacebook·X logoX·LinkedIn logoLinkedIn·Reddit logoReddit·Threads logoThreads·Pinterest logoPinterest·Twitch logoTwitch·Truth Social logoTruth Social·Snapchat logoSnapchat·Kick logoKick·Bluesky logoBluesky·Kwai logoKwai·Rumble logoRumble·Spotify logoSpotify·Apple Music logoApple Music·TikTok Shop logoTikTok Shop·Amazon Shop logoAmazon Shop·Google Shopping logoGoogle Shopping·Trustpilot logoTrustpilot·TripAdvisor logoTripAdvisor·Yelp logoYelp·Linktree logoLinktree·Komi logoKomi·Pillar logoPillar·lnk.bio logolnk.bio·Facebook Ads logoFacebook Ads·Google Ads logoGoogle Ads·LinkedIn Ads logoLinkedIn Ads·Google Search logoGoogle Search·Google News logoGoogle News·Finance logoFinance·Polymarket logoPolymarket·Tavily logoTavily·Hacker News logoHacker News·GitHub logoGitHub·Perplexity logoPerplexity·Naver logoNaver·Utility logoUtility·Universal Search logoUniversal Search
Instagram API

What can you do with the Search Hashtag API?

The Search Hashtag endpoint gives you structured Instagram data with computed fields in a single request. No scraping infrastructure to build or maintain.

Example Request

curl -H "x-api-key: YOUR_API_KEY" \
  "https://www.socialcrawl.dev/v1/instagram/search/hashtag?hashtag=makeup"
import requests

response = requests.get(
    "https://www.socialcrawl.dev/v1/instagram/search/hashtag",
    params={
    'hashtag': 'makeup',
    },
    headers={"x-api-key": "YOUR_API_KEY"},
)

data = response.json()
const response = await fetch(
  "https://www.socialcrawl.dev/v1/instagram/search/hashtag?hashtag=makeup",
  {
    headers: { "x-api-key": "YOUR_API_KEY" },
  },
);

const data = await response.json();

Parameters

ParameterRequiredDescription
hashtagYesThe hashtag to search for. The leading # is optional.
typeNoRanking of the returned posts: `top` (default), `recent`, or `clips` (reels only). Only `recent` pages: `top` and `clips` are one ranked page each and return `has_more: false`. (top | recent | clips)
cursorNoPagination cursor for `type=recent` only. Use the `next_cursor` from the previous response and send the same `type` again. `top` and `clips` return no cursor.
safe_urlNoWhen true, returns URL-safe media links suitable for embedding.
sinceNoOnly rows published on or after this date: YYYY-MM-DD (midnight UTC) or an ISO 8601 timestamp. Rows older than it are left off each page. This list is not in date order, so the walk does not stop at the date: keep following `next_cursor`, and each page costs what a page costs even when every row on it is filtered out. A row with no date is kept. `published_after`, `start_date`, `from_date`, `publish_time` (`yesterday`, `this-week`, `this-month`, `last-3-months`, `last-6-months`) and `max_age_days` are accepted and applied as `since`.
untilNoOnly rows published on or before this date: YYYY-MM-DD (that whole UTC day is included) or an ISO 8601 timestamp. Newer rows are left off each page and the walk does not stop, so older pages follow. A row with no date is kept. `published_before`, `end_date` and `to_date` are accepted and applied as `until`.
min_viewsNoKeep only rows with at least this many views (`post.engagement.views`). A row whose view count is unknown is discarded, so every returned row meets the floor. Filtering runs on our side after each page is fetched, so every page walked is billed as usual; `data.walk.discarded` counts what was removed and why.
max_age_daysNoKeep only rows published within this many days (`post.published_at`), 1 to 3650. A row with no date is discarded. Filtering runs on our side after each page is fetched, so every page walked is billed as usual; `data.walk.discarded` counts what was removed and why.
sort_rowsNo`views`: return the kept rows ordered by view count, highest first, across every page walked. Rows without a view count go last. (views)
max_pagesNo1 to 5 (default 1). Walk up to this many pages in one call and return the rows from all of them (after any filter). Each page walked is billed exactly as one call to this endpoint (a cached page is free) and counts against your rate limit. The walk stops early at the last page, or when the request's time budget runs low; `data.walk.stopped` says why (`end`, `max_pages`, `time_budget`, `page_error`) and `data.next_cursor` continues from where it stopped.
seenNoAn id you choose (1 to 64 letters, digits, `.`, `_` or `-`). Rows your account already received under the same `seen` id are removed from the page, and the page price falls with the share of repeats: page credits x new rows / rows on the page, rounded up, so a page of nothing but repeats is free. Only the page's own price is discounted: credits for joined data (`include=`) are charged only for rows you have not received, and are never discounted. The memory lasts 24 hours from the last call that used the id, holds row ids only, and is private to your account. Use one id across a set of related searches; `data.walk.repeats` counts what was removed.
Example Response

What does the Instagram Search Hashtag API return?

Every response follows one unified schema. Here is a real, unmodified response body, so you can see the exact fields you get back before spending a credit.

Example response
{
  "success": true,
  "platform": "instagram",
  "endpoint": "/v1/instagram/search/hashtag",
  "data": {
    "items": [
      {
        "post": {
          "id": "3998350771829297052",
          "url": "https://www.instagram.com/reel/Dd8_tfCS0-c/",
          "content": {
            "text": "Sample comment text (redacted).",
            "media_urls": "https://instagram.fkiv8-1.fna.fbcdn.net/o1/v/t2/f2/m86/AQNXPl0G7EUHNskHsVgpSKe81MtQ17ivavBXvNF9pJgsGr3MVGsB8KBzVP8hv4JFnExfQi8g6EE_wBu1p07wSnrlCXJ6VwfVKarorLk.mp4?_nc_cat=101&_nc_oc=AdopBMfdA8V74wg4oJX7NmAUSO8-W7aCgndQXFL2jDw5w8ajZDO41ALsG-pgPOeGphw&_nc_sid=5e9851&_nc_ht=instagram.fkiv8-1.fna.fbcdn.net&_nc_ohc=_A2lIC1CZnwQ7kNvwEOLJEM&efg=eyJ2ZW5jb2RlX3RhZyI6Inhwdl9wcm9ncmVzc2l2ZS5JTlNUQUdSQU0uQ0xJUFMuQzMuNzIwLmRhc2hfYmFzZWxpbmVfMV92MSIsInhwdl9hc3NldF9pZCI6MjE2ODcyOTQ1MDY5MzEzOCwiYXNzZXRfYWdlX2RheXMiOjAsInZpX3VzZWNhc2VfaWQiOjEwMDk5LCJkdXJhdGlvbl9zIjoxNywidXJsZ2VuX3NvdXJjZSI6Ind3dyJ9&ccb=17-1&vs=88eb515386baff01&_nc_vs=HBksFQIYUmlnX3hwdl9yZWVsc19wZXJtYW5lbnRfc3JfcHJvZC84N0RGOTkyNzYxQjU0RTQ2OUJBNTVDQkI1QzE5QTU2Ql92aWRlb19kYXNoaW5pdC5tcDQVAALIARIAFQIYUWlnX3hwdl9wbGFjZW1lbnRfcGVybWFuZW50X3YyLzZEMTM2RUNBQjBFNzRBNDg4NzRENzE4RjRGOUQ1M0Y2X2F1ZGlvX2Rhc2hpbml0Lm1wNBUCAsgBEgAoABgAGwKIB3VzZV9vaWwBMRJwcm9ncmVzc2l2ZV9yZWNpcGUBMRUAACakiK7I1ZzaBxUCKAJDMywXQDHMzMzMzM0YEmRhc2hfYmFzZWxpbmVfMV92MREAdf4HZeadAQA&_nc_gid=PN6gW5al852s8Tp9W-f7Rw&_nc_ss=7a3ba&_nc_map=urlgen_bucketless&_nc_zt=28&oh=00_AQNR0XjiHgOLgFdcbYQxPNP9WIyqn-wekapUqmL5kLzJQg&oe=6AC15132",
            "thumbnail_url": "https://instagram.fkiv8-1.fna.fbcdn.net/v/t51.82787-15/829123155_18091289087667107_1371823688893101614_n.jpg?stp=dst-jpg_e15_p480x480_tt6&_nc_cat=109&_nc_map=urlgen_bucketless&ig_cache_key=Mzk5ODM1MDc3MTgyOTI5NzA1MjE4MDkxMjg5MDg0NjY3MTA3.3-ccb7-5&ccb=7-5&_nc_sid=58cdad&efg=eyJ2ZW5jb2RlX3RhZyI6IkNMSVBTLnhwaWRzLjcyMC5zZHIudmlkZW9fdXNlcl9zZWxlY3RlZF90aHVtYm5haWwuQzMifQ%3D%3D&_nc_ohc=8uJEHkk0F5IQ7kNvwHyci9t&_nc_oc=Adqy1IBGshxwlNjgfFJQk3nTSII4sMnypPLZBo7tqAQj5q6HPLBVzvEq_5JdsjKP55g&_nc_ad=z-m&_nc_cid=1396&_nc_zt=23&_nc_ht=instagram.fkiv8-1.fna&_nc_gid=PN6gW5al852s8Tp9W-f7Rw&_nc_ss=7a3ba&oh=00_AQNp2T_ClvkivIaOL6JrcPBZcK7GNpLPRqo60mb_3hGvwg&oe=6AC516CE",
            "duration_seconds": 17.808
          },
          "author": {
            "username": "user_eab41e",
            "display_name": null,
            "avatar_url": "https://example.com/avatars/user_55156a.png",
            "verified": false
          },
          "engagement": {
            "views": 11098,
            "likes": 1071,
            "comments": 11,
            "shares": null,
            "saves": null
          },
          "flags": {
            "nsfw": null,
            "spoiler": null,
            "pinned": false,
            "deleted": false
          },
          "published_at": "2026-10-01T13:18:05.000Z",
          "ext": {
            "media_type": "video",
            "published_at_epoch": 1790860685,
            "coauthors": []
          }
        },
        "computed": {
          "engagement_rate": 0.097495,
          "language": "th",
          "content_category": "other",
          "estimated_reach": 13318
        }
      },
      {
        "post": {
          "id": "3998504631129285200",
          "url": "https://www.instagram.com/reel/Dd9isbrNyJQ/",
          "content": {
            "text": "Sample comment text (redacted). Sample comment text (redacted). Sample comment text (redacted). Sample comment text (redacted). Sample comment text (redacted). Sample comment text (redacted). Sample comment text (redacted). Sample comment text (redacted). Sample comment text (redacted). Sample comment text (redacted). Sample comment text (redacted). Sample comment text (redacted). Sample comment text (redacted). Sample comment text (redacted).",
            "media_urls": "https://instagram.fkiv8-1.fna.fbcdn.net/o1/v/t2/f2/m86/AQO4Ndfc2CyR3NYTD2vyMVc5Fw2FIqeIZLhdYGYL44e6bcEA5EisuuABZ6rQLTPvvkLrsUljbag6lxyHeDUEeBj4hK3B90ZfXfAMa1E.mp4?_nc_cat=101&_nc_oc=AdpWpTfzjebRepxXh7-9Tf9XfRAwx7v9K6k1UJA639oViwBy5RgPl1gI-j9bvJktY6U&_nc_sid=5e9851&_nc_ht=instagram.fkiv8-1.fna.fbcdn.net&_nc_ohc=jhFbgiQU75oQ7kNvwHIkjMU&efg=eyJ2ZW5jb2RlX3RhZyI6Inhwdl9wcm9ncmVzc2l2ZS5JTlNUQUdSQU0uQ0xJUFMuQzMuNzIwLmRhc2hfYmFzZWxpbmVfMV92MSIsInhwdl9hc3NldF9pZCI6MTc0MzcyMzY0MzU1MzYwOSwiYXNzZXRfYWdlX2RheXMiOjAsInZpX3VzZWNhc2VfaWQiOjEwMDk5LCJkdXJhdGlvbl9zIjoyMiwidXJsZ2VuX3NvdXJjZSI6Ind3dyJ9&ccb=17-1&vs=3fed09f2d01e05fb&_nc_vs=HBksFQIYUmlnX3hwdl9yZWVsc19wZXJtYW5lbnRfc3JfcHJvZC8wNTFGMzI5QTVDQjE0NUEzODYzODA3MzEwNkU3MkMzQV92aWRlb19kYXNoaW5pdC5tcDQVAALIARIAFQIYUWlnX3hwdl9wbGFjZW1lbnRfcGVybWFuZW50X3YyLzZEMDI1RTZEMUY0RDRFMkFCNkQxOENGREYzRjY0REE3X2F1ZGlvX2Rhc2hpbml0Lm1wNBUCAsgBEgAoABgAGwKIB3VzZV9vaWwBMRJwcm9ncmVzc2l2ZV9yZWNpcGUBMRUAACaSneLFifqYBhUCKAJDMywXQDbu2RaHKwIYEmRhc2hfYmFzZWxpbmVfMV92MREAdf4HZeadAQA&_nc_gid=PN6gW5al852s8Tp9W-f7Rw&_nc_ss=7a3ba&_nc_map=urlgen_bucketless&_nc_zt=28&oh=00_AQPgarCNPhPBREE3pBgXP24xCiG6wa4TMpvnsF5io8DwGA&oe=6AC1419A",
            "thumbnail_url": "https://instagram.fkiv8-1.fna.fbcdn.net/v/t51.71878-15/829710993_956857563565456_3089849406617576568_n.jpg?stp=dst-jpg_e15_p480x480_tt6&_nc_cat=102&_nc_map=urlgen_bucketless&ig_cache_key=Mzk5ODUwNDYzMTEyOTI4NTIwMDE3NDM3MjQwOTM1NTM1NjQ%3D.3-ccb7-5&ccb=7-5&_nc_sid=58cdad&efg=eyJ2ZW5jb2RlX3RhZyI6IkNMSVBTLnhwaWRzLjY0MC5zZHIudmlkZW9fdXNlcl9zZWxlY3RlZF90aHVtYm5haWwuQzMifQ%3D%3D&_nc_ohc=P8mKqdf4RPMQ7kNvwH2HuX9&_nc_oc=AdpFVtKO8-Rte7gVAghqpdY-8CIzJS8ZdH8aV-rhNCgWbsmwxLe8vYVkyXO36gjyuKk&_nc_ad=z-m&_nc_cid=1396&_nc_zt=23&_nc_ht=instagram.fkiv8-1.fna&_nc_gid=PN6gW5al852s8Tp9W-f7Rw&_nc_ss=7a3ba&oh=00_AQM_g3ellaekYVnmfcwTFGQcG0wgduh3DgGHU2DDGYflOA&oe=6AC538F9",
            "duration_seconds": 22.987
          },
          "author": {
            "username": "user_62636d",
            "display_name": null,
            "avatar_url": "https://example.com/avatars/user_812be1.png",
            "verified": false
          },
          "engagement": {
            "views": 2641,
            "likes": 1249,
            "comments": 10,
            "shares": null,
            "saves": null
          },
          "flags": {
            "nsfw": null,
            "spoiler": null,
            "pinned": false,
            "deleted": false
          },
          "published_at": "2026-10-01T18:22:26.000Z",
          "ext": {
            "media_type": "video",
            "published_at_epoch": 1790878946,
            "coauthors": []
          }
        },
        "computed": {
          "engagement_rate": 0.476713,
          "language": "es",
          "content_category": "other",
          "estimated_reach": 3169
        }
      }
    ],
    "total": null,
    "dropped": 0
  },
  "credits_used": 5,
  "request_id": "req_example000000",
  "cached": false,
  "pagination": {
    "next_cursor": null,
    "has_more": false,
    "page_size": 28
  },
  "credits_remaining": 9999,
  "source": "captured",
  "captured_at": "2026-10-02T07:28:31.750Z",
  "redacted": true
}

Live sample illustrating the unified response shape. Field values reflect the record you query.

API Details

How does the Instagram Search Hashtag API work?

Send a GET request with your API key and get back clean, structured JSON in our unified schema. Supported computed fields are populated when the source provides the required inputs.

Method

GET

Response

JSON

Why SocialCrawl

Why use SocialCrawl for Instagram Search Hashtag data?

We handle the complexity of Instagram data extraction so you can focus on building. Unified schema, AI enrichment, and zero platform logic in your code.

Developer First

How do you scrape social media data in seconds?

The fastest social media scraping API for developers. Scrape profiles, posts, comments, and analytics from 68 platforms covering 10B+ monthly active users.

One schema, every platform

Query 68 platforms with identical response structures. Write your integration once.

Computed fields, not just scraped

When an endpoint supports these metrics and the source provides the required inputs, the normalized record includes engagement_rate, estimated_reach, content_category, and language. Ready to use.

See your data before you code

Visual Data Explorer. Paste any URL, get rich result cards, sortable tables, CSV export.

import requests

response = requests.get(
    'https://www.socialcrawl.dev/v1/tiktok/profile',
    params={'handle': 'charlidamelio'},
    headers={'x-api-key': 'sc_YOUR_API_KEY'}
)
data = response.json()
[ .JSON ]
{
  "success": true,
  "platform": "tiktok",
  "data": {
    "author": {
      "username": "charlidamelio",
      "followers": 152400000
    },
    "engagement": {
      "likes": 12400000000,
      "engagement_rate": 0.087
    },
    "metadata": {
      "language": "en",
      "content_category": "lifestyle"
    }
  }
}
+ 68 platforms
FAQ

Have a question? We got answers

Find answers to frequently asked questions about SocialCrawl's API, pricing, and capabilities.

Contact us
How do I get Instagram posts for a hashtag with an API?
Send a GET request to /v1/instagram/search/hashtag with the hashtag parameter (no # needed). SocialCrawl returns a JSON array of recent public posts including shortcode, url, caption, media URLs, engagement counts, and author.
Can I get only top posts or reels for a hashtag?
Yes. Pass the type parameter set to top for top posts, recent for the latest feed, or clips to return reels only for that hashtag.
How do I page through more hashtag posts?
Each response includes a cursor. Pass it back as the cursor parameter on your next request to fetch the following page of posts for the same hashtag.
Do I need the Instagram Graph API for hashtag search?
No. There is no Graph API app review, Facebook Business verification, or OAuth. You authenticate with a single x-api-key header and call the endpoint directly.
How much does the Instagram Hashtag API cost?
Hashtag search is an advanced endpoint at 5 credits per request, charged per page returned. New accounts get 100 free credits, so you can run around 20 requests before topping up.

Ask AI about SocialCrawl

Ready to scrape Instagram Search Hashtag data?

Get your API key and start pulling Instagram data in under 60 seconds.

Start for free

🤖 AI agent or LLM? Read this page as markdown