Error codes and troubleshooting
Most JSON errors follow this envelope:
{"beta":false,"error":{"code":"…","message":"…","hint":"…","charged":false}}
charged: false confirms that the call was not billed. x402 payments settle only on 2xx responses.
Common HTTP statuses
| Status | Meaning | Next step |
|---|---|---|
200 | Success | Paid x402 calls settle only on 2xx |
202 | Accepted | Dispute queued or verification email queued (POST /v1/keys/free) |
400 | Bad request (missing_url, invalid_email, reserved_host, unknown_parameter) | Fix parameters; not charged |
401 | Auth error (key_required, key_not_recognized, paid_plan_token_required, unauthorized) | Check Authorization: Bearer … / X-API-Key prefix and value |
402 | Payment required (x402 v2 challenge) | Normal payment prompt past free quota or on paid routes |
403 | Forbidden (paid_channel_required, host_not_on_plan, owner_required) | Use paid plan for Slack/Discord/webhook, add host to plan, or verify seller claim |
404 | Not found (host_not_covered, not_found, page_not_started, before_feed_start) | Host not in BotsRated coverage yet, unknown ID, a future feed hour, or a feed page before the start (2026-11-24T22 UTC) |
405 | Method not allowed | E.g. GET /mcp — MCP clients must POST JSON-RPC |
409 | Conflict (key_limit, plan_not_on_sale, or POST /v1/keys/revoke when the key still has prepaid credit or an active paid subscription) | Max 3 active free keys per email; Pilot plan no longer sold to new buyers; revoke does not cancel remaining credit or a Stripe subscription |
410 | Gone (outside_public_window on /v1/feed, pruned archive part on /v1/verify, or a second POST /v1/keys/revoke on an already revoked key) | Free feed holds 7 days; older data requires a data license; a revoked key stays revoked |
429 | Rate/quota limit (free_quota_used, preflight_cap, plan_rate_limited) | Wait for 00:00 UTC, send an API key, use credits/x402, or slow down |
503 | Temporary unavailability (temporarily_unavailable, facilitator_unavailable) | Retry-After is 20s (DB) or 5s (facilitator). Treat as no answer, not a pass |
Troubleshooting checklist
- MCP server won't connect: Confirm your client uses Streamable HTTP (
POST https://botsrated.com/mcp), not stdio/npx. Seeing405on browserGET /mcpis expected. - **Free key rejected (
401 key_not_recognized):** Check that you copied the fullbrf_…key and sent it viaAuthorization: Bearer brf_…orX-API-Key. If lost, request another key (POST /v1/keys/free) or contact support@botsrated.com. - **Receipt verify returns
400 unknown_parameter:**GET /v1/verifyexpects?url=<receipt_url>(not?receipt_url=) or?id=<20 hex>&host=<host>&day=YYYY-MM-DD. URL-encode the full receipt URL. - **Dispute returns
400 reserved_host:** Reserved test hostnames (example.com,example.net,example.org, hosts ending in.example,.test,.invalid,.localhostor.local, bare IP addresses, and single names) are rejected with400 reserved_host. Use the hostname shown on the seller's BotsRated page. - Payment failed to settle: Confirm your x402 wallet budget exceeds the quoted price and retry if the facilitator returned
503 facilitator_unavailable. If a chain transaction settled while BotsRated returned an error, write to support@botsrated.com with the route, UTC timestamp, HTTP status/error code, and Base transaction hash.