Skip to main content

Real Contact 2.0

Note: Authentication must be provided via the x-api-key header. Query parameter authentication is not supported in v2.0.

Query Parameters

string
required
The name of the person to search. Example: name=John Doe
string
The first name of the person to search. Example: first_name=John
string
The last name of the person to search. Example: last_name=Doe
string
The business name to search. Example: business.name=The Golden Company
string
required
The phone provided by the lead on the web form. Example: phone=4259853735
string
The email provided by the lead on the web form. Example: email=john.doe@example.com
string
The first line of the street part in the structured address. Example: address.street_line_1=100 Syrws St
string
The second line of the street part in the structured address. Example: address.street_line_2=Apt 4B
string
The name of the city in the structured address. Example: address.city=Lynden
string
The state code of the structured address. Example: address.state_code=WA
string
The postal code of the structured address. Example: address.postal_code=98229
string (ISO-3166-2)
The ISO-3166 alpha-2 country code of the address. Example: address.country_code=US
string
The IP address captured at the time of interaction (web form, sign up, etc.). Example: ip_address=192.0.0.1
string
Request parameter to enable specific add-ons available for this endpoint. Add-ons incur additional charges. Please see here for more details.
  • email_checks_deliverability: to enable email deliverability checks in the response
  • email_checks_age: to enable email age score in the response
  • litigator_checks: to enable litigator checks in the response
Example: add_ons=litigator_checks,email_checks_deliverability

Headers

string
required
Your API key for authentication. Example: {{ apiKey }}

Response

object
Phone verification and grading results.
object
Email verification and grading results.
object
Address verification results.
object or null
IP Trust Score and IP distance results. Returned when an IP address is provided in the request.
object or null
object(PartialError) or null
Error details in case of a partial error, or null if no errors occurred.
string[]
Warnings returned as part of the response, if applicable.Missing InputMissing Unit/Apt/Suite NumberInvalid AddressInvalid House/Building NumberInvalid Unit/Apt/Suite NumberInvalid PhoneLead is a Litigator. Must not be contacted.TimeoutError: Timeout getting response for litigator check. Partial response returned.Invalid EmailFree Email Service ProviderTumbled EmailDisposible EmailPrivacy EmailEmail is a spam trapPotential Junk EmailRole Based EmailUndeliverable EmailDomain is a catch all and does not support validationMX forwarding detected. This email may route through a forwarding service.Could not validate emailTimeoutError: Timeout getting a response from the email server for email deliverability checkInput IP address is invalid. Please provide a valid IPv4 or IPv6 addressTimeout getting response for IP information. Partial response returned

Error Responses

400 Bad Request

The server cannot process the request due to client-side errors.Check for: Syntax errors in the request script, malformed JSON, or invalid parameters.

403 Forbidden

The request is understood, but the server is refusing to fulfill it. Error responses include an errorCode field identifying the cause:
  • Invalid API Key (INVALID_API_KEY): The key is incorrect, deactivated, or missing from the request. Check for: Trailing spaces, syntax errors, incorrect character counts, or a missing x-api-key header.
  • API Key Disabled (Portal Issue) (FORBIDDEN): The key is inactive. Check for: Insufficient funds in your self-serve wallet or if a Trestle Admin manually deactivated your API key.
  • API Key does not have Product Access (Portal Issue) (FORBIDDEN): The API key is active, but it is not enabled for this product or API version. Check for: Incorrect endpoint, incorrect API version, or missing product access on the key.
  • API Key Expired (FORBIDDEN): The key has reached its end-of-life (primarily affects Trial users).

429 Too Many Requests

You have sent too many requests in a given amount of time.
  • Rate Limit Exceeded (RATE_LIMIT_EXCEEDED): You have surpassed the queries-per-second (QPS) threshold for your tier.
  • Quota Exceeded (Portal Issue) (QUOTA_EXCEEDED): You have reached the total volume allowed for your current billing cycle. Upgrade your plan in the portal to resume service.

500 Internal Server Error

An unexpected error occurred on the server side. Please contact support if this persists.See Error handling for all error response bodies and codes.