Get TikTok search suggestions
Get TikTok search suggestions by query.
Headers
Get your API keyAPI key (`sfk_...`)
Search query text for TikTok suggestions.
min 1 chars · max 512 chars
Optional two-letter ISO 3166-1 country code for localized suggestions.
Endpoint-specific response payload.
Search query that was evaluated for this response.
Autocomplete suggestions returned for the search query.
Suggested search text.
min 1 chars
Zero-based rank of this suggestion in the returned list, when available.
≥ 0
Language code for this suggestion, when available.
Relative ranking score for this suggestion, when available.
Number of suggestions returned in this response.
≥ 0
Metadata describing the request and billing outcome.
Unique request identifier for tracing this API call.
min 1 chars
Credits charged for this request.
≥ 0
Public API version that served the response.
one of: v1
Present, and `true`, only when the source couldn't be reached and this is the last good answer for the same request instead, up to 24 hours old. Absent on every live answer.
one of: true
When a stale answer (`stale: true`) was originally fetched (ISO 8601, UTC). Absent on every live answer.
Code example
curl "https://api.socialfetch.dev/v1/tiktok/search/suggestions?query=dogs" \
-H "x-api-key: $SOCIALFETCH_API_KEY"Responses
Search suggestions for the requested query.