If an SEO API call times out or disconnects, did I get charged and how do I recover the result?
Validation errors (400) and temporary server failures (503) are never charged, so retrying a 503 with backoff will not double-bill you. If your client drops the connection before reading a 200 response, send an Idempotency-Key header on retriable requests, or call GET /v1/tasks/{request_id} if you already captured the request_id.
Which responses cost money vs $0
Prevent double-billing in scripts and workflows
- Attach
Idempotency-Keyon every automated SEO call: Generate a stable key per logical query (for example, a hash of endpoint + request JSON + date). Reusing the same key with a different request body returns409 idempotency_conflict. - Recover a lost response with
GET /v1/tasks/{request_id}: Every SEO response carries arequest_id. CallingGET https://api.beatapi.io/v1/tasks/{request_id}with your BeatAPI key returns the exact same payload underoutputso a lost downstream step does not force a second paid call. - Log
usage.price_usdandbilled_rows: Save both beside your CSV or JSON artifact to reconcile spend on BeatAPI pricing.

