Skip to main content

Extended LRN lookup using HTTP

GET 

/LRNLookup/:tn

Uses HTTP to retrieve the extended local routing number information (LRN).

Request

Path Parameters

    tn ^[\d]{10}required

    10-digit phone number

Query Parameters

    format json|xml

    Specify format for response either json or xml

Responses

200: Successful response

Schema

    tn stringrequired
    lrn string
    ported_status string

    Possible values: [Y, N]

    ocn string
    line_type string

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

    spid string
    spid_carrier_name string
    spid_carrier_type string
    altspid string
    altspid_carrier_name string
    altspid_carrier_type string

400: Bad request when missing tn

Schema

    error string

401: Unauthorized request

Schema

    error string
Loading...