Location Routing Number (LRN) Lookup
Looks up the LRN for the given phone number. The response is the plain text LRN with an optional semicolon delimited SPID. If an LRN is not found for the number the response will return the search number.
Server | lrn.infoserv.net |
Port | 56660 |
GET /(number)
eg. curl http://lrn.infoserv.net:56660/3036298301
Parameters
- number (string) – The number to look up
Status Codes
- 200 OK – The request was successful
Example request
GET /3036298301
Example response
GET /3036298301 HTTP/1.1
Host: lrn.infoserv.net:56660
User-Agent: curl/7.54.0
Accept: */*
HTTP/1.1 200 OK
Content-Type: text/plain
Content-Length: 15
7207081999;567G
Error response
GET /303629830155 HTTP/1.1
Host: lrn.infoserv.net:56660
User-Agent: curl/7.54.0
Accept: */*
HTTP/1.1 200 OK
Content-Type: text/plain
Content-Length: 15
BADCOMMAND