tiktok

Search by Keyword

Scrapes TikTok videos matching a keyword

get/v1/scrape/tiktok/search/keyword

Request

  • Base URL: https://api.sociavault.com
  • URL: https://api.sociavault.com/v1/scrape/tiktok/search/keyword
  • Auth: API key in header X-API-Key

Query parameters

querystring required

Keyword to search for

date_posted'yesterday' | 'this-week' | 'this-month' | 'last-3-months' | 'last-6-months' | 'all-time'
Example:all-time

Time Frame

sort_by'relevance' | 'most-liked' | 'date-posted'
Example:relevance

Sort by

regionstring

Note, this doesn't filter the tiktoks only in a specfic region, it puts the proxy there. Use it in case you want to scrape posts only available for some country. Use 2 letter country codes like US, GB, FR, etc

cursorinteger
Example:10

Cursor to get more videos. Get 'cursor' from previous response.

trimboolean

Set to true to get a trimmed response

Response

Successful response

Key Response Fields:

  • search_item_list[0].aweme_info.video.bit_rate[0].play_addr.url_list[0]: The URL of the video

Changes

No recorded changes to this operation across all 1 revision of this API.