API keys
Loading keys
Loading | ||||
A crawler, a headless browser and a proxy network usually mean three vendors and three secrets. Spider runs all three, and one key works on all of them.
| Name | Key | Last used |
|---|---|---|
| production | sk-…9f3ka | Nov 30, 9:00 AM |
| staging | sk-…2m7qd | Nov 28, 4:00 PM |
| ci | sk-…h4t0e | Nov 29, 11:00 PM |
| claude-code | sk-…x81pw | never |
The request header: Authorization: Bearer $SPIDER_API_KEY
No card required.
Each of the three hosts reads the key from a different place. Set it once as SPIDER_API_KEY and the lines here run as written.
A Bearer token in the Authorization header.
curl -X POST https://api.spider.cloud/scrape \ -H "Authorization: Bearer $SPIDER_API_KEY" \ -H "Content-Type: application/json" \ -d '{"url": "https://example.com"}' The token parameter on the WebSocket address.
wss://browser.spider.cloud/v1/browser?token=$SPIDER_API_KEY The proxy username. Options such as the country go in the password.
curl -x "http://$SPIDER_API_KEY:country_code=us@proxy.spider.cloud:8888" \ https://example.com No. Creating a key is free and an account can hold more than one. A new account gets 2,500 free credits, worth $0.25, if your signup passes our checks. No card required.
Keyless access is /scrape only and needs no account. Send Authorization: Bearer free. It is rate limited. On a 429, honor Retry-After. Get a key for anything sustained. Without a key, every route returns 402 with an x402 payment challenge, /scrape included, except /unlimited/*, which returns 401. With Bearer free, every route other than /scrape returns 402.
No. The panel shows the full key once. If you lose it, create a new key, move your service to it and revoke the old one.
No. One key works on all three hosts. Create a second key when you want to revoke one service without stopping another.
It asks for one. Add the Spider MCP server with no key in the command, for example claude mcp add --transport http spider https://mcp.spider.cloud/mcp. The first tool call opens an approval page, and approving it gives that client a key of its own.
In an environment variable or a secret store on your server. Keep it out of browser code and public repositories. Spider may disable a key it finds published.
Send Authorization: Bearer with a key from https://spider.cloud/api-keys.
The key works on all three hosts as soon as you copy it.
Analytics and replay cookies? Allow cookies for analytics and session replay? privacy policy →