Lookup phone number data
Returns information about the provided phone number.
Path parameters
The phone number to be looked up
Query parameters
Specifies the type of number lookup to be performed
Response
Successful response
Example response
{
"data": {
"record_type": "number_lookup",
"country_code": "US",
"national_format": "(0312) 945-7420",
"phone_number": "+13129457420",
"carrier": {
"mobile_country_code": "US",
"name": "Telnyx/4",
"type": "voip",
"normalized_carrier": "AT&T"
},
"caller_name": {
"caller_name": "TELNYX LLC",
"error_code": "10001"
},
"portability": {
"lrn": "2245701999",
"ported_status": "Y",
"ported_date": "2017-10-20",
"ocn": "073H",
"line_type": "voip",
"spid": "073H",
"spid_carrier_name": "Telnyx/4",
"spid_carrier_type": "3",
"altspid": "073H",
"altspid_carrier_name": "Telnyx/4",
"altspid_carrier_type": "3",
"city": "WAUKEGAN",
"state": "Illinois"
}
}
}Changes
Changed in 3 of the 99 revisions of this API.6
- ▲
the
//response's property type changed fromstringtointeger, and format from no format toint32for statusresponse-property-type-changed
- ▲
the
//response's property type changed fromstringtointeger, and format from no format toint32for statusresponse-property-type-changed
This revision also has 34 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲
- ▲
the
//response's property type changed fromintegertostring, and format fromint32to no format for statusresponse-property-type-changed
- ▲
the
//response's property type changed fromintegertostring, and format fromint32to no format for statusresponse-property-type-changed
This revision also has 64 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲
- ▲
the
//response's property type changed fromstringtointeger, and format from no format toint32for statusresponse-property-type-changed
- ▲
the
//response's property type changed fromstringtointeger, and format from no format toint32for statusresponse-property-type-changed
This revision also has 41 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲
Of the 99 revisions, 1 has no diff computed.