error string. Some responses include structured fields for programmatic handling.
Common status codes
| Status | Meaning |
|---|---|
400 | Invalid request — bad JSON, missing fields, invalid filters |
401 | Missing or invalid x-api-key |
402 | Insufficient credits — top up and retry |
422 | Bulk workflow should use list/enrichment endpoints (BULK_ENRICHMENT_REQUIRED) |
429 | Rate limit exceeded — retry after reset |
500 | Server or upstream failure — credits refunded on failed enrichment/research where applicable |
Standard error shape
Query validation (search endpoints)
Company and person search return detailed validation errors for bad filters:accepted_values to fix enum fields like industry, type, and headcount growth timespan.
Bulk enrichment rejection
When/research cannot run a multi-entity enrichment workflow within budget:
recommended_workflow.
Research failures
Failed research runs returnprice: 0. Async failures include error and optional error_code on the status endpoint.