crawlfetch

What is an API key scope?

A scope limits what an API key is allowed to do, so a leaked key causes less damage.

Definition

CrawlFetch keys can be scoped to resolve, formats or usage:read. A dashboard widget that only reads usage doesn't need permission to resolve videos.

In practice

Scopes follow the principle of least privilege. A typical setup: one resolve key for the production backend, one usage:read key for an internal metrics dashboard, and a separate test key for CI.

Combined with per-key usage in the dashboard, scoped keys also make it obvious which service is responsible for a traffic spike.

Why it matters when downloading video

  • Use separate, minimally scoped keys per service.
  • Revoke a key from the dashboard the moment it leaks.

FAQ

Can I put a key in frontend code?

No — any key in a browser or app binary is public.

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