Get Switch Data V1

Gets switchData object with the request telephone number (tn)

Using an HTTP Request

Gets switchData object with the request telephone number (tn). Requires an authorization header or IP Auth setup through the portal

Request
path Parameters
tn
required
number <^[\d]{10}>

10 digit telephone number

Responses
200

Successful response

Response Schema: application/json
tn
required
string
ocn
string

Carrier number of block owner

carrier_name
string

Carrier name of block owner

mapped_svtype
string

0 -> Wireline , 1 -> Wireless , 2 -> VOIP

lata_id
string

Local Access and Transport Area ID

lata
string

Local Access and Transport Area Name

locality
string

Locality of number (A single city could be composed of multiple localities)

localitystate
string

State of locality

ratecenter
string

Rate center name of the number

400

Bad request with invalid/missing tn

Response Schema: application/json
error
string

Error parsing TN

401

Unauthorized request

Response Schema: application/json
error
string

Unauthorized request

get/Lookup/{tn}
Request samples
Response samples
application/json
{
  • "tn": "string",
  • "ocn": "string",
  • "carrier_name": "string",
  • "mapped_svtype": "string",
  • "lata_id": "string",
  • "lata": "string",
  • "locality": "string",
  • "localitystate": "string",
  • "ratecenter": "string"
}