Skip to main content
POST
Phone Search returns everything Encrata knows about a phone number in one call. Use include to return only the sections you need. POST /api/lookup/phone/search Requires an Encrata API key in the Authorization header.

Request

string
required
The phone number in E.164 format, for example +14155552671. See Send the number in E.164 format.
string[]
The sections to return. Leave it out to get every section.Unknown values are ignored. A section you leave out comes back as null, or "" for location and type.
include changes what you get back, not what you pay. A filtered search still costs 1 credit and isn’t served as a free repeat.

Example request

Return only the free sections:

Response

The lookup is in result. message is Phone search complete.
string
The number you looked up, in E.164 format.
string
The number as the data source returned it.
boolean
true when the number is correctly formed and dialable.
object | null
How to write the number.
object | null
Where the number is registered.
string
A readable location. Can be "".
string
The line type, for example mobile, landline, voip, or toll_free.
object | null
The network operator.
object
The carrier’s email-to-SMS gateway. Left out when unknown.
object
Whether the line is live. Left out when unknown.
object
Who the number is registered to. Left out when unknown.
object
Fraud signals. Left out when unknown. For a ready-made verdict, use Phone Risk.
object
Breach exposure. Left out when unknown.
number
Credits charged: 1, or 0 for a free repeat.
boolean
Present and true only on a free repeat, when the result is your own earlier search of this number from the last 14 days.

Errors

See Phone Lookup errors. Search adds no other cases.

Credits

Each search costs 1 credit. Searching the same number again within 14 days returns your earlier result for free, with credits: 0 and cached: true. A search with a filtered include is always charged. +14155552671 is a free sample number.