crawlfetch
API reference

Get a video from any platform

One endpoint for every live platform. The service is detected from the URL.

GET/v1/resolve

Use this when your users can paste links from several platforms. It behaves exactly like the platform endpoints; pass service to force one.

Authorization#

Authorizationstring · headerrequired

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

Query parameters#

urlstringrequired

The video page URL, URL-encoded.

serviceyoutube | tiktok | instagramoptional

Detected from the URL when omitted. 400 if the URL is not from that service.

formatmp4 | m4aoptional

Container to prefer for downloadUrl. m4a returns the audio track (Starter and up).

res360p … 2160poptional

Quality to prefer for downloadUrl. Falls back to the best your plan allows.

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.
429 rate_limitedThe platform is throttling — retry later.
502 upstream_errorThe platform or storage failed for this call. Safe to retry.