Skip to content

TikTok Downloader API

A dual-purpose TikTok API. You can provide a direct TikTok URL to download a specific video, OR provide a Search Query to automatically find and download the top result for that keyword.

POST /api/v1/tiktok

The following parameters are accepted in the request body:

FieldTypeRequiredDescription
querystringYesA valid TikTok URL OR a text search term (e.g., “soccer skills”).
urlstringOptionalAlias for query (legacy support).

Choose your preferred method to interact with the TikTok API:

Terminal window
curl -X POST https://heavstal.com.ng/api/v1/tiktok \
-H "Content-Type: application/json" \
-H "x-api-key: <YOUR_API_KEY>" \
-d '{"query": "https://vt.tiktok.com/ZGe..."}'
{
"status": "success",
"creator": "HEAVSTAL TECH",
"mode": "search",
"data": {
"title": "Video Caption Here",
"author": "Username",
"video_nowm": "https://...",
"audio": "https://...",
"stats": {
"views": 1000,
"likes": 500
}
}
}