TikTok Hashtag API

Fetch a cursor-paginated page of public TikTok posts carrying a hashtag, with platform-native fields on each item.

Input: Hashtag or keyword. Returns: a page of results with a cursor for the next, in TikTok's own field names. Price: 1 credit per call; failed reads are free.

GET /v1/tiktok/hashtag Hashtag or keyword · Cursor page

Try it with a sample keyword.

The snippets use q for the search term. Replace the sample keyword with the phrase your workflow is tracking.

Try this API live
1

Pick a sample input

Start from a valid shape, then replace the sample value with your public target.

Selected coffee Open

2

Preview the request

Use a server-side key and send parameters as query values.

GET https://api.sourcevine.io/v1/tiktok/hashtag
curl -G 'https://api.sourcevine.io/v1/tiktok/hashtag' \
  -H 'Authorization: Bearer sv_live_...' \
  --data-urlencode 'q=coffee' \
  --data-urlencode 'limit=20'
const params = new URLSearchParams({
  "q": "coffee",
  "limit": "20",
});

const res = await fetch('https://api.sourcevine.io/v1/tiktok/hashtag?' + params, {
  headers: { Authorization: 'Bearer sv_live_...' },
});

const body = await res.json();
console.log(body.data);
import requests

r = requests.get(
    "https://api.sourcevine.io/v1/tiktok/hashtag",
    params={"q": "coffee", "limit": "20"},
    headers={"Authorization": "Bearer sv_live_..."},
)

body = r.json()
print(body["data"])
Replays the recorded response. Nothing leaves your browser.
3

Read the response

Every success includes availability, a fetch timestamp and billing context.

GET /v1/tiktok/hashtag Not run

Hit Show sample response to see the response.

A real TikTok Hashtag API response, recorded against the public target above.

available 1 credit recorded

Shortened to fit. items 3 of 20. A live call returns all of it.

{
  "data": {
    "items": [
      {
        "url": "https://www.tiktok.com/@goldenbrown.coffee/video/7078877428164267310",
        "likes": 243473,
        "views": 5273428,
        "cached": false,
        "shares": 8958,
        "videoId": "7078877428164267310",
        "collects": 113717,
        "comments": 1345,
        "fetchedAt": "2026-09-02T16:18:23Z",
        "channelLink": "https://www.tiktok.com/@goldenbrown.coffee",
        "channelName": "goldenbrown.coffee",
        "contentType": "video",
        "description": "Start with a heart! #Goldenbrowncoffee #coffeetiktok #barista #LearnOnTikTok #homecafe #foodietiktok #coffeeart #latteart #espresso #coffee",
        "publishedAt": "2022-03-25T03:39:49Z",
        "cacheAgeSeconds": null,
        "sourceTimestamp": null
      },
      {
        "url": "https://www.tiktok.com/@londonrealestate/video/7485067314707090710",
        "likes": 6907,
        "views": 308251,
        "cached": false,
        "shares": 3369,
        "videoId": "7485067314707090710",
        "collects": 1771,
        "comments": 307,
        "fetchedAt": "2026-09-02T16:18:23Z",
        "channelLink": "https://www.tiktok.com/@londonrealestate",
        "channelName": "londonrealestate",
        "contentType": "video",
        "description": "I tried London’s Most Expensive Coffee☕️  Full experience on YouTube now #refinedliving #coffee ",
        "publishedAt": "2025-03-23T18:04:05Z",
        "cacheAgeSeconds": null,
        "sourceTimestamp": null
      },
      {
        "url": "https://www.tiktok.com/@wecordcafe/video/7564458348163108118",
        "likes": 21851,
        "views": 825866,
        "cached": false,
        "shares": 3795,
        "videoId": "7564458348163108118",
        "collects": 9844,
        "comments": 79,
        "fetchedAt": "2026-09-02T16:18:23Z",
        "channelLink": "https://www.tiktok.com/@wecordcafe",
        "channelName": "wecordcafe",
        "contentType": "video",
        "description": "✨ That’s that Wecord Espresso ✨ #coffee #baristatok #cafe #coffeeaesthetic #london ",
        "publishedAt": "2025-10-23T16:41:48Z",
        "cacheAgeSeconds": null,
        "sourceTimestamp": null
      }
    ],
    "cached": false,
    "fetchedAt": null,
    "nextCursor": null,
    "cacheAgeSeconds": null
  },
  "success": true,
  "available": true
}

