Batch phone number lookup
/phone-numbers/batchLooks 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
AuthorizationRequiredstringYour API key, sent as a bearer token: Authorization: Bearer <api_key>. Editing this stays in sync with the API key box on the right.
Body parameters
JSONnumbersRequiredstring[]enrichoptionalLookupDataSet[]Data sets to look every number up for; each is billed per number. Omit it for the free parse.
Returns
dataoptionalPhoneNumberLookup[]
dataoptionalPhoneNumberLookup[]Array of PhoneNumberLookup
inputRequiredstringThe number as given.
validRequiredbooleanerroroptionalstringWhy the number couldn't be parsed. Present only then.
possibleoptionalbooleane164optionalstringnationaloptionalstringinternationaloptionalstringcountry_calling_codeoptionalstringcountryoptionalstring | nullISO 3166-1 alpha-2.
national_numberoptionalstringtypeoptionalstring | nullThe type by numbering plan, e.g. MOBILE, FIXED_LINE, FIXED_LINE_OR_MOBILE, TOLL_FREE.
locationoptionalobject | nullWhere a North American number's exchange is.
locationoptionalobject | nullWhere a North American number's exchange is.
cityoptionalstringregionoptionalstringregion_nameoptionalstringarea_codeoptionalstringNorth American numbers only.
exchangeoptionalstringNorth American numbers only.
area_code_regionoptionalstringNorth American numbers only, e.g. Chicago, IL.
portabilityoptionalobject | null
portabilityoptionalobject | nullportedoptionalboolean | nullWhether the number was ported from the carrier it was issued by.
ported_dateoptionalstring | nullline_typeoptionalstring | nulle.g. mobile, fixed_line, voip, fixed_line_or_mobile.
lrnoptionalstring | nullLocation Routing Number.
ocnoptionalstring | nullOperating Company Number of the serving carrier.
spidoptionalstring | nullService provider ID of the serving carrier.
spid_carrier_nameoptionalstring | nullcityoptionalstring | nullstateoptionalstring | nullcarrieroptionalobject | null
carrieroptionalobject | nullnameoptionalstring | nullnormalized_nameoptionalstring | nullThe carrier's brand, e.g. AT&T.
line_typeoptionalstring | nulle.g. mobile, fixed_line, voip.
mobile_country_codeoptionalstring | nullMCC; mobile numbers only.
mobile_network_codeoptionalstring | nullMNC; mobile numbers only.
caller_nameoptionalstring | nullThe caller ID (CNAM) name.
enhanced_caller_nameoptionalobject | null
enhanced_caller_nameoptionalobject | nullnameoptionalstring | nullentity_typeoptionalstring | nulle.g. business.
caller_identityoptionalobject | null
caller_identityoptionalobject | nullnameoptionalstring | nullThe number's owner.
addressoptionalobject | null
addressoptionalobject | nullstreet_line_1optionalstring | nullstreet_line_2optionalstring | nullcityoptionalstring | nullstate_codeoptionalstring | nullpostal_codeoptionalstring | nullzip4optionalstring | nullcountry_codeoptionalstring | nullconfidence_scoreoptionalnumber | nullHow 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_erroroptionalstringBatch only: why the number's lookup failed (upstream_unavailable, lookup_rejected, telephony_unavailable). It isn't billed.
Response codes
Sends a live request with your values and shows the real response below. Your key is stored only in this browser.
curl -X POST https://api.blooio.com/v4/phone-numbers/batch \{ "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" } ]}