1. Habit
  2. Skills
  3. TikTok API skill
fetcher-sh · 7K installs

TikTok API skill
Runs by itself, daily TikTok trend watch.

Track TikTok trends for your keywords.

Install the TikTok API skill and make it a habit: follow https://gethabit.dev/skills/fetcher-sh/tiktok-api.md

  1. 1Copy
  2. 2Paste into Claude Code, Codex or Cursor
  3. 3It runs by itself

7K installs2 starsMIT licenceSource on GitHub ↗

TikTok API

by fetcher-sh · 7K installs

The skill

The tiktok api skill from fetcher.sh gives an agent plain HTTP GET endpoints for TikTok post search with sort and date filters, profiles, followers, hashtags, sounds, locations and comments, with no login.

Only when you ask.

The habit

Track TikTok trends for your keywords.

↻ Runs by itselfdaily TikTok trend watch

How the habit works.
You don't have to.

Three questionsWhen does it start? How does it check its work? What does it remember?

One run, step by step.
Then it stops.

Stop ruleStops after 30 API calls per run.

  1. 01

    Load keywords

    Your agent reads your keywords and hashtags to watch.

  2. 02

    Search posts

    It calls /api/post/search with sortType MOST_LIKED and dateRange YESTERDAY.

  3. 03

    Pull hashtags

    It resolves each tag with /api/hashtag/handle/{name}, then calls /api/hashtag/{id}/posts.

  4. 04

    Drop seen posts

    It keeps only post ids not in seen.json.

  5. 05

    Write the digest

    It lists new top posts and adds their ids to seen.json.

What it may do.
Nothing more.

Safe by defaultIt writes only in its own folder and asks you before anything goes out.

Is it for you?
Use it when it fits.

Quick checkRead both lists. If the left one sounds like you, the TikTok API skill helps.

Use it when

  • ✓ You search TikTok posts by keyword
  • ✓ You track a hashtag or sound
  • ✓ You pull a profile's posts

Skip it when

  • – You need to post to TikTok
  • – You already have official API access

Questions

TikTok API skill, answered.

Do I need TikTok API access?

No. It needs no login, app review or scraping browser.

How do I pay for calls?

With a prepaid Bearer key or x402 per call; see the fetcher skill.

How do I install the TikTok API skill?

Copy the prompt at the top into your agent. It installs the skill from fetcher-sh/fetcher-skills and sets up the habit. Or run npx skills add fetcher-sh/fetcher-skills --skill tiktok-api.

Is the TikTok API skill free?

Yes. It is published under MIT. Habit is free too.

TikTok API. Now as a habit.

Install the TikTok API skill and make it a habit: follow https://gethabit.dev/skills/fetcher-sh/tiktok-api.md

  • Free
  • No account
  • Undo in one line

All fetcher-sh skills →More content skills →

Works in

  • Claude Code
  • Codex
  • Cursor
  • ChatGPT
  • Claude app

Made by fetcher-sh, published under MIT. Habit links to the original and never changes it. Is this your skill?

Copying didn't work here. Select the line and copy it by hand.