Real Contact API
Real Contact API
Real Contact API is a comprehensive lead verification API that verifies and grades phone numbers, emails, and addresses. It returns Phone Activity Score, line type, name matches, and IP-based intelligence signals.
Real Contact 2.0
Query Parameters
string
required
The name of the person to search. Example:
name=John Doestring
The first name of the person to search. Example:
first_name=Johnstring
The last name of the person to search. Example:
last_name=Doestring
The business name to search. Example:
business.name=The Golden Companystring
required
The phone provided by the lead on the web form. Example:
phone=4259853735string
The email provided by the lead on the web form. Example:
email=john.doe@example.comstring
The first line of the street part in the structured address. Example:
address.street_line_1=100 Syrws Ststring
The second line of the street part in the structured address. Example:
address.street_line_2=Apt 4Bstring
The name of the city in the structured address. Example:
address.city=Lyndenstring
The state code of the structured address. Example:
address.state_code=WAstring
The postal code of the structured address. Example:
address.postal_code=98229string (ISO-3166-2)
The ISO-3166 alpha-2 country code of the address. Example:
address.country_code=USstring
The IP address captured at the time of interaction (web form, sign up, etc.).
Example:
ip_address=192.0.0.1string
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
add_ons=litigator_checks,email_checks_deliverabilityHeaders
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 anerrorCode 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 missingx-api-keyheader. -
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.
