crawlfetch
API reference

List available formats

See which qualities and containers your plan can get for a video, before downloading it.

GET/v1/<service>/formats

Available as /v1/youtube/formats, /v1/tiktok/formats, /v1/instagram/formats, and /v1/formats with auto-detect. Nothing is stored, so formats that are not in storage yet have an empty url. Costs the platform base only.

Authorization#

Authorizationstring · headerrequired

Bearer token: Bearer <YOUR_API_KEY>. The key needs the formats scope.

Query parameters#

urlstringrequired

The video page URL, URL-encoded.

Errors#

400 bad_requestMissing or malformed url, a URL from another platform, or a coming-soon service.
401 unauthorizedMissing, invalid or revoked API key.
403 insufficient_scopeThe key is valid but lacks the scope this endpoint needs (resolve, formats or usage:read).
404 not_foundPrivate, removed or region-locked video, or a post without video.
402 insufficient_creditsYour credit balance cannot cover this call. Buy a top-up or change plan in the dashboard.
502 upstream_errorThe platform or storage failed for this call. Safe to retry.