Skip to content

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

FieldTypeDescription
successbooleantrue if the request was processed successfully
dataobject | nullThe endpoint-specific result payload (null on error or when no data is returned)
errorobject
Show child attributes
FieldTypeDescription
codestringMachine-readable error code (e.g. API_KEY_MISSING, API_KEY_MALFORMED, VALIDATION_ERROR, PAGINATION_LIMIT_EXCEEDED)
messagestringHuman-readable error description
detailsobjectAdditional context (only present on some errors)

null when success is true.

quotasobject
Show child attributes
FieldTypeDescription
creditsConsumednumberCredits used for this request after pricing resolution
workspaceobject
Show child attributes
FieldTypeDescription
idstringYour workspace identifier
hasUnlimitedCreditsbooleanWhether workspace credits are unlimited
allowDailyOvercostbooleanWhether the workspace may exceed its daily cap (Enterprise only)
creditsobject
Show child attributes
FieldTypeDescription
totalnumberTotal credits in your plan
usednumberCredits consumed so far
leftnumberRemaining credits
dailyLimitobject
Show child attributes
FieldTypeDescription
limitnumberMaximum requests per day
usednumberRequests made today
leftnumberRemaining requests today
nextResetstring | nullWhen the daily window resets (ISO 8601)

null when no daily limit is configured.

minuteRateLimitobject
Show child attributes
FieldTypeDescription
limitnumberMaximum requests per minute
usednumberRequests made in the current minute
leftnumberRemaining requests in the current minute
nextResetstring | nullWhen the minute window resets (ISO 8601)
keyobject
Show child attributes
FieldTypeDescription
idstringAPI key identifier
dailyLimitobject
Show child attributes
FieldTypeDescription
limitnumberMaximum requests per day
usednumberRequests made today
leftnumberRemaining requests today
nextResetstring | nullWhen the daily window resets (ISO 8601)

null when no daily limit is configured.

minuteRateLimitobject
Show child attributes
FieldTypeDescription
limitnumberMaximum requests per minute
usednumberRequests made in the current minute
leftnumberRemaining requests in the current minute
nextResetstring | nullWhen the minute window resets (ISO 8601)
creditLimitsobject
Show child attributes
FieldTypeDescription
dailyobject | nullCredits the key may spend per day (UTC), resets at 00:00 UTC
monthlyobject | nullCredits the key may spend per calendar month (UTC), resets on the 1st
totalobject | nullCredits 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.

metadataobject
Show child attributes
FieldTypeDescription
requestIdstringUnique identifier for this request (useful for support inquiries)
executionTimeMsnumberTotal execution time in milliseconds
updatedAtstringLast 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

FieldTypeDescription
startstring | nullStart date (ISO 8601)
endstring | nullEnd date (ISO 8601, null if current)

Error codes

StatusDescription
400Invalid JSON body
401Missing, malformed, invalid, or expired API key
402Not 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
403Workspace disabled (WORKSPACE_DISABLED), API key lacks permission, or API key reached its total credit limit (KEY_CREDIT_LIMIT_REACHED)
404Data not found
409A 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)
413The JSON body is over 25 MB (REQUEST_BODY_TOO_LARGE): send a smaller body
422V2 schema/validation error, INVALID_LINKEDIN_URL, or disposable email domain
422PAGINATION_LIMIT_EXCEEDED when perPage exceeds 100 on people or company search. Details: { "field": "perPage", "max": 100 }
429Rate limit exceeded, or the API key reached its daily or monthly credit limit (KEY_CREDIT_LIMIT_REACHED): wait error.details.retryAfter seconds and retry
451Data subject blocked: this person or company asked not to be processed under GDPR or CCPA. Not charged, do not retry
5xxTemporary 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?

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 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