GET /v1/tiktok/search/post_v1
TikTok Post Search API (V1)
stable · 20 credits per success
Search TikTok posts by keyword, with offset pagination, sorting, publish-time and region controls. Use it to support regional content discovery, topic research or monitoring of keyword-related videos.
Request parameters
| Name | Type | In | Required | Description | Example |
|---|---|---|---|---|---|
| offset | integer | query | no | 分页偏移量,从0开始,步长为20。 | 0 |
| region | string | query | no | ISO 3166-1 alpha-2 国家代码(例如 'US'、'GB')。 | US |
| keyword | string | query | yes | 搜索关键词。 | 咖啡 |
| sortType | string | query | no | 搜索结果排序标准。 可用值: - `RELEVANCE`: 相关性(默认) - `MOST_LIKED`: 点赞最多 | RELEVANCE |
| publishTime | string | query | no | 按发布时间筛选帖子。 可用值: - `ALL`: 全部时间 - `ONE_DAY`: 最近24小时 - `ONE_WEEK`: 最近7天 - `ONE_MONTH`: 最近30天 - `THREE_MONTHS`: 最近90天 - `H… | ALL |
Response fields
Field dictionary coming soon — the executable panel shows the live shape.
Errors
| code | HTTP | Meaning | Billed |
|---|---|---|---|
| 40001 | 400 | Invalid parameters | no |
| 40102 | 401 | Invalid or revoked API Key | no |
| 40201 | 402 | Insufficient credits | no |
| 40402 | 404 | Resource not found | no |
| 42201 | 422 | Quality gate failed | no |
| 42901 | 429 | Rate limit exceeded | no |
| 50401 | 504 | Upstream timeout | no |
| 50201 | 502 | Upstream error | no |
Billing
Success costs 20 credits. Any failure — including a 200 that fails the quality gate — costs 0.