Get started

Authentication

Every request carries your API key in the X-API-Key header.

X-API-Key: $SCRAPEBEAVER_KEY

Keys start with psk_. Authorization: Bearer $SCRAPEBEAVER_KEY is accepted as well. A request without a valid key is answered with 401 and a detail that says so.

Check a key

GET /v1/limits answers with your limits on each tier. It is not a search: nothing is counted or changed, so it is the call to make from a deploy script or a health check.

curl "$SCRAPEBEAVER_API/v1/limits" -H "X-API-Key: $SCRAPEBEAVER_KEY"

Keys

An account holds up to 4 live keys, created and revoked on the dashboard. A key is shown once, when it is created. Keep it server-side; never ship it in a browser or mobile app. The playground needs no key of yours: it talks to the API through our own server, and its searches count toward your plan.

Rotation

Create a new key, switch your service over, then revoke the old one. A revoked key stops working within a minute. Replace a leaked key the same way.

Talk to the team

What are you building?

Your message goes to our team on Telegram. See our Privacy Policy.