TikTok Hashtag API reference
A page of public videos carrying a hashtag, with a cursor. Takes a keyword, returns a cursor page, 1 credit a call.
This named API keeps TikTok fields in TikTok's own vocabulary. For a higher-level product page, see TikTok Hashtag API.
Endpoint
GET /v1/tiktok/hashtag
Authorization: Bearer sv_live_... `POST` is also accepted with the same parameters in the request body. Send the key in the `Authorization` header, never in the query string.
Parameters
| Name | Type | Required | Notes |
|---|---|---|---|
q | string | yes | Search term or hashtag, up to 100 characters. Trimmed and lowercased before the lookup. |
cursor | string | no | Cursor returned by the previous page. |
limit | integer | no | Maximum items to return, up to 50. |
Sample Request
This is a copyable request shape. Replace the sample values with the public TikTok target or parameters your workflow uses.
curl -G 'https://api.sourcevine.io/v1/tiktok/hashtag' \
-H 'Authorization: Bearer sv_live_...' \
--data-urlencode 'q=coffee' \
--data-urlencode 'limit=20' Sample Response
A response this API returned, against the target above. Your values depend on the resource you ask about and when you ask.
{
"data": {
"items": [
{
"url": "https://www.tiktok.com/@goldenbrown.coffee/video/7078877428164267310",
"likes": 243396,
"views": 5271396,
"cached": false,
"shares": 8955,
"videoId": "7078877428164267310",
"collects": 113662,
"comments": 1345,
"fetchedAt": "2026-09-02T06:49:43Z",
"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": 308239,
"cached": false,
"shares": 3369,
"videoId": "7485067314707090710",
"collects": 1770,
"comments": 307,
"fetchedAt": "2026-09-02T06:49:43Z",
"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/@ethanrodecoffee/video/7246768493444762926",
"likes": 1996449,
"views": 23298571,
"cached": false,
"shares": 148393,
"videoId": "7246768493444762926",
"collects": 564525,
"comments": 6523,
"fetchedAt": "2026-09-02T06:49:43Z",
"channelLink": "https://www.tiktok.com/@ethanrodecoffee",
"channelName": "ethanrodecoffee",
"contentType": "video",
"description": "How to make instant coffee #coffee #instantcoffee #coffeetok ",
"publishedAt": "2023-06-20T14:03:20Z",
"cacheAgeSeconds": null,
"sourceTimestamp": null
}
],
"cached": false,
"fetchedAt": null,
"nextCursor": null,
"cacheAgeSeconds": null
},
"success": true,
"available": true
} Fields
| Field | Type | Notes |
|---|---|---|
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. |
Availability States
| Status | Charged | Client behavior |
|---|---|---|
available | yes for live reads | Use data. |
not_found | yes | Store the state and stop polling. |
private | yes | Store the state and stop polling. |
unsupported | no | Fix the URL or call the matching API. |
upstream_unavailable | no | Retry later with backoff. |
Unavailable resources return `success: true`, `available: false`, `availability`, and `data: null`. API or authentication failures return `success: false` with an `error` object.
Billing
A call costs 1 credit. A deleted, private or empty resource is charged like any lookup and says so. An unsupported URL or a read we could not complete is not charged. The `X-Credits-Charged` response header is the source of truth for what happened on that request.
Successful responses include `fetchedAt`, the time we read the platform.
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.
Related
- TikTok API hub
- TikTok Hashtag API product page
- Quickstart
- Credits and billing
- TikTok Video Stats API reference
- TikTok Profile API reference
- TikTok Channel Videos API reference
- TikTok Search API reference
Last updated 1 September 2026