API reference
Common response structure, shared types, and error codes for all endpoints of the Reverse Contact API: success, data, error, quotas and metadata.
Every endpoint returns the same JSON response envelope, and the shared types and error codes below apply across all endpoints.
Response envelope
The envelope has five top-level fields:
Response
| Field | Type | Description |
|---|---|---|
success | boolean | true if the request was processed successfully |
data | object | null | The endpoint-specific result payload (null on error or when no data is returned) |
errorobjectShow child attributesHide child attributes
| Field | Type | Description |
|---|---|---|
code | string | Machine-readable error code (e.g. API_KEY_MISSING, API_KEY_MALFORMED, VALIDATION_ERROR, PAGINATION_LIMIT_EXCEEDED) |
message | string | Human-readable error description |
details | object | Additional context (only present on some errors) |
null when success is true.
quotasobjectShow child attributesHide child attributes
| Field | Type | Description |
|---|---|---|
creditsConsumed | number | Credits used for this request after pricing resolution |
workspaceobjectShow child attributesHide child attributes
| Field | Type | Description |
|---|---|---|
id | string | Your workspace identifier |
hasUnlimitedCredits | boolean | Whether workspace credits are unlimited |
allowDailyOvercost | boolean | Whether the workspace may exceed its daily cap (Enterprise only) |
creditsobjectShow child attributesHide child attributes
| Field | Type | Description |
|---|---|---|
total | number | Total credits in your plan |
used | number | Credits consumed so far |
left | number | Remaining credits |
dailyLimitobjectShow child attributesHide child attributes
| Field | Type | Description |
|---|---|---|
limit | number | Maximum requests per day |
used | number | Requests made today |
left | number | Remaining requests today |
nextReset | string | null | When the daily window resets (ISO 8601) |
null when no daily limit is configured.
minuteRateLimitobjectShow child attributesHide child attributes
| Field | Type | Description |
|---|---|---|
limit | number | Maximum requests per minute |
used | number | Requests made in the current minute |
left | number | Remaining requests in the current minute |
nextReset | string | null | When the minute window resets (ISO 8601) |
keyobjectShow child attributesHide child attributes
| Field | Type | Description |
|---|---|---|
id | string | API key identifier |
dailyLimitobjectShow child attributesHide child attributes
| Field | Type | Description |
|---|---|---|
limit | number | Maximum requests per day |
used | number | Requests made today |
left | number | Remaining requests today |
nextReset | string | null | When the daily window resets (ISO 8601) |
null when no daily limit is configured.
minuteRateLimitobjectShow child attributesHide child attributes
| Field | Type | Description |
|---|---|---|
limit | number | Maximum requests per minute |
used | number | Requests made in the current minute |
left | number | Remaining requests in the current minute |
nextReset | string | null | When the minute window resets (ISO 8601) |
creditLimitsobjectShow child attributesHide child attributes
| Field | Type | Description |
|---|---|---|
daily | object | null | Credits the key may spend per day (UTC), resets at 00:00 UTC |
monthly | object | null | Credits the key may spend per calendar month (UTC), resets on the 1st |
total | object | null | Credits the key may spend in total, from when the limit was set or reset |
Each limit has limit, used (this request included), left and nextReset (ISO 8601, null for total). A limit the key does not have is null. See API key management.
The key field is null when the request is made from the dashboard (no API key).
When authentication or quota context is unavailable (e.g. invalid API key), quotas may be omitted.
metadataobjectShow child attributesHide child attributes
| Field | Type | Description |
|---|---|---|
requestId | string | Unique identifier for this request (useful for support inquiries) |
executionTimeMs | number | Total execution time in milliseconds |
updatedAt | string | Last upstream update timestamp (ISO 8601). Present only when available. |
Shared types
Some types are reused across endpoints. They are documented here once, and endpoint pages refer to them by name.
DateRange
| Field | Type | Description |
|---|---|---|
start | string | null | Start date (ISO 8601) |
end | string | null | End date (ISO 8601, null if current) |
Error codes
| Status | Description |
|---|---|
400 | Invalid JSON body |
401 | Missing, malformed, invalid, or expired API key |
402 | Not enough credits for the request (INSUFFICIENT_CREDITS): purchase more to continue. The free /check endpoints return NO_CREDITS below 2 credits, and the free count endpoints return it on a trial with no credit left |
403 | Workspace disabled (WORKSPACE_DISABLED), API key lacks permission, or API key reached its total credit limit (KEY_CREDIT_LIMIT_REACHED) |
404 | Data not found |
409 | A request with the same Idempotency-Key is still being processed (IDEMPOTENCY_KEY_IN_USE), or a task is not in a state that allows the call (TASK_RESULTS_NOT_READY, TASK_NOT_CANCELLABLE, or TASK_RESULTS_FORMAT_UNAVAILABLE for a task stored before NDJSON) |
413 | The JSON body is over 25 MB (REQUEST_BODY_TOO_LARGE): send a smaller body |
422 | V2 schema/validation error, INVALID_LINKEDIN_URL, or disposable email domain |
422 | PAGINATION_LIMIT_EXCEEDED when perPage exceeds 100 on people or company search. Details: { "field": "perPage", "max": 100 } |
429 | Rate limit exceeded, or the API key reached its daily or monthly credit limit (KEY_CREDIT_LIMIT_REACHED): wait error.details.retryAfter seconds and retry |
451 | Data subject blocked: this person or company asked not to be processed under GDPR or CCPA. Not charged, do not retry |
5xx | Temporary upstream or platform issue: retry with backoff |
WORKSPACE_DISABLED is 403 for both dashboard and API-key authentication. INVALID_LINKEDIN_URL and VALIDATION_ERROR return 422.
FAQ
What fields does every Reverse Contact API response contain?
Every Reverse Contact API response uses the same JSON envelope with five top-level fields: success, data, error, quotas and metadata. data is null on error or when no data is returned, and error is null when success is true.
How do I check how many credits a request used?
Read quotas.creditsConsumed in the response: it is the number of credits used for that request after pricing resolution. quotas.workspace.credits gives the total, used and left credits of your plan. When authentication or quota context is unavailable (for example, an invalid API key), quotas may be omitted.
How should I retry 429 and 5xx errors?
429 and 5xx errors?For a 429 (rate limit exceeded), wait the number of seconds given in error.details.retryAfter, then retry: a 429 response carries no quotas object. For a 5xx (temporary upstream or platform issue), retry with exponential backoff starting at 1 second.
What is the maximum perPage for people and company search?
perPage for people and company search?perPage cannot exceed 100 on people or company search, and both paginate with a cursor rather than a page number. A request above that limit returns 422 with the code PAGINATION_LIMIT_EXCEEDED and details such as { "field": "perPage", "max": 100 }.
What should I include when I contact support about a failed request?
Include the metadata.requestId value from the error response. metadata.requestId is the unique identifier of the request, and it speeds up troubleshooting.
Last verified