Use this API from code, no-code tools, MCP clients and agents.

We build and maintain theseFirst-party surfaces, versioned with the API.

Response fields.

Each response includes typed availability, a fetch timestamp, and only the public fields this API promises.

FieldTypeMeaning
items array A page of public TikTok posts or videos.
nextCursor string | null Pass as cursor to request the next page.
items[].views integer | null Present only where the platform reports it.
items[].likes integer | null Per-item public like count.
items[].cached boolean Matches the page provenance on cached reads.
fetchedAt ISO datetime When Sourcevine read the public page.
sourceTimestamp ISO datetime | null The platform timestamp when it is available.
cached boolean True when this answer repeats an identical request made moments earlier.
cacheAgeSeconds integer Seconds since the reading was taken.

How a request is handled.

  1. 01 Send a keyword

    Send a hashtag or keyword. Sourcevine normalizes the query and returns a cursor page.

  2. 02 Checked

    A missing or empty keyword is refused before any fetch, and not charged.

  3. 03 Read

    The public data is read when you call. An identical request moments earlier is answered again, free.

  4. 04 Typed availability

    Deleted, private and unsupported resources return explicit statuses, so clients can stop retrying facts about the world.

  5. 05 JSON back

    TikTok names stay intact, so your code reads collects instead of reverse-engineering a generic schema.

    fetchedAtcreditsChargedavailable

Every response carries fetchedAt and the platform timestamp, so you know how old a reading is before you act on it. TikTok Hashtag API fits recurring hashtag videos checks in dashboards, spreadsheets, workflows and agents.

What this API does not return.

  • No contact or bio fields

    Bios, email addresses, phone numbers, postal addresses and messenger handles are outside the response contract.

  • No private data

    Private accounts, restricted content and unavailable resources return typed availability instead of guessed data.

  • No comments or downloads

    List APIs return recent public post metadata and metrics. They do not return comment bodies, media files or hidden analytics.

Where teams use TikTok Hashtag API.

Creator monitoring

Pull the latest public posts from a watched account on a schedule.

Campaign capture

Build a dataset of recent brand mentions or campaign posts before reporting.

Lead enrichment

See whether a profile is active before spending human review time.

Content ops

Feed recent public videos into moderation, analytics or publishing workflows.

1 credit per call, and nothing for a failed read.

The response and X-Credits-Charged header tell you what happened, including when it is zero.

Charged1 credit

  • AnsweredThe public data came back.
  • Not found or privateThe lookup was made, and that is the answer. The response says which.
  • Empty resultThe lookup was made and found nothing to return, such as an account with no posts.

Not charged0 credits

  • Failure on our sideA timeout or a read we could not complete.
  • Unsupported URLThe wrong kind of URL: refused before any fetch.
  • Cache hitAn identical request moments earlier, answered again.

Common questions.

What does TikTok Hashtag API return?

Fetch a cursor-paginated page of public TikTok posts carrying a hashtag, with platform-native fields on each item.

How is it billed?

A call costs 1 credit, including an empty result. Retrieval failures are not charged.

What happens when the resource is private or deleted?

The request returns available=false with a typed availability status. Not-found and private results are charged like any lookup; unsupported URLs and retrieval failures are not.

Does Sourcevine return contact data?

No. Bios, emails, phone numbers, postal addresses and private or restricted content are outside the public response contract.

Do I need to log in to TikTok?

No. Your integration authenticates with a Sourcevine API key. You do not need to supply TikTok credentials or a session.