Skip to content

Carrier context with GET /phone/extra-details

The extended lookup: the operating carrier, its holding company and the wholesale-hosted flag for NANP numbers.

Last updated

GET /phone/extra-details answers everything GET /phone/details does and, for a NANP number (US, Canada, Caribbean) found in the NPA-NXX registry, adds the record of its number block: the operating carrier, its class and holding company, the wholesale-hosted flag, portability, and the block's rate center and market.

Credits: 3 for a NANP number in the registry, 1 for any other number (it then answers the standard fields only).

bash
curl --get "https://api.phone-check.app/phone/extra-details" \
  --data-urlencode "phone=+12013514000" \
  -H "x-api-key: $API_KEY"

The fields you'll use most#

FieldMeaning
ocnOperating Company Number of the carrier running the block
ocnCommonName, ocnCompany, ocnDbaThe carrier's common name, legal name and doing-business-as name
ocnHoldingThe holding company behind the carrier
ocnTypeCarrier class: CLEC, ILEC, WIRELESS, IPES, WRSL (wholesale) and others
isWholesaleHostedThe block runs on a wholesale or reseller carrier (MVNO SIMs, VoIP apps, second-number services)
lineTypeCodeRegistry line type: S fixed, C mobile, V VoIP, P pager
portableY when numbers in the block are portable
contaminationY when numbers of other carriers are ported or assigned inside the block
npa, nxx, blockIdArea code, exchange and thousand-block
state, rateCenter, countyName, zipWhere the block is
olsonTz, utcOffsetIANA time zone and UTC offset
latitude, longitudeRate center coordinates

The block record has many more fields (wire center, switch CLLI, LATA, CBSA/MSA, FIPS, trading areas, assignment dates); each is described in the API reference (opens another site).

Good to know#

  • Block data describes the number's original assignment. When portable is Y, the number may have moved to another carrier since.
  • Check that ocn is present before you rely on block fields: a number with no registry record answers the standard fields only.
  • Need the carriers of the whole exchange too? See Exchange intelligence with GET /phone/full-details.

Was this helpful?

Still need help?