TikTok API

TikTok Hashtag videos API

List recent TikTok videos for a hashtag (creator, caption, views, likes, shares).

POST/v1/run/tiktok.hashtag_videos
Uptime
99.36%
30d · 157 calls
Requests
157
30d · weekly, last 12 wks
Response
19.7s
median · 30d

Try it

Make your first request

Open in
Get a free key
Sample response
Free runs return only the first 3 results. Fund a key to get the full response.
{
  "data": {
    "items": [
      {
        "authorHandle": "alex_rivera",
        "commentCount": 12500,
        "createdUtc": 12.5,
        "id": "a1b2c3d4",
        "image": "https://example.com/image.jpg",
        "likeCount": 12500,
        "playCount": 12500,
        "shareCount": 13,
        "text": "A short example description of this item.",
        "url": "https://example.com/page"
      }
    ]
  },
  "found": true
}
Response interface
interface TiktokHashtagVideosResponse {
  data: {
    items: {
      authorHandle?: string;
      commentCount?: number;
      createdUtc: number;
      id: string;
      image?: string;
      likeCount?: number;
      playCount?: number;
      shareCount?: number;
      text?: string;
      url: string;
    }[];
  } | null;
  found: boolean;
}

Full parameter and response reference - every field, type, and example for this endpoint.

Reference

Request, response, and price

Last verified 2026-09-16 · uptime and latency measured over 30d
POST /v1/run/tiktok.hashtag_videos
curl -X POST https://api.getanyapi.com/v1/run/tiktok.hashtag_videos \
  -H "Authorization: Bearer $ANYAPI_KEY" \
  -H "Content-Type: application/json" \
  -d '{"hashtag":"cooking","limit":3}'
FieldTypeExample value
Request body
hashtagstring"cooking"TikTok hashtag to fetch videos for, without the # prefix (e.g. booktok).
limitinteger3Maximum number of results to return (1-20, default 20).
Response
dataobject
data.itemsobject[]Recent TikTok video records for the hashtag. Populated whenever the provider has data for the entity.
data.items[].authorHandlestringUsername of the video's creator, without the @ prefix. Empty when the upstream omits it.
data.items[].commentCountintegerNumber of comments on the video.
data.items[].createdUtcnumberUTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds.
data.items[].idstringThe video's numeric TikTok ID, as a string. Populated whenever the provider has data for the entity.
data.items[].imagestringURL of the video's cover/thumbnail image, with tracking query params stripped. Empty when the upstream omits it.
data.items[].likeCountintegerNumber of likes on the video.
data.items[].playCountintegerNumber of views/plays of the video.
data.items[].shareCountintegerNumber of shares of the video.
data.items[].textstringThe video caption text. Empty for videos with no caption.
data.items[].urlstringCanonical tiktok.com URL of the video, with tracking query params stripped. Populated whenever the provider has data for the entity.
foundbooleanWhether any videos were returned for the hashtag.
Price
Price per requestUSD$0.0008
Price /1k reqUSD$0.80

FAQ

About the TikTok Hashtag videos API

The AnyAPI TikTok Hashtag videos API returns TikTok hashtag videos data as normalized JSON from one POST call to /v1/run/tiktok.hashtag_videos. List recent TikTok videos for a hashtag (creator, caption, views, likes, shares). AnyAPI routes each request across 3 sources and falls back automatically when one fails. It costs from $0.80 per 1,000 requests, in US dollars with no subscription and no monthly minimum. Over the last 30 days, 99.4% of TikTok hashtag videos calls through AnyAPI succeeded, with a median response time of 19.7 seconds across 157 measured calls.

It costs from $0.80 per 1,000 requests, in US dollars with no subscription and no monthly minimum. You fund one USD wallet, each call draws it down, and a failed request costs $0.

List recent TikTok videos for a hashtag (creator, caption, views, likes, shares). The response is normalized JSON with the same envelope every AnyAPI endpoint returns, so parsing a second endpoint is a change of URL and nothing else.

Over the last 30 days, 99.4% of TikTok hashtag videos calls through AnyAPI succeeded, with a median response time of 19.7 seconds across 157 measured calls. These are AnyAPI's own measurements of traffic through the gateway, recomputed continuously, not a published service-level target.