crawlfetch

Always get the best available quality

Every response includes bestQuality — the highest resolution the video offers. Without res, CrawlFetch returns the best muxed MP4: one file with picture and sound.

Best single file vs best picture

GoalRequestResult
One file, plays anywhereno res, format=mp4Best muxed MP4 with audio
Highest resolutionres= the bestQuality valueOften video-only; add audioUrl and mux
Smallest good fileres=720pHD with audio

Two-step: check, then request

const auth = { headers: { Authorization: "Bearer " + process.env.CRAWLFETCH_KEY } };
const q = (p) => "https://api.crawlfetch.com/v1/resolve?" + new URLSearchParams(p);
const first = await (await fetch(q({ url }), auth)).json();
const best = await (await fetch(q({ url, res: first.bestQuality }), auth)).json();
console.log(best.bestQuality, best.downloadUrl);

FAQ

Does the plan limit bestQuality?

bestQuality reports what the video offers; downloads are capped at your plan's maximum (720p on Free).

Related

Last updated 2026-10-25

Add video downloads to your product today.

1,000 credits on signup plus 500 every month. That is roughly 180 YouTube clips to start, with no card.

Create free account