Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

7 Commits
ย 
ย 

Repository files navigation

๐ŸŽต TikTok Downloader API

A fast and reliable TikTok video downloader API that fetches TikTok videos without watermarks.

License: MIT API Status

โœจ Features

  • ๐Ÿš€ Fast & Reliable - Quick response times with minimal latency
  • ๐Ÿ’ง No Watermark - Download videos without TikTok watermarks
  • ๐ŸŽต Audio Extraction - Separate music/audio download links
  • ๐Ÿ“Š Video Statistics - Fetch likes, comments, and share counts
  • ๐Ÿ‘ค Author Information - Get creator details and profile pictures
  • ๐Ÿ”„ RESTful API - Simple JSON-based API interface
  • โšก Serverless - Deployed on Vercel for high availability
  • ๐Ÿ†“ Free to Use - No API key required

๐Ÿ“ก API Endpoint

GET https://tiktok-downbloder.vercel.app/?url={TIKTOK_VIDEO_URL}

Parameters

Parameter Type Required Description
url string Yes TikTok video URL

๐Ÿš€ Quick Start

Example Request

curl "https://tiktok-downbloder.vercel.app/?url=https://www.tiktok.com/@akhi79874/video/7619227493748247828"

JavaScript/Node.js

const url = 'https://www.tiktok.com/@akhi79874/video/7619227493748247828';
const apiUrl = `https://tiktok-downbloder.vercel.app/?url=${encodeURIComponent(url)}`;

fetch(apiUrl)
  .then(response => response.json())
  .then(data => {
    console.log('Video URL:', data.result.raw.result.video);
    console.log('Music URL:', data.result.raw.result.music);
    console.log('Author:', data.result.raw.result.author.nickname);
  })
  .catch(error => console.error('Error:', error));

Python

import requests

tiktok_url = "https://www.tiktok.com/@akhi79874/video/7619227493748247828"
api_url = f"https://tiktok-downbloder.vercel.app/?url={tiktok_url}"

response = requests.get(api_url)
data = response.json()

if data['success']:
    video_url = data['result']['raw']['result']['video']
    music_url = data['result']['raw']['result']['music']
    print(f"Video: {video_url}")
    print(f"Music: {music_url}")

PHP

<?php
$tiktokUrl = "https://www.tiktok.com/@akhi79874/video/7619227493748247828";
$apiUrl = "https://tiktok-downbloder.vercel.app/?url=" . urlencode($tiktokUrl);

$response = file_get_contents($apiUrl);
$data = json_decode($response, true);

if ($data['success']) {
    echo "Video: " . $data['result']['raw']['result']['video'] . "\n";
    echo "Music: " . $data['result']['raw']['result']['music'] . "\n";
}
?>

๐Ÿ“‹ Response Format

Success Response

{
  "success": true,
  "id": "5bc8ta",
  "developer": "Sujoy Paul",
  "github": "https://github.com/devlopersujoy",
  "result": {
    "provider": "tiktokapi-src",
    "version": "v2",
    "raw": {
      "status": "success",
      "result": {
        "type": "video",
        "desc": "#foryou #foryoupage โค๏ธโค๏ธ",
        "author": {
          "avatar": "https://...",
          "nickname": "Akhi"
        },
        "statistics": {
          "likeCount": "187.3K",
          "commentCount": "1.6K",
          "shareCount": "1K"
        },
        "video": "https://tikcdn.io/ssstik/...",
        "music": "https://tikcdn.io/ssstik/m/..."
      }
    }
  }
}

Response Fields

Field Type Description
success boolean Request success status
id string Unique request identifier
result.raw.result.video string Direct video download URL (no watermark)
result.raw.result.music string Audio/music download URL
result.raw.result.desc string Video description/caption
result.raw.result.author.nickname string Creator's display name
result.raw.result.author.avatar string Creator's profile picture URL
result.raw.result.statistics object Video engagement stats

๐Ÿ› ๏ธ Tech Stack

  • Runtime: Node.js / Vercel Serverless Functions
  • API Provider: TikTok API Source (v2)
  • CDN: TikCDN for media delivery
  • Hosting: Vercel

๐Ÿ“ Use Cases

  • Build TikTok download websites/apps
  • Create TikTok content archives
  • Analyze TikTok engagement metrics
  • Extract audio for remixing
  • Research & data analysis projects
  • Social media management tools

โš ๏ธ Rate Limiting

This API does not currently enforce rate limits, but please use responsibly:

  • Recommended: Max 6000 requests/minute
  • Avoid automated scraping of large video batches
  • Cache responses when possible

๐Ÿ“„ License

This project is licensed under the MIT License

๐Ÿ‘จโ€๐Ÿ’ป Developer

Sujoy Paul

โš–๏ธ Legal Disclaimer

This tool is for educational purposes only. Please respect TikTok's Terms of Service and copyright laws. Users are responsible for ensuring they have the right to download and use any content.

  • Only download videos you have permission to use
  • Respect content creators' intellectual property
  • Do not use for commercial purposes without proper authorization
  • TikTokยฎ is a registered trademark of ByteDance Ltd.

๐ŸŒŸ Show Your Support

If this project helped you, please give it a โญ๏ธ on GitHub!


Made with โค๏ธ by Sujoy Paul

About

This is a fast and simple TikTok Downloader API that allows you to fetch TikTok video data, download links, music, author details, and statistics in JSON format by providing a TikTok video URL.

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors