Authentication

Create, scope, store, and rotate API keys for Raspbytes customer APIs.

Authenticate API requests

Create an API key from Credentials in the Raspbytes dashboard. Use a
dedicated key for each application and grant only the product permissions that
application requires.

Send the key using either supported header:

X-API-Key: rb_live_your_key_here
Authorization: Bearer rb_live_your_key_here

For local development, keep the key in an environment variable:

export RASPBYTES_API_KEY='rb_live_your_key_here'
ProductRead permissionWrite permission
Proxiesproxies:readproxies:write
Browser APIbrowser:readbrowser:write
Web Unblockerunblocker:readunblocker:write
Scraper APIscraper:readscraper:write

A valid key without the required permission returns 403 Forbidden. Never put
an API key in browser code, commit it to source control, or include it in a
support message. Rotate a key immediately if it may have been exposed.


Did this page help you?