Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 

Repository files navigation

YTXY Downloader API

Fast, lightweight, and easy-to-use YouTube Downloader API.

Features

  • 🎥 Get YouTube video information
  • 🎵 Download audio
  • 📺 Download video
  • ⚡ Fast JSON responses
  • 🔗 Supports YouTube videos, Shorts, and youtu.be links
  • 🌐 REST API
  • 📦 Easy to integrate

Base URL

https://api.ytxy.work.gd

Example Request

curl -X POST "https://api.ytxy.work.gd/api/info" \
  -H "Content-Type: application/json" \
  -H "X-API-Key: YOUR_API_KEY" \
  -d '{
    "url": "https://youtu.be/dQw4w9WgXcQ"
  }'

Response

{
  "success": true,
  "title": "Example Video",
  "duration": 210,
  "thumbnail": "...",
  "author": "...",
  "downloads": {
    "audio": "...",
    "video": "..."
  }
}

Authentication

All requests require an API key.

Include your API key in the request header:

X-API-Key: YOUR_API_KEY

Requests without a valid API key will be rejected.

Supported URLs

HTTP Status

Code Description
200 Success
400 Invalid Request
404 Video Not Found
500 Internal Server Error

Tech Stack

  • Node.js
  • Express
  • REST API

Documentation

API Base URL:

https://api.ytxy.work.gd

Disclaimer

This project is intended for educational and personal use only. Users are responsible for complying with YouTube's Terms of Service and applicable copyright laws.0

License

MIT License


Made with ❤️ by SyntaxOps