Phone Numbersv4

Look up a phone number (POST)

POST/phone-numbers/lookup

Same as the GET form, accepting the number and enrich in a JSON body. Free without enrich; with it, billed per data set named, at the lookup's prices. Requires an enterprise plan.

Headers

AuthorizationRequiredstring

Your API key, sent as a bearer token: Authorization: Bearer <api_key>. Editing this stays in sync with the API key box on the right.

Bearer

Body parameters

JSON
numberRequiredstring

Phone number in E.164.

enrichoptionalLookupDataSet[]

Data sets to look the number up for; each is billed. Omit it for the free parse.

Returns

dataoptionalPhoneNumberLookup

A phone number parsed, and with enrich, looked up. A data set's field is present only when enrich named it, and null when the number wasn't looked up or the network had no answer for it.

inputRequiredstring

The number as given.

validRequiredboolean
erroroptionalstring

Why the number couldn't be parsed. Present only then.

possibleoptionalboolean
e164optionalstring
nationaloptionalstring
internationaloptionalstring
country_calling_codeoptionalstring
countryoptionalstring | null

ISO 3166-1 alpha-2.

national_numberoptionalstring
typeoptionalstring | null

The type by numbering plan, e.g. MOBILE, FIXED_LINE, FIXED_LINE_OR_MOBILE, TOLL_FREE.

locationoptionalobject | null

Where a North American number's exchange is.

cityoptionalstring
regionoptionalstring
region_nameoptionalstring
area_codeoptionalstring

North American numbers only.

exchangeoptionalstring

North American numbers only.

area_code_regionoptionalstring

North American numbers only, e.g. Chicago, IL.

portabilityoptionalobject | null
portedoptionalboolean | null

Whether the number was ported from the carrier it was issued by.

ported_dateoptionalstring | null
line_typeoptionalstring | null

e.g. mobile, fixed_line, voip, fixed_line_or_mobile.

lrnoptionalstring | null

Location Routing Number.

ocnoptionalstring | null

Operating Company Number of the serving carrier.

spidoptionalstring | null

Service provider ID of the serving carrier.

spid_carrier_nameoptionalstring | null
cityoptionalstring | null
stateoptionalstring | null
carrieroptionalobject | null
nameoptionalstring | null
normalized_nameoptionalstring | null

The carrier's brand, e.g. AT&T.

line_typeoptionalstring | null

e.g. mobile, fixed_line, voip.

mobile_country_codeoptionalstring | null

MCC; mobile numbers only.

mobile_network_codeoptionalstring | null

MNC; mobile numbers only.

caller_nameoptionalstring | null

The caller ID (CNAM) name.

enhanced_caller_nameoptionalobject | null
nameoptionalstring | null
entity_typeoptionalstring | null

e.g. business.

caller_identityoptionalobject | null
nameoptionalstring | null

The number's owner.

addressoptionalobject | null
street_line_1optionalstring | null
street_line_2optionalstring | null
cityoptionalstring | null
state_codeoptionalstring | null
postal_codeoptionalstring | null
zip4optionalstring | null
country_codeoptionalstring | null
confidence_scoreoptionalnumber | null

How sure the match of owner to number is, 0–100.

enriched_withoptionalLookupDataSet[]

The data sets the number was looked up and billed for; empty when it wasn't looked up. Present only with enrich.

enrichment_erroroptionalstring

Batch only: why the number's lookup failed (upstream_unavailable, lookup_rejected, telephony_unavailable). It isn't billed.

Response codes

200Lookup result
400The request was malformed — check the path, query parameters, and body.
401Your API key is missing or invalid. Pass it as a bearer token.
403Your API key isn't allowed to access this phone number (blocked key or plan limit).
422`invalid_enrich`: `enrich` named no data set, or one that isn't a data set; `details.allowed` lists them. `lookup_rejected`: the phone network refused to look the number up. Nothing is billed.
502`upstream_unavailable`: the phone network couldn't be reached, and nothing is billed. Retry with backoff.
503`telephony_unavailable`: enriched lookups aren't configured. Look up without `enrich`, or retry later.

Sends a live request with your values and shows the real response below. Your key is stored only in this browser.

Request
curl -X POST https://api.blooio.com/v4/phone-numbers/lookup \
Body object
Response objectexample
{  "data": {    "input": "string",    "valid": false,    "error": "string",    "possible": false,    "e164": "string",    "national": "string",    "international": "string",    "country_calling_code": "US",    "country": "US",    "national_number": "string",    "type": "string",    "location": {      "city": "San Francisco",      "region": "string",      "region_name": "string"    },    "area_code": "string",    "exchange": "string",    "area_code_region": "string",    "portability": {      "ported": false,      "ported_date": "2025-01-15",      "line_type": "string",      "lrn": "string",      "ocn": "string",      "spid": "obj_a1b2c3d4",      "spid_carrier_name": "string",      "city": "San Francisco",      "state": "active"    },    "carrier": {      "name": "Jane Doe",      "normalized_name": "string",      "line_type": "string",      "mobile_country_code": "US",      "mobile_network_code": "string"    },    "caller_name": "string",    "enhanced_caller_name": {      "name": "Jane Doe",      "entity_type": "string"    },    "caller_identity": {      "name": "Jane Doe",      "address": {        "street_line_1": "string",        "street_line_2": "string",        "city": "San Francisco",        "state_code": "string",        "postal_code": "94105",        "zip4": "94105",        "country_code": "US"      },      "confidence_score": 0    },    "enriched_with": [      "portability"    ],    "enrichment_error": "string"  }}