YouTube Downloader API
POST
/info

Authorization

bearerAuth
AuthorizationBearer <token>

API key issued from the dashboard, sent as Authorization: Bearer YOUR_API_KEY.

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

curl -X POST "https://youtube-download-api.org/api/v2/info" \  -H "Content-Type: application/json" \  -d '{    "url": "https://youtu.be/dQw4w9WgXcQ"  }'
{
  "jobId": "6f9c1234-5e8a-4b2f-9c1e-0a7b69cfc45e",
  "status": "pending"
}

{
  "error": "Missing required field: url"
}

{
  "error": "Missing API key. Provide it as 'Bearer YOUR_API_KEY'"
}

{
  "error": "Failed to enqueue download job"
}