API ReferenceTikTok
Discover content
Search TikTok content by keyword or hashtag.
This is content search. search is TikTok user search; the two stay separate so each endpoint always returns one shape.
Returns the first page only; pagination isn't exposed yet.
Cost: 1 credit per successful call.
Authorization
ApiKeyAuth X-API-Key<token>
Required on every request. Keys are issued manually during early access, see Authentication.
In: header
Query Parameters
query*string
Keyword or #hashtag to search for.
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/v1/tiktok/discover?query=cats"{ "success": true, "platform": "tiktok", "data": [ { "id": "7687944192680660255", "text": "Robert was out for me today 😂😭 #catsoftiktok #catlady #cats #fyp #foryoupage", "likes": 63739, "comments": 373 } ], "meta": { "credits_used": 1 }}