crawlfetch
Getting started

Authentication

Every request except /v1/services needs an API key.

Sending the key#

Send the key as a bearer token in the Authorization header. The x-api-key header works too.

Authorization: Bearer $CRAWLFETCH_KEY

Scopes#

Each key carries scopes. A key without the scope an endpoint needs gets 403 insufficient_scope.

scopeendpoints
resolveGET /v1/youtube, /v1/tiktok, /v1/instagram, /v1/resolve
formatsGET /v1/<service>/formats, /v1/formats
usage:readGET /v1/usage

Live and test keys#

Live keys start with gc_live_ and test keys with gc_test_. Both spend credits; the prefix helps you keep environments apart.

Rotating a key#

Create a new key in API keys, deploy it, then revoke the old one. A revoked key stops working immediately.

If a key leaks
Revoke it in the dashboard straight away and email [email protected] if you see charges you did not make.