Overview
Reverse Phone API validates a phone number and provides phone metadata, owner name and demographics, current and historical addresses, relatives and associated people, and additional phone numbers.
Version: 3.1 (Archived)
Endpoint
GET https://api.trestleiq.com/3.1/phone?phone={phone}
Parameters
The phone number in E.164 or local format. The default country calling code is
+1 (USA). Example: 2069735100
The ISO-3166 alpha-2 country code of the phone number. Example: US
Person or Business name associated with the phone number. If multiple names
are associated with the phone in Trestle database, this name will be ranked
higher. Example: John Doe
The postal code of the subscriber address associated with the phone number.
Example: 98264
Your API key for authentication.
Code Examples
cURL
JavaScript
Node.js
Python
C#
Go
PHP
Java
curl --request GET \
--url "https://api.trestleiq.com/3.1/phone?phone=2069735100" \
--header "x-api-key: YOUR_API_KEY"
Postman payload
{
"method" : "GET" ,
"url" : "https://api.trestleiq.com/3.1/phone" ,
"query" : { "phone" : "2069735100" },
"headers" : { "x-api-key" : "YOUR_API_KEY" }
}
Response
The persistent ID of the phone number. Format: Phone.<uuid>
The phone number in E.164 or local format.
True if the phone number is valid.
The country code of the phone number (E.164 format).
The line type of the phone number. Possible values: Landline, Mobile,
FixedVOIP, NonFixedVOIP, Premium, TollFree, Voicemail, Other.
The company that provides voice and/or data services for the phone number.
True if the phone is associated with a prepaid account.
True if the phone number is registered to a business.
The primary owner of the phone number. Can be a Person or Business object.
A list of unique current locations associated with Person or Business.
Returns a list of unique historical locations associated with the phone.
The list of related and associated people to person or business.
The list of alternate phone numbers of the primary owner.
Error Responses
Bad Request - Invalid parameters or input error
Unauthorized - Missing or invalid API key
Forbidden - API key not authorized or quota exceeded
Too Many Requests - Rate limit exceeded
Server Error - Internal server error