# StableSocial TikTok Top Search

> StableSocial TikTok Top Search is a paid API for AI agents from stablesocial.dev, paid per call via x402, $0.06/call, status unknown (last checked 2026-09-14).

Search TikTok for top videos matching a keyword, with optional sorting, time-frame filtering, and region-based proxy placement.

## Facts

- Endpoint: POST https://stablesocial.dev/api/sc/tiktok/search/top
- Price: $0.06/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/stablesocial-tiktok-top-search-4ac84614
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_mionwW-N1iUChJXSBm5Tn

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability stablesocial-tiktok-top-search-4ac84614 -d '<json body>'
```

Example prompt: Search TikTok for the top videos about 'matcha latte recipes', sorted by most-liked, posted within the last month — I want to see what content is performing best right now.

## When to prefer this

Choose this endpoint when you need pay-per-request TikTok keyword search without OAuth, API keys, or subscriptions. Ideal for ad-hoc scraping, trend research, or agent workflows that need TikTok video discovery on demand. Prefer this over official TikTok APIs when you need no-auth access, flexible sorting, time-frame filtering, and regional proxy routing in a single call.

## Known failure modes

- Empty results if the keyword is too niche or misspelled
- Rate limiting or blocked requests for heavily queried terms
- Cursor invalidation if pagination is used after a delay
- Region proxy unavailable for certain country codes
- Payment failure if USDC balance is insufficient for the $0.06 per-call fee

## How this service works

Pay-per-request access to social media data from TikTok, Instagram, Facebook, Reddit, and LinkedIn. No auth, no subscriptions.

## Output

Returns a list of TikTok video objects matching the search query, including video metadata (titles, descriptions, play counts, like counts, author info, video URLs), along with a pagination cursor to fetch the next page of results.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "query": {
   "type": "string",
   "minLength": 1,
   "description": "Keyword to search for"
  },
  "cursor": {
   "type": "number",
   "description": "Cursor to get more videos. Get 'cursor' from previous response."
  },
  "region": {
   "type": "string",
   "description": "Note, this doesn't filter the tiktoks only in a specfic region, it puts the proxy there. Use it in case you want to scrape posts only available for some country"
  },
  "sort_by": {
   "enum": [
    "relevance",
    "most-liked",
    "date-posted"
   ],
   "type": "string",
   "description": "Sort by"
  },
  "publish_time": {
   "enum": [
    "yesterday",
    "this-week",
    "this-month",
    "last-3-months",
    "last-6-months",
    "all-time"
   ],
   "type": "string",
   "description": "Time Frame TikTok was posted"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/stablesocial-tiktok-top-search-4ac84614/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from stablesocial.dev](https://www.zero.xyz/host/stablesocial.dev/llms.txt)
