cURL
curl --request POST \ --url https://rawugc.com/api/v1/scrape-tiktok \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "query": "<string>", "mode": "keyword", "limit": 10 } '
{ "scrapeId": "<string>", "count": 123, "videos": [ { "id": "<string>", "url": "<string>", "author": "<string>", "description": "<string>", "stats": { "views": 123, "likes": 123, "comments": 123, "shares": 123 }, "duration": 123, "hashtags": [ "<string>" ], "thumbnail": "<string>", "videoUrl": "<string>" } ] }
Scrape TikTok videos by keyword, hashtag, or search query. Returns video metadata and temporary download URLs. Costs 3 credits per request.
Use your API key from the RawUGC dashboard. Include as: Authorization: Bearer YOUR_API_KEY
Search keyword, hashtag, or query
1 - 500
Search mode
keyword
hashtag
search
Maximum number of videos to return
1 <= x <= 10
Videos scraped successfully
Opaque ID to use with content-plans endpoint
Number of videos returned
Show child attributes
Was this page helpful?