Instagram Search Hashtag API
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.
GET /v1/instagram/search/hashtagLast updated December 2026Maintained by the SocialCrawl team
When to use the Instagram Search Hashtag API
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.
Not for keyword or topic discovery or a free text phrase (instagram/search/reels), accounts (instagram/search/profiles) or share counts (video posts) at instagram/post/stats.
From the API reference
1 credit a page (plus 1 per reel whose view count include=engagement filled, and 1 per creator with include=country). For keyword, topic or brand discovery (posts about a phrase), use GET /v1/instagram/search/reels?query= instead. Use this endpoint when you already have a specific hashtag. For the hashtag's exact post count, call /v1/instagram/hashtag?hashtag=<tag> (1 credit). Rows carry Instagram's own share count (post.engagement.shares), repost count (post.ext.repost_count) and remix count (post.ext.remix_count) when the source that answered sends them; on a page from a source that does not, they are null and data._warnings says so. Returns 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). All three rankings paginate: pass pagination.next_cursor back as cursor with the same type to page deeper. Instagram closed its hashtag Recent tab on 10/11/2026, so no ranking is in date order any more: top and recent page through the posts and reels Instagram ranks for the tag, clips through its reels, and the walk ends when Instagram has no more (has_more: false). To keep only recent posts, send since: it drops older rows from each page and the walk goes on, so follow next_cursor to the end. Add sort_rows=newest with max_items to get the posts a call collects newest first. Instagram sometimes returns an empty page partway through a feed. That page has no rows, costs no credits and says has_more: true, so keep paging with its next_cursor. Three in a row at one position end the walk with has_more: false. Instagram's own post count (instagram/hashtag) counts every post ever tagged, and its feeds expose only part of that, so a walk ends well before that number on a large tag. To get many pages in one call, send max_items (up to 5000) or max_pages (up to 50), each page billed at 1 credit, with max_credits to cap the spend. A hashtag feed mixes photos and reels. Since Instagram's change on 10/11/2026 its hashtag pages carry no view count, share count or duration, so post.engagement.views, post.engagement.shares, post.content.duration_seconds and computed.engagement_rate are null on a plain call. Send include=engagement and each reel is joined, in the same call, to the per-post lookup that carries them: the views, the duration and the share count land on every reel it can read, and computed.engagement_rate is worked out from them. Photos and carousels have no view count on Instagram, so they are never looked up and never charged. It costs 1 credit per reel whose view count was filled from a fresh lookup (30 at most, so 31 credits at most for the page); a reel that came back with a duration or a share count but no view count is not charged, reels already in cache are free, reels that could not be filled are refunded, and a repeat of the same call within the cache window costs 0. It adds about 3 to 7 seconds on a fresh page (the lookups run in parallel and the call waits for the slowest, never more than 12 seconds), and the cursor and the walk are the same as on a plain call. The response carries a hydration block itemising rows, lookups, cache hits, credits and milliseconds. Pass type=clips for a reels-only page. 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.saves is not returned on this endpoint, and engagement.shares only with include=engagement. Saves are platform-private. Instagram exposes no numeric save metric on any surface, and it is never fabricated. A reel row carries Instagram's own caption file in post.ext.subtitles_url (a signed .srt link that expires like media_urls), with post.ext.subtitles_locale and post.ext.spoken_language, when the answering source carries them; otherwise they are null and named on data._warnings. Each row also carries Instagram's paid-partnership flag (post.ext.sponsored_disclosed), the brand accounts it tags as paid partners (post.ext.sponsor_tags; [] means no paid partner; null means a paid partnership whose partners the record does not name) and its AI-content label (post.ext.ai_label, for example none) on the same terms. On a reel also posted to Facebook, engagement.views can include its Facebook views: post.ext.instagram_views is the Instagram-only figure, the same on every Instagram endpoint, and post.ext.facebook_views is the Facebook part when the source reports it. post.ext.aspect_ratio is the media's width divided by its height (0.5625 is 9:16), the same whichever source answered, null when no size was sent.
95 platforms behind one 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
# GET /v1/instagram/search/hashtag: Metered: holds 1 credit per page up front and refunds what the call does not use. Cache hits are free and failed calls are refunded.
# Check the price first for 0 credits: add dry_run=1 to the query. Nothing is fetched or charged.
# --max-time 22: this endpoint's measured p99 latency x 1.5.
# --retry 3: retries timeouts, 429 and 5xx, honoring Retry-After.
# -o response.json keeps only the final attempt's body.
# One Idempotency-Key per request, reused on every retry, so a retried call is never charged twice.
# Next page: send pagination.next_cursor back as cursor until pagination.has_more is false.
IDEMPOTENCY_KEY=$(od -An -N16 -tx1 /dev/urandom | tr -d ' \n')
curl -sS --max-time 22 --retry 3 -o response.json \
-H "x-api-key: YOUR_API_KEY" \
-H "Idempotency-Key: $IDEMPOTENCY_KEY" \
"https://www.socialcrawl.dev/v1/instagram/search/hashtag?hashtag=makeup" && cat response.json# GET /v1/instagram/search/hashtag: Metered: holds 1 credit per page up front and refunds what the call does not use. Cache hits are free and failed calls are refunded.
# Check the price first for 0 credits: add dry_run=1 to the query. Nothing is fetched or charged.
import os
import random
import time
import uuid
import requests
API_KEY = os.environ.get("SOCIALCRAWL_API_KEY", "YOUR_API_KEY")
TIMEOUT_S = 22 # this endpoint's measured p99 latency x 1.5.
MAX_RETRIES = 3
URL = "https://www.socialcrawl.dev/v1/instagram/search/hashtag"
def backoff(attempt):
# Exponential backoff with jitter: about 1 s, 2 s, then 4 s.
return 2 ** attempt * (0.5 + random.random() / 2)
def socialcrawl(params):
# One Idempotency-Key per request, reused on every retry, so a retried call is never charged twice.
idempotency_key = str(uuid.uuid4())
for attempt in range(MAX_RETRIES + 1):
try:
res = requests.get(
URL,
params=params,
headers={"x-api-key": API_KEY, "Idempotency-Key": idempotency_key},
timeout=TIMEOUT_S,
)
body = res.json()
except (requests.RequestException, ValueError):
# A timeout, a dropped connection or a non-JSON gateway page: retry with the same key.
if attempt == MAX_RETRIES:
raise
time.sleep(backoff(attempt))
continue
if body["success"]:
return body
error = body["error"]
# Branch on error["type"], never on the message text.
if error["type"] == "RESOURCE_NOT_FOUND":
return None # refunded: nothing to read
retry_after = res.headers.get("Retry-After")
# SERVICE_UNAVAILABLE without Retry-After is a withdrawn endpoint: permanent.
permanent = error["type"] == "SERVICE_UNAVAILABLE" and retry_after is None
if not error.get("retryable") or permanent or attempt == MAX_RETRIES:
raise RuntimeError(f"{error['type']}: {error['message']} (request_id {body['request_id']})")
# Retry-After (seconds) wins; otherwise back off.
time.sleep(float(retry_after) if retry_after else backoff(attempt))
params = {
"hashtag": "makeup",
}
# Walk the list: send pagination.next_cursor back as cursor until has_more is false.
MAX_PAGES = 10 # each page is one call
items = []
for _ in range(MAX_PAGES):
body = socialcrawl(params)
if body is None:
break
items.extend(body["data"]["items"])
page = body.get("pagination") or {}
if not page.get("has_more") or not page.get("next_cursor"):
break
params["cursor"] = page["next_cursor"]
print(f"{len(items)} items")// GET /v1/instagram/search/hashtag: Metered: holds 1 credit per page up front and refunds what the call does not use. Cache hits are free and failed calls are refunded.
// Check the price first for 0 credits: add dry_run=1 to the query. Nothing is fetched or charged.
const API_KEY = process.env.SOCIALCRAWL_API_KEY ?? "YOUR_API_KEY";
const TIMEOUT_MS = 22_000; // this endpoint's measured p99 latency x 1.5.
const MAX_RETRIES = 3;
type Page = { next_cursor: string | null; has_more: boolean };
type SocialCrawlResponse =
| { success: true; data: any; pagination?: Page; credits_used: number; request_id: string }
| { success: false; error: { type: string; message: string; retryable: boolean }; request_id: string };
const sleep = (ms: number) => new Promise((resolve) => setTimeout(resolve, ms));
// Exponential backoff with jitter: about 1 s, 2 s, then 4 s.
const backoffMs = (attempt: number) => 2 ** attempt * 1000 * (0.5 + Math.random() / 2);
async function socialcrawl(url: URL) {
// One Idempotency-Key per request, reused on every retry, so a retried call is never charged twice.
const idempotencyKey = crypto.randomUUID();
for (let attempt = 0; ; attempt++) {
let res: Response;
let body: SocialCrawlResponse;
try {
res = await fetch(url, {
headers: {
"x-api-key": API_KEY,
"Idempotency-Key": idempotencyKey,
},
signal: AbortSignal.timeout(TIMEOUT_MS),
});
body = (await res.json()) as SocialCrawlResponse;
} catch (error) {
// A timeout, a dropped connection or a non-JSON gateway page: retry with the same key.
if (attempt >= MAX_RETRIES) throw error;
await sleep(backoffMs(attempt));
continue;
}
if (body.success) return body;
// Branch on error.type, never on the message text.
if (body.error.type === "RESOURCE_NOT_FOUND") return null; // refunded: nothing to read
const retryAfter = res.headers.get("Retry-After");
// SERVICE_UNAVAILABLE without Retry-After is a withdrawn endpoint: permanent.
const permanent = body.error.type === "SERVICE_UNAVAILABLE" && retryAfter === null;
if (!body.error.retryable || permanent || attempt >= MAX_RETRIES) {
throw new Error(`${body.error.type}: ${body.error.message} (request_id ${body.request_id})`);
}
// Retry-After (seconds) wins; otherwise back off.
await sleep(retryAfter ? Number(retryAfter) * 1000 : backoffMs(attempt));
}
}
const url = new URL("https://www.socialcrawl.dev/v1/instagram/search/hashtag");
url.searchParams.set("hashtag", "makeup");
// Walk the list: send pagination.next_cursor back as cursor until has_more is false.
const MAX_PAGES = 10; // each page is one call
const items: unknown[] = [];
for (let page = 0; page < MAX_PAGES; page++) {
const body = await socialcrawl(url);
if (!body) break;
items.push(...body.data.items);
const next = body.pagination?.next_cursor;
if (!body.pagination?.has_more || !next) break;
url.searchParams.set("cursor", next);
}
console.log(`${items.length} items`);Call GET https://www.socialcrawl.dev/v1/instagram/search/hashtag from this project.
Request:
- Query parameters:
- hashtag: makeup
- Header x-api-key: read the key from the SOCIALCRAWL_API_KEY environment variable. Never hard-code it, commit it or put it in a URL.
- Header Idempotency-Key: a fresh UUID per request, reused on every retry of that request, so a retried call is never charged twice.
- Client timeout: 22 seconds per attempt (this endpoint's measured p99 latency x 1.5).
Price: Metered: holds 1 credit per page up front and refunds what the call does not use. Cache hits are free and failed calls are refunded. Check the price first for 0 credits: add dry_run=1 to the query. Nothing is fetched or charged.
Response:
- Success: { success: true, data, credits_used, credits_remaining, request_id, cached }.
- This is a list: read data.items, then send pagination.next_cursor back as the cursor query parameter until pagination.has_more is false. Each page is one call.
- Failure: { success: false, error: { type, message, retryable }, request_id }. Branch on error.type, never on the message text.
- RESOURCE_NOT_FOUND means the target does not exist. It is refunded, so treat it as an empty result.
- Retry only when error.retryable is true, at most 3 times: wait Retry-After seconds when the header is present, otherwise back off exponentially with jitter. A SERVICE_UNAVAILABLE without Retry-After is a withdrawn endpoint, so do not retry it. Retry a timed-out attempt with the same Idempotency-Key.
Before writing code, read this endpoint's live contract (0 credits):
GET https://www.socialcrawl.dev/v1/utility/endpoint?id=instagram/search/hashtagParameters
| Parameter | Required | Description |
|---|---|---|
| hashtag | Yes | The hashtag to search for. The leading # is optional. |
| type | No | Ranking of the returned posts: `top` (default), `recent`, or `clips` (reels only). Every ranking paginates. Instagram closed its hashtag Recent tab on 10/11/2026, so `recent` returns the same relevance-ranked feed as `top`, not posts in date order. Use `since` to keep recent posts. (top | recent | clips) |
| cursor | No | Pagination cursor. Use the `next_cursor` from the previous response and send the same `type` again. |
| safe_url | No | When true, returns URL-safe media links suitable for embedding. |
| include | No | Send `country` to add each post's creator country as `post.ext.author_country`: the country the creator declares on Instagram's About this account panel, not where the post was filmed, and null when the creator publishes none. Every row carries the creator's numeric id as `post.ext.author_id`, which is what it is read by. 1 extra credit per creator whose country came back; two posts by one creator cost one lookup, a creator looked up in the last 30 days is free, and a creator who publishes none or cannot be found is refunded. Send `engagement` to fill `post.engagement.views`, `post.engagement.shares` and `post.content.duration_seconds` on every reel in this one call, with `computed.engagement_rate` worked out from them: it holds 1 credit per reel (at most 30) and keeps only the reels whose view count was filled from a fresh lookup, so photos and carousels (never looked up), reels already in cache, reels that came back without a view count and reels that could not be filled are refunded; read `data.hydration` for the rows, the credits held and kept, and the time. Send `engagement,country` for both: each is held and refunded on its own rows. A typo is a free 400. |
| since | No | Only 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`. |
| until | No | Only 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_views | No | Keep 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. Each page is its own entry in `GET /v1/credits/transactions`, under the page's request id listed in `data.walk.request_ids`. |
| max_age_days | No | Keep 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. Each page is its own entry in `GET /v1/credits/transactions`, under the page's request id listed in `data.walk.request_ids`. |
| sort_rows | No | `views`: orders the kept rows by view count, highest first. Rows without a view count go last. `newest`: orders the kept rows by publish date, newest first. Rows without a date go last. The sort covers only the rows this call collected over the pages it walked, not the whole feed. Every collected row is returned. A call that resumes from `pagination.next_cursor` sorts its own rows and does not merge them with the earlier ones. `data.walk.sorted` states this as `scope: "collected_rows"`. (views | newest) |
| max_pages | No | 1 to 50 (default 1, or 50 when `max_items` or `max_credits` is sent). 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; its charge and any refund are recorded under the page's own request id, listed in `data.walk.request_ids`, and carry this call's own request id as `walk_request_id`, so `GET /v1/credits/transactions?request_id=` with this call's id returns every page's rows. 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`, `max_items`, `max_credits`, `time_budget`, `page_error`) and `pagination.next_cursor` continues from where it stopped. |
| max_items | No | 1 to 5000. Get more in one call: keep walking pages until the response holds at least this many rows (after any filter), then stop with `data.walk.stopped: "max_items"`. The last page is returned whole (it was billed), so `data.items` can hold up to one page more than this, and `pagination.next_cursor` resumes right after it without skipping a row. Walks up to 50 pages unless `max_pages` says fewer; each page is billed as one call (a cached page is free). Add `max_credits` to cap the spend. A long walk can stop on the time budget first (`"time_budget"`): send the returned cursor with the same params to continue. |
| max_credits | No | 1 to 100000. The most this call may spend, across every page it walks. A page starts only while the credits already spent plus that page's price (or, when higher, the most any page of this walk has cost) still fit, so the call never goes past it; the walk then stops with `data.walk.stopped: "max_credits"` and the cursor to resume. Sent alone, it walks as far as the budget goes (up to 50 pages). A value below the price of one page is a free 400 whose `error.details.page_credits` names that price. Credits a row join (`include=`) adds are known only once a page has run, so page 1 is checked against its own price. |
| seen | No | An 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. |
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.
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
How do you scrape social media data in seconds?
The fastest social media scraping API for developers. Scrape profiles, posts, comments, and analytics from 95 platforms covering 10B+ monthly active users.
One schema, every platform
Query 95 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(){
"success": true,
"platform": "tiktok",
"data": {
"author": {
"username": "charlidamelio",
"followers": 152400000
},
"engagement": {
"likes": 12400000000,
"engagement_rate": 0.087
},
"metadata": {
"language": "en",
"content_category": "lifestyle"
}
}
}Have a question? We got answers
Find answers to frequently asked questions about SocialCrawl's API, pricing, and capabilities.
Contact usHow do I get Instagram posts for a hashtag with an API?
Can I get only top posts or reels for a hashtag?
How do I page through more hashtag posts?
Do I need the Instagram Graph API for hashtag search?
How much does the Instagram Hashtag API cost?
Ask AI about SocialCrawl
Ready to scrape Instagram Search Hashtag data?
Get your API key and start pulling Instagram data in under 60 seconds.
