Search TikTok videos by hashtag.
Endpoint
/v1/tiktok/search/hashtags
Query
Hashtag to search for. A leading # is optional.
Optional ISO 3166-1 country code for the request. This sets the proxy region and does not filter results to that country only.
Pagination cursor returned by a previous response.
Whether to request a smaller response with fewer fields.
const response = await fetch( "https://api.socialfetch.dev/v1/tiktok/search/hashtags?hashtag=trending", { headers: { "x-api-key": "YOUR_API_KEY" } } ); const data = await response.json(); console.log(data);