Foxy API reference
HTTP API for media extraction and server-side downloads.
Requests use JSON unless an endpoint returns a downloadable file.
Authentication
Send your API key in the X-API-Key header. Bearer authentication is also supported. Do not put keys in query strings or public client-side code.
Generate/manage your key with @FoxyApiBot. Keep it private.
Extract media information
Extract metadata and media information for a supported URL.
JSON bodyModes: best or audio.
GET variant for integrations that need query parameters. Authentication header is still required.
Download media
Downloads the processed media server-side and streams the resulting file as a response.
Response: binary file download. Error responses are JSON.
Errors & rate limits
Errors return a non-2xx HTTP status and a JSON object with an error code and message. Common statuses include 400 (invalid URL), 401 (missing/invalid API key), 403 (blocked URL or disabled key), 429 (rate/quota limit), 502/504 (upstream extraction failure), and 503 (maintenance).
Current service rate limiting is configured at 500 requests per 60 seconds. Individual API keys may have a different limit. Response headers include X-RateLimit-Limit, X-RateLimit-Remaining, and X-RateLimit-Reset.
GET /api/health
Public service health/status endpoint; does not require an API key.
Interactive API tester
Your API key is used only in this browser request and is not saved by this page. Test with a URL you are authorized to access.