Global - Phone Basic
API Referenceโ
Endpointโ
https://api.verifik.co/v2/look-ups/phone-basic
The Phone Basic service returns line details for a worldwide mobile or landline number: current and original carrier, line type, SIM type, whether the line is active, and porting signals. It does not return the owner name, gender, addresses or online presence. Send countryCode (numeric calling code) and phone (national number, no country prefix) via GET (query) or POST (JSON body).
Pricingโ
Fixed price per successful lookup โ the same price as the Line details component of Phone Lookup. Use this endpoint when you only need this data and want a predictable cost per call. A 404 (nothing found) is never charged.
Phone Lookup (/v2/look-ups/phone) returns identity, line details and online presence together with dynamic pricing (you pay for each component returned). The single-component endpoints are:
| Endpoint | Returns | Price |
|---|---|---|
/v2/look-ups/id-enrichment | Owner identity: name, gender, addresses | Fixed |
/v2/look-ups/phone-basic | Line details: carrier, line type, activity, porting | Fixed |
/v2/look-ups/phone-social | Online presence: registered online services | Fixed |
/v2/look-ups/phone | All of the above when available | Dynamic (sum of components returned) |
Per-plan prices are listed on your dashboard pricing page.
Headersโ
| Name | Value |
|---|---|
| Content-Type | application/json |
| Authorization | Bearer <token> |
Parametersโ
| Name | Type | Required | Description |
|---|---|---|---|
countryCode | string | Yes | Numeric calling code, not ISO2. Example: 57 for Colombia, 1 for the United States. |
phone | string | Yes | National number of the line to look up, without the country prefix, spaces, or punctuation. |
Requestโ
- JavaScript
- Python
import axios from "axios";
const options = {
method: "GET",
url: "https://api.verifik.co/v2/look-ups/phone-basic",
params: { countryCode: "57", phone: "3006094511" },
headers: {
Accept: "application/json",
Authorization: "Bearer <your_token>",
},
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
import http.client
conn = http.client.HTTPSConnection("api.verifik.co")
payload = ""
headers = {"Authorization": "Bearer <your_token>"}
conn.request("GET", "/v2/look-ups/phone-basic?countryCode=57&phone=3006094511", payload, headers)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
Responseโ
- 200
- 404
- 409 (Missing Parameters)
- 409 (Upstream Unavailable)
{
"data": {
"about": "Carrier X",
"countryCode": "57",
"lineDetails": {
"activeSinceDays": 900,
"carrier": "Carrier X",
"isActive": true,
"isDisposable": false,
"isPorted": true,
"lastPortedDate": "2023-11-02T14:20:00Z",
"lineType": "MOBILE",
"numberOfPorts": 1,
"originalCarrier": "Carrier Y",
"simType": "POSTPAID"
},
"phone": "3006094511",
"phones": [
{ "countryCode": "CO", "dialingCode": 57, "e164Format": "+573006094511", "nationalFormat": "3006094511" }
]
},
"signature": {
"dateTime": "March 13, 2024 10:48 PM",
"message": "Certified by Verifik.co"
}
}
{
"code": "NotFound",
"message": "Record not found."
}
{
"code": "MissingParameter",
"message": "countryCode|phone is missing"
}
{
"code": "Conflict",
"message": "Endpoint out of service."
}
Notesโ
- GET and POST are both supported. POST accepts the same fields in a JSON body.
countryCodeis the numeric calling code (for example57), not an ISO2 country code such asCO.- Send
phoneas the national number only โ do not prefix the country code again. lineDetailsfields may benullwhen unknown for that number.aboutrepeats the carrier name for compatibility with Phone Lookup.- Fixed price per successful lookup. A 404 means nothing was found and is never charged.
- The request answers within 55 seconds. A slow lookup returns 409 with
Endpoint timed out, try again later.and is not charged. - This endpoint does not prove the caller owns the handset. For OTP verification, use Phone Validations.