Skip to main content
ScrapeBadger has no separate sandbox host. You test against the production API, and these tools keep a test from costing much or changing anything:

Scraping calls have no side effects

Every scraping endpoint only reads public web data. Calling it changes nothing on the target site or in your account, apart from the credits it uses. Failed, blocked and empty results are not billed. Only these endpoints change account state:
  • Twitter stream monitors, filter rules and webhooks (/v1/twitter/stream/...): create, update and delete.
  • Webhook secret rotation (POST /v1/account/webhook-secret/rotate).
Test those with a key you can throw away, and delete what your test creates.

Dry run a call

POST /v1/quote checks a call and prices it without running it. It is free. Like every /v1 call, it holds one of your concurrency slots while it runs.
The response tells you whether the parameters are valid (valid, with each bad field in errors), what the call would cost (credits, usd) and how long it usually takes (latency). Over MCP, the quote_call tool does the same. See AI Agents.

Sandboxed trial key

An agent can mint a trial key without an account. The key is sandboxed:
  • 50 credits, expires after 7 days;
  • read APIs only: no Web Scraping API, AI assistants, or stream monitors;
  • one call at a time, and only from the IP that minted it.
Mint one with scrapebadger trial, or over HTTP as described in Get a key without copying one and auth.md. A human can later claim it into their account.

A restricted test key

For a test suite or CI, create a separate key in the dashboard and restrict it:
  • API permissions: allow only the APIs the tests call. A call to any other API gets 403 insufficient_scope and is not billed. See API key permissions.
  • IP restrictions: allow only your CI runners’ addresses. See IP restrictions.
  • Expiry date: let the key stop working on its own after the test period.
Every account starts with 1,000 free credits, enough for a few hundred test calls on most APIs.

Test webhooks

Point callback_url (or X-Callback-URL) at a request inspector you control, run an async call, and check the delivery and its signature. GET /v1/account/webhook-deliveries lists recent attempts with their status codes.