Enhanced Insights API The Enhanced Insights API, also called the LERG / LRN lookup, is a web service that returns LERG and LRN data for a telephone number: the operating company, OCN, line type (prefix type), rate center, LATA, and routing number.
This API requires an API key. Find your key on the Organization settings page of the Smart Carrier dashboard. If you cannot find it, contact support@smartcarrier.io .
To review past requests, see the Enhanced Insight / LERG / LRN log .
For a walkthrough of the service, watch Smart Carrier Enhanced Insights on YouTube.
Download for Postman Field Value Endpoint https://api.smartcarrier.io/v2/enhanced-insights?Method GETParameter TelephoneNumberHeader x-api-key (get your API key )Example https://api.smartcarrier.io/v2/enhanced-insights?TelephoneNumber=17145550123
Request parameters Parameter Type Description TelephoneNumberstring The 10-digit or 11-digit phone number to look up.
Sample response {
"RequestGuid" : "11111111-2222-3333-4444-555555555555" ,
"AccountGuid" : "12345678-1234-1234-1234-123456789012" ,
"PhoneNumber" : "17145550123" ,
"E164FormattedNumber" : "+17145550123" ,
"CountryCode" : "US" ,
"RequestingIP" : "203.0.113.10" ,
"LERG" : {
"RequestGuid" : "66666666-7777-8888-9999-000000000000" ,
"RoutingNumber" : "17145550000" ,
"NPA" : "714" ,
"NXX" : "555" ,
"Block" : "A" ,
"USState" : "CA" ,
"Company" : "EXAMPLE TELECOM, INC." ,
"OCN" : "1234" ,
"RateCenter" : "EXAMPLE" ,
"CLLI" : "EXMPLCAXX01" ,
"Assigned_Date" : null ,
"PrefixType" : "WIRELESS" ,
"SwitchName" : "" ,
"SwitchType" : "" ,
"LATA" : "999" ,
"Country" : "US" ,
"TollFree" : false ,
"IsValid" : true ,
"RequestedAt" : "2025-01-01T12:00:01.0000000Z" ,
"ElapsedMilliseconds" : 240
},
"LRN" : {
"RequestGuid" : "11111111-2222-3333-4444-555555555555" ,
"IPAddress" : "203.0.113.10" ,
"TelephoneNumber" : "17145550123" ,
"RoutingNumber" : "17145550000" ,
"ElapsedMilliseconds" : 513 ,
"RequestedAt" : "2025-01-01T12:00:00.5000000Z"
},
"RequestedAt" : "2025-01-01T12:00:00.0000000Z" ,
"ProcessingTime" : 3243 ,
"ApplicationVersion" : "23" ,
"ReturnStatus" : "Success" ,
"ReturnCode" : 200 ,
"Module" : "EnhancedInsights"
} What do these values mean? Response fields Field Description RequestGuidA unique identifier assigned to this request. AccountGuidThe account associated with this request. PhoneNumberThe telephone number queried. E164FormattedNumberThe E.164 representation of the telephone number. CountryCodeThe country the phone number is associated with. RequestingIPThe IP which initiated the request. LERGThe Local Exchange Routing Guide record for the number. See LERG fields . LRNThe Location Routing Number lookup for the number. See LRN fields . RequestedAtWhen the request was received (UTC). ProcessingTimeTotal time to complete the request, in milliseconds. ApplicationVersionThe version of the service that handled the request. ReturnStatusOutcome of the request: Success or an error status. ReturnCodeHTTP status code for the outcome. ModuleThe Smart Carrier module that handled the request (EnhancedInsights).
LERG fields Field Description RequestGuidA unique identifier for the LERG lookup. It differs from the top-level RequestGuid. RoutingNumberThe Location Routing Number (LRN) for the number range. NPANumbering Plan Area (area code). NXXCentral office exchange code (prefix). BlockThousand-block designation. USStateTwo-letter state or territory abbreviation of the rate center. CompanyThe operating company name for the number range. OCNOperating Company Number, a 4-digit identifier for the service provider. RateCenterThe rate center assigned to the exchange. CLLICommon Language Location Identifier code for the destination switch. Assigned_DateThe date the code or block was assigned. null when no date is on record. PrefixTypeLine type classification, such as WIRELESS. SwitchNameThe switch designation for call termination. Empty when not on record. SwitchTypeThe switch type. Empty when not on record. LATALocal Access and Transport Area code. CountryThe country of the destination. TollFreetrue if the number is toll free.IsValidtrue if the lookup returned a valid LERG record.RequestedAtWhen the LERG lookup ran (UTC). ElapsedMillisecondsTime the LERG lookup took, in milliseconds.
LRN fields Field Description RequestGuidThe identifier of the request. It matches the top-level RequestGuid. IPAddressThe IP which initiated the request. TelephoneNumberThe telephone number looked up. RoutingNumberThe Location Routing Number (LRN) for the number. ElapsedMillisecondsTime the LRN lookup took, in milliseconds. RequestedAtWhen the LRN lookup ran (UTC).