TikTok Search Top API
Find matching TikTok results using this operation’s documented search parameters.
/v1/tiktok/search/topCoverage is rolling out during preview. Test the endpoint you need before integrating. Unavailable operations return an explicit error and use no credits.
Try this endpoint
Enter the documented inputs, run a protected browser test, and inspect the JSON response.
curl -X GET 'https://socialquery.dev/v1/tiktok/search/top?query=dance+challenge' \
-H "x-api-key: $SOCIALQUERY_API_KEY"Request contract
Parameters
Pass these fields as query parameters. Production requests also require your server-side API key.
queryRequired- The keywords or phrase to search for.Example: dance challenge
publish_timeOptional- Provide publish time in the format shown in the example.Example: yesterday
sort_byOptional- Provide sort by in the format shown in the example.Example: relevance
regionOptional- Provide region in the format shown in the example.Example: us
cursorOptional- The pagination cursor returned by the previous response, if supported.Example: 10
sinceOptional- Provide since in the format shown in the example.Example: —
untilOptional- Provide until in the format shown in the example.Example: —
min_viewsOptional- Provide min views in the format shown in the example.Example: 10
max_age_daysOptional- Provide max age days in the format shown in the example.Example: 10
countryOptional- Provide country in the format shown in the example.Example: us
exclude_countryOptional- Provide exclude country in the format shown in the example.Example: —
sort_rowsOptional- Provide sort rows in the format shown in the example.Example: views
max_pagesOptional- Provide max pages in the format shown in the example.Example: 5
seenOptional- Provide seen in the format shown in the example.Example: —
Build a reliable integration.
Keep your key server-side
Pass your SocialQuery key in the x-api-key header. Never expose credentials in a browser bundle.
Check the response
Read success before using data. Preserve request_id when logging errors or contacting support.
Account for coverage
Test the fields you need. Provider availability varies, and unavailable operations use no credits.
More TikTok endpoints
View all →TikTok Profile API
Retrieve the public profile details available for a TikTok account.
TikTok Profile Videos API
Tiktok profile videos.
TikTok Post API
Retrieve a public TikTok post and its available content and metadata.