TikTok
GET /v1/tiktok/search/hashtag

TikTok Search by Hashtag API

Videos from TikTok's /tag/{name} challenge feed — not keyword or username search. Cursor + hasMore.

~14 credits (0.7/result) per request
TL;DR
Videos from TikTok's /tag/{name} challenge feed — not keyword or username search. Cursor + hasMore. The TikTok Search by Hashtag API (TikTok) is a single authenticated GET request to /v1/tiktok/search/hashtag that responds with clean JSON and costs ~14 credits (0.7/result). Pass cache=true for a free 24h cache hit; default is always fresh. Start with 100 free credits — no credit card.

What is the TikTok Search by Hashtag API?

Pass a hashtag (with or without #) and get videos from TikTok's /tag/{name} challenge feed (CHALLENGE_AWEME / api/challenge/item_list) as clean JSON — the same feed as the tag page in the app. This is not keyword search: an @comedy… account with no #comedy tag is dropped. Each result must carry the hashtag in structured tags or as #tag in the caption. Fields: url, id, caption, publishedAt, durationSeconds, thumbnail, author (+ author.region when present), engagement, hashtags, musicName, plus region / shopProductUrl / isPaidPartnership / descLanguage when TikTok exposes them. Cursor pagination via nextCursor + hasMore. The optional region query param only chooses the proxy exit country — it does not filter results by country. Billed per result — about 0.7 credits each.

What you get

  • Real /tag/{name} challenge feed (CHALLENGE_AWEME — not keyword search)
  • Hashtag required on every result (structured or #tag in caption)
  • shopProductUrl + per-video region / authorRegion when present
  • hasMore + nextCursor (null = end)
  • Caption only — no duplicate description field

Platform limits

Honest ceilings from the upstream platform surface — not Captapi bugs. Unexpected truncation here is usually the platform, not us.

  • The optional region query param only chooses the proxy exit country — it does not filter results by creator country.

Try it

Open in Playground

Fill in the parameters below and copy a ready-to-run request, or open the live Playground to run it against your account (no API key paste).

Parameters

Sign in to run live
curl "https://api.captapi.com/v1/tiktok/search/hashtag?q=comedy" \
  -H "Authorization: Bearer capt_live_..."
# or: -H "x-api-key: capt_live_..."

Edit the parameters and the code updates instantly. Switch languages and hit copy.

Example response

{
  "success": true,
  "data": {
    "query": "comedy",
    "totalReturned": 5,
    "hasMore": true,
    "nextCursor": 5,
    "results": [
      {
        "platform": "tiktok",
        "url": "https://www.tiktok.com/@comedy7092/video/7608140015578746142",
        "id": "7608140015578746142",
        "caption": null,
        "description": null,
        "publishedAt": "2026-02-18T09:50:20.000Z",
        "durationSeconds": 32,
        "thumbnailUrl": "https://p16-common-sign.tiktokcdn.com/tos-useast8-p-0068-tx2/oIviaAAABRimBWuVioEEIVaURRRniVLt1xZVY~tplv-tiktokx-origin.image?dr=14575&x-expires=1785405600&x-signature=OKU2GXpXqsBhsKCylTn59HMWbDk%3D&t=4d5b0474&ps=13740610&shp=81f88b70&shcp=43f4a2f9&idc=my",
        "author": {
          "username": "comedy7092",
          "displayName": "Comedy",
          "url": "https://www.tiktok.com/@comedy7092",
          "followers": 281600,
          "verified": false,
          "profileImage": "https://p16-common-sign.tiktokcdn.com/tos-maliva-avt-0068/f4091ee4a3e184d77536b3493fd444a7~tplv-tiktokx-cropcenter:1080:1080.jpeg?dr=14579&refresh_token=64f29985&x-expires=1785405600&x-signature=jG8jorN693uq%2FHXEnFVyfDrBle0%3D&t=4d5b0474&ps=13740610&shp=a5d48078&shcp=81f88b70&idc=my"
        },
        "engagement": {
          "views": 2200000,
          "likes": 100800,
          "comments": 792,
          "shares": 26700,
          "saves": 9426
        },
        "hashtags": [],
        "musicName": "original sound"
      },
      {
        "platform": "tiktok",
        "url": "https://www.tiktok.com/@comedy7092/video/7607028622318259487",
        "id": "7607028622318259487",
        "caption": null,
        "description": null,
        "publishedAt": "2026-02-15T09:57:37.000Z",
        "durationSeconds": 43,
        "thumbnailUrl": "https://p16-common-sign.tiktokcdn.com/tos-useast8-p-0068-tx2/oUfpTTR6EmDkARPECmFhLE2JEEovIABfZMAVFA~tplv-tiktokx-origin.image?dr=14575&x-expires=1785405600&x-signature=zhrEEs8JX2GlL1em5RJmsg4bu%2F4%3D&t=4d5b0474&ps=13740610&shp=81f88b70&shcp=43f4a2f9&idc=my",
        "author": {
          "username": "comedy7092",
          "displayName": "Comedy",
          "url": "https://www.tiktok.com/@comedy7092",
          "followers": 281600,
          "verified": false,
          "profileImage": "https://p16-common-sign.tiktokcdn.com/tos-maliva-avt-0068/f4091ee4a3e184d77536b3493fd444a7~tplv-tiktokx-cropcenter:1080:1080.jpeg?dr=14579&refresh_token=64f29985&x-expires=1785405600&x-signature=jG8jorN693uq%2FHXEnFVyfDrBle0%3D&t=4d5b0474&ps=13740610&shp=a5d48078&shcp=81f88b70&idc=my"
        },
        "engagement": {
          "views": 4700000,
          "likes": 156100,
          "comments": 1140,
          "shares": 4276,
          "saves": 12400
        },
        "hashtags": [],
        "musicName": "original sound"
      }
    ]
  }
}

Billing metadata is returned in response headers: X-Captapi-Credits (credits charged), X-Captapi-Cache (hit or miss), and X-Captapi-Source. Failed requests (4xx/5xx) are never charged. See the full list of error codes in the error reference.

Response structure

A successful call returns success, cached, creditsUsed, and a data object with the following fields:

Top-level fields

  • queryThe search query you sent.
  • totalReturnedNumber of items returned in this response.
  • hasMoreWhether more results are available beyond this page. When true, pass nextCursor to fetch the next page.
  • nextCursorCursor to pass for the next page of results. May be null when the platform does not expose deep pagination (e.g. some Facebook Ad Library searches).

Results

Each item in results contains:

  • platformPlatform identifier for this response (matches the endpoint's platform).
  • urlCanonical URL of the item.
  • idStable platform ID for the item.
  • captionPost or creative caption when the platform exposes one.
  • descriptionDescription text.
  • publishedAtPublish date (ISO 8601) when the platform exposes an absolute timestamp.
  • durationSecondsLength in seconds for this item (full media length, or a segment span when the endpoint documents a start/end).
  • thumbnailUrlThumbnail image URL.
  • authorAuthor name or handle.
  • engagementEngagement metrics for the item.
  • hashtagsHashtags extracted from the text.
  • musicNameName of the soundtrack used.

Parameters

NameTypeRequiredDescription
qstringYesHashtag for the /tag/{name} challenge feed, with or without # (min 2). Not a keyword query.
limitintegerNoMax items to return (default 20, max 100). Billed per result.
cursorintegerNoPagination offset. Leave at 0 (or omit) for the first page; then pass the nextCursor value returned in the previous response. A null nextCursor means the end of the results.
regionstringNoTwo-letter ISO 3166-1 country our request is sent from. Default US. Does not filter results by country.
cachebooleanNoSet true to serve from the 24h response cache (0 credits on hit). Default false — always fetch fresh. Envelope includes cached + cachedAt on hits.

Authentication: send your key as Authorization: Bearer capt_live_.... A typical call costs ~14 credits (0.7/result) — billed per result, so the exact amount scales with how many items you request. Pass cache=true for a free 24h cache hit; default is always fresh (metrics refresh within ~1 hour).

Using an AI agent? This endpoint is the MCP tool tiktok_search_by_hashtag via @captapi/mcp. Set it up →

How it works

  1. 1. Sign up — get 100 free credits, no card required.
  2. 2. Create a key from your dashboard.
  3. 3. Send one request to /v1/tiktok/search/hashtag and parse the JSON response.

Use cases

Trend Discovery

Find trending content by keyword or hashtag.

Content Sourcing

Build feeds and playlists programmatically.

Monitoring

Track topics, brands, and competitors.

Research

Sample large sets of content for analysis.

Frequently asked questions

What does the TikTok Search by Hashtag API do?+

The TikTok Search by Hashtag API lets you search and return matching results from a public TikTok query using one GET request to /v1/tiktok/search/hashtag. It returns clean JSON — no OAuth or infrastructure setup required.

How many credits does the TikTok Search by Hashtag API cost?+

At the default limit this endpoint costs 14 credits (0.7 per result). Billing scales with how many results you request. Pass cache=true to serve from the 24h cache (0 credits on hit); default is always fresh. Hits include cached + cachedAt. Selected profile endpoints also accept cacheMaxAge=1d|3d|7d|14d|30d. Failed or empty results are never charged.

Do I need a TikTok API key or OAuth?+

No. A single Captapi key works across every platform Captapi supports — YouTube, TikTok, Instagram, Facebook, Twitter/X, Reddit, Threads, Bluesky, Pinterest, LinkedIn, Rumble, Spotify, Kwai, and more. We handle proxies, rate limits, retries, and authentication for you.

Is the TikTok Search by Hashtag API suitable for production use?+

Yes. It is a stable REST endpoint with predictable JSON and automatic retries. Pass cache=true to serve from the 24h cache (0 credits on hit); default is always fresh. Hits include cached + cachedAt. Selected profile endpoints also accept cacheMaxAge=1d|3d|7d|14d|30d. Use it for analytics, monitoring, and content automation.

More TikTok APIs

Ready to use the TikTok Search by Hashtag API?

Sign up, grab your key, and make your first call in 60 seconds.