Phone Numbersv4

Batch phone number lookup

POST/phone-numbers/batch

Looks up up to 100 phone numbers, as the single lookup does, in the order given. Free without enrich; with it, each valid number's lookup is billed per data set named, at the lookup's prices. A number whose lookup failed has enrichment_error and isn't billed. 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
numbersRequiredstring[]
enrichoptionalLookupDataSet[]

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

Returns

dataoptionalPhoneNumberLookup[]

Array of PhoneNumberLookup

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 results
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`numbers` is missing, empty, over 100, or not all strings; or `invalid_enrich`: `enrich` named no data set, or one that isn't a data set, and `details.allowed` lists them. Nothing is looked up or billed.

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/batch \
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"    }  ]}