API Documentation

Introduction

Welcome to the TechEvangelistSEO Video Downloader API. This API allows developers to integrate video downloading functionality into their applications.

Base URL: https://techevangelistseo.com/video-downloader/api.php

Authentication

The API uses a simple token-based authentication. Include your API token in the request header:

Authorization: Bearer YOUR_API_TOKEN

For public endpoints, no authentication is required.

Endpoints

GET /api.php?action=info&url=VIDEO_URL

Get video information including available formats and quality options.

Parameters:

  • url - The video URL to fetch info for (required)
  • token - API token (optional for public videos)
GET /api.php?action=download&url=VIDEO_URL&format=FORMAT

Download video in specified format.

Parameters:

  • url - The video URL to download (required)
  • format - Desired format (mp4, mp3, webm)
  • quality - Video quality (1080p, 720p, 480p, etc.)

Supported Platforms

  • YouTube (youtube.com, youtu.be)
  • Instagram (instagram.com)
  • TikTok (tiktok.com)
  • Facebook (facebook.com, fb.watch)
  • Twitter/X (twitter.com, x.com)
  • Rumble (rumble.com)
  • Vimeo (vimeo.com)
  • Reddit (reddit.com)
  • LinkedIn (linkedin.com)
  • Pinterest (pinterest.com)
  • Twitch (twitch.tv)
  • Threads (threads.net)

Response Codes

Code Description
200Success
400Bad Request - Invalid parameters
401Unauthorized - Invalid API token
403Forbidden - Platform not supported
404Not Found - Video not found
429Too Many Requests - Rate limit exceeded
500Internal Server Error

Code Examples

JavaScript
// Get video info const response = await fetch('https://techevangelistseo.com/video-downloader/api.php?action=info&url=' + encodeURIComponent(videoUrl)); const data = await response.json(); console.log(data);
Python
# Get video info import requests url = 'https://techevangelistseo.com/video-downloader/api.php' params = { 'action': 'info', 'url': 'VIDEO_URL' } response = requests.get(url, params=params) data = response.json() print(data)
cURL
curl -X GET "https://techevangelistseo.com/video-downloader/api.php?action=info&url=VIDEO_URL"