Platforms/TikTok/Hashtag videos

TikTok Hashtag Videos API

GET ยท 5 credits

Send a hashtag, and get its videos and photo posts in TikTok's order, 30 a page, up to 5 pages.

GET /v1/tiktok/hashtags/videos

What people use it for

  • Campaign reporting: collect the videos posted under a branded hashtag and sum their views.
  • Trend research: see which creators and formats lead a hashtag.
  • Creator discovery: find the creators posting about a topic.

How it works with other endpoints

Hashtag gives the hashtag's size. Each video's id goes to Video, and its author_handle to Profile.

Limits

  • 30 videos a page, up to 5 pages; a video may come twice.
  • Slower than most calls: 10 to 40 seconds, more for later pages.

Example request

const url = `${process.env.API_URL}/v1/tiktok/hashtags/videos?tag=cooking`;

const response = await fetch(url, {
  headers: { "x-api-key": process.env.API_KEY },
});

const { data } = await response.json();
console.log(data);

Parameters

ParameterRequiredDescription
tagYesA hashtag, with or without the #.
cursorNoFor the next page: page.next_cursor from the page before. Send the other parameters again with it.

Example response

{
  "data": [
    {
      "id": "7596844935442189598",
      "url": "https://www.tiktok.com/@weeknightkitchen/video/7596844935442189598",
      "description": "15-minute garlic butter pasta #cooking #easyrecipe",
      "created_at": "2026-11-12T19:30:00Z",
      "duration_seconds": 42,
      "thumbnail": "https://p16-sign.tiktokcdn-us.com/obj/cover-2.jpeg",
      "images": null,
      "views": 2100000,
      "likes": 310000,
      "comment_count": 2400,
      "shares": 18000,
      "saves": 96000,
      "is_ad": false,
      "author_id": "7000000000000000001",
      "author_handle": "weeknightkitchen",
      "author_name": "Weeknight Kitchen"
    }
  ],
  "page": {
    "next_cursor": "eyJ0b2tlbiI6IkVnWlEifQ",
    "has_more": true
  },
  "meta": {
    "platform": "tiktok",
    "endpoint": "hashtag_videos",
    "params": {
      "tag": "cooking"
    },
    "request_id": "sp_req_1f8c2d3e4a5b6c7d",
    "api_version": "v1",
    "fetched_at": "2026-11-30T09:30:00Z",
    "cached": false
  }
}

An illustrative answer: live answers have the same shape, with the page's current data.

Every field, with its type, is in the API reference, and every error code in Errors.

Price

Each call costs 5 credits, a not-found answer too. Cached answers and other errors cost nothing, and credits never expire. New accounts start with 100 free credits. See pricing for the packs.

FAQ

How many videos can I get?

30 a page, up to 5 pages: about 150 per hashtag.

Can the same video come twice?

Yes. TikTok orders each page afresh, so one may appear on two pages. Drop repeats by id.

How long does a call take?

10 to 40 seconds, more for later pages.

What if the hashtag doesn't exist?

It answers 404 NOT_FOUND.

Works with

On other platforms

TikTok guides

Start free

Your first 100 credits are on us

Sign up, create a key and make your first call in a few minutes.

No credit card required