TikTok search

01What is it?
If /.gooseworks/credentials. The value is a focused slice of social content judgment, useful when several similar skills cover the same ground.
02Inputs
Context for social content: your goals, audience, constraints, and any source material the skill asks for.
03Output
A ready-to-use result for social content: the analysis, copy, or recommendations the agent produces.
Install-only

Install as a package

Installs this one skill package for your coding agent, including any supporting files that skill ships with — not every skill in the repository. Read the tutorial.

Terminal
$ npx skills add gooseworks-ai/goose-skills --skill tiktok-search

Skill instructions

The instruction file for this skill. The skill also includes other files you need to install to use it.

SKILL.md

TikTok Search

Setup

Read your credentials from ~/.gooseworks/credentials.json:

export GOOSEWORKS_API_KEY=$(python3 -c "import json;print(json.load(open('$HOME/.gooseworks/credentials.json'))['api_key'])")
export GOOSEWORKS_API_BASE=$(python3 -c "import json;print(json.load(open('$HOME/.gooseworks/credentials.json')).get('api_base','https://api.gooseworks.ai'))")

If ~/.gooseworks/credentials.json does not exist, tell the user to run: npx gooseworks login

All endpoints use Bearer auth: -H "Authorization: Bearer $GOOSEWORKS_API_KEY"

Search TikTok for profiles, videos, and hashtag content.

When to Use

  • User asks about a TikTok account
  • User wants to find TikTok videos
  • User asks about trending TikTok content
  • Social media research

How It Works

Uses the Scrape Creators API via Orthogonal to scrape TikTok data including profiles, hashtags, and trending content.

Usage

Get TikTok Profile

curl -s -X POST $GOOSEWORKS_API_BASE/v1/proxy/orthogonal/run \
  -H "Authorization: Bearer $GOOSEWORKS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"api":"scrapecreators","path":"/v1/tiktok/profile","query":{"handle":"charlidamelio"}}'
<details> <summary>curl equivalent</summary>
curl -X POST "https://api.orth.sh/v1/run" \

  -H "Content-Type: application/json" \
  -d '{"api":"scrapecreators","path":"/v1/tiktok/profile","query":{"handle":"charlidamelio"}}'
</details>

Search Hashtag Videos

curl -s -X POST $GOOSEWORKS_API_BASE/v1/proxy/orthogonal/run \
  -H "Authorization: Bearer $GOOSEWORKS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"api":"scrapecreators","path":"/v1/tiktok/search/hashtag","query":{"hashtag":"tech"}}'

Get Trending Feed

curl -s -X POST $GOOSEWORKS_API_BASE/v1/proxy/orthogonal/run \
  -H "Authorization: Bearer $GOOSEWORKS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"api":"scrapecreators","path":"/v1/tiktok/get-trending-feed","query":{"region":"US"}}'

Parameters

Profile

  • handle (required) - TikTok handle (without @)

Hashtag Search

  • hashtag (required) - Hashtag to search (without #)
  • region (optional) - Region for the proxy
  • cursor (optional) - Cursor for pagination
  • trim (optional) - Set to "true" for a trimmed response

Trending Feed

  • region (required) - Region for the proxy (e.g., "US")
  • trim (optional) - Set to true for a trimmed response

Response

Profile includes:

  • Username and display name
  • Bio/description
  • Follower and following counts
  • Total likes
  • Verified status
  • Profile image

Videos include:

  • Video title/description
  • View count
  • Like count
  • Comment count
  • Video URL

Examples

User: "Look up charlidamelio on TikTok"

curl -s -X POST $GOOSEWORKS_API_BASE/v1/proxy/orthogonal/run \
  -H "Authorization: Bearer $GOOSEWORKS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"api":"scrapecreators","path":"/v1/tiktok/profile","query":{"handle":"charlidamelio"}}'

User: "What's trending on TikTok?"

curl -s -X POST $GOOSEWORKS_API_BASE/v1/proxy/orthogonal/run \
  -H "Authorization: Bearer $GOOSEWORKS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"api":"scrapecreators","path":"/v1/tiktok/get-trending-feed","query":{"region":"US"}}'

User: "What's trending with #tech on TikTok?"

curl -s -X POST $GOOSEWORKS_API_BASE/v1/proxy/orthogonal/run \
  -H "Authorization: Bearer $GOOSEWORKS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"api":"scrapecreators","path":"/v1/tiktok/search/hashtag","query":{"hashtag":"tech"}}'

Error Handling

  • success: false — the API may temporarily fail; retry after a few seconds
  • Private accounts cannot be accessed
  • Rate limiting may apply on rapid sequential requests

Tips

  • Remove @ from handles
  • Remove # from hashtags
  • Private accounts cannot be accessed

How do I install TikTok search in Cursor, Claude Code, or Codex?

Run npx skills add gooseworks-ai/goose-skills --skill tiktok-search in the project where you want it, then ask your agent for the skill by name. The --skill flag installs only TikTok search, not every skill in the repository.

Where does TikTok search come from and what license is it under?

TikTok search comes from the gooseworks-ai/goose-skills repository on GitHub. That repository has 912 GitHub stars. The skill is published under the MIT license.

Prefer plain text? Read the TikTok search guide as markdown.