List videos from a TikTok profile by handle.
Endpoint
/v1/tiktok/profiles/{handle}/videos
Path
TikTok handle whose videos should be listed.
Query
Optional sort order for the returned TikTok videos.
Pagination cursor returned by a previous response.
Optional TikTok user id to speed up the request.
Optional ISO 3166-1 country code for the request.
Optional flag for a smaller response with fewer fields.
const response = await fetch( "https://api.socialfetch.dev/v1/tiktok/profiles/charlidamelio/videos", { headers: { "x-api-key": "YOUR_API_KEY" } } ); const data = await response.json(); console.log(data);