# API Direct – TikTok Hashtag Search

> API Direct – TikTok Hashtag Search is a paid API for AI agents from x402.apidirect.io, paid per call via x402, $0.007/call, status unknown (last checked 2026-10-30).

Search TikTok hashtags by keyword, returning up to 30 hashtags per page across up to 1000 pages of results.

## Facts

- Endpoint: GET https://x402.apidirect.io/v1/tiktok/hashtags?utm_source=zero.xyz
- Price: $0.007/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-30
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/api-direct-tiktok-hashtag-search-4202aa13
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Ap-YhBQJd4M_o7Oe9XcnX

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 api-direct-tiktok-hashtag-search-4202aa13
```

Example prompt: Search TikTok for hashtags related to 'sustainable fashion' and pull back 3 pages of results so I can see what's trending in that niche.

## When to prefer this

Choose this endpoint when you need to discover or research TikTok hashtags by keyword — ideal for content strategy, influencer marketing briefs, or competitive niche analysis. It supports paginated bulk retrieval (up to 1000 pages × 30 hashtags), making it suitable for comprehensive hashtag landscape research. Prefer it over manual TikTok browsing or general social listening tools when you need structured, programmatic access to TikTok-specific hashtag data.

## Known failure modes

- Missing required 'query' parameter returns a validation error
- Query string exceeding 500 characters is rejected
- Invalid or out-of-range 'pages' value (e.g. 0 or >1000) causes a validation error
- No hashtags found for obscure or misspelled keywords returns an empty result set
- Rate limiting or upstream TikTok API unavailability may cause 429 or 502 errors
- Payment failure or insufficient USDC balance prevents the request from being processed

## How this service works

Search TikTok hashtags by keyword.

## Output

A paginated list of TikTok hashtags matching the search keyword, with each page returning up to 30 hashtags. Results typically include hashtag names and associated metadata surfaced by TikTok's search.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "query"
     ],
     "properties": {
      "pages": {
       "type": "integer",
       "default": 1,
       "maximum": 1000,
       "minimum": 1,
       "description": "Number of pages to fetch, 1-1000 (default: 1). Each page returns up to 30 hashtags."
      },
      "query": {
       "type": "string",
       "maxLength": 500,
       "description": "Search keyword (max 500 characters)"
      }
     }
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/api-direct-tiktok-hashtag-search-4202aa13/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402.apidirect.io](https://www.zero.xyz/host/x402.apidirect.io/llms.txt)
