Corex TikTok Downloader Documentation

Public documentation for using the downloader and integrating the API.

Getting Started

Use the web downloader at /index.html to paste a TikTok URL and get downloadable video links without watermark. For automation or server-side usage, use the API described below.

API Overview

Endpoint
GET https://corex-tiktok-api.vercel.app/api/download?url={tiktok_url}
Parameters
url: string (required) - TikTok video URL
format: string (optional) - json (default), xml
quality: string (optional) - hd | sd | auto (default)

Examples

curl
curl -G --data-urlencode "url=https://www.tiktok.com/@user/video/123" \
  https://corex-tiktok-api.vercel.app/api/download
JavaScript (fetch)
const api = 'https://corex-tiktok-api.vercel.app/api/download?url=' + 
  encodeURIComponent('https://www.tiktok.com/@user/video/123');
const res = await fetch(api);
const data = await res.json();
if (data.status) {
  console.log(data.no_watermark || data.video);
}
Node (axios)
import axios from 'axios';
const { data } = await axios.get('https://corex-tiktok-api.vercel.app/api/download', {
  params: { url: 'https://www.tiktok.com/@user/video/123' }
});
console.log(data);
Python (requests)
import requests
resp = requests.get('https://corex-tiktok-api.vercel.app/api/download', 
  params={'url': 'https://www.tiktok.com/@user/video/123'})
print(resp.json())

Response Schema

Success (200)
{
  "status": true,
  "video": "https://direct-video-url.mp4",
  "no_watermark": "https://no-watermark-video.mp4",
  "music": "https://audio-track.mp3",
  "author": "username",
  "title": "Video title",
  "cover": "https://thumbnail-image.jpg",
  "duration": 15.5
}
Error (4xx/5xx)
{
  "error": "TikTok URL required"
}

Rate Limits & Best Practices

Limits
  • 100 requests/hour per IP
  • 10 requests/minute burst
  • 1000 requests/day
Guidelines
  • Cache identical URLs
  • Use exponential backoff on errors
  • Validate TikTok URLs client-side
  • Handle HTTP 429 gracefully

FAQ

Is it free?
Yes, it’s completely free to use.
Do videos have watermarks?
Use the no_watermark URL for clean output.
Do I need to register?
No registration or login required.
Is it safe?
All requests use HTTPS. No personal data is stored.