LRN / LERG Data Lookup

Overview

Lookup Carrier details for specified number.
Requests to this endpoint will incur API charges to the account. An account must have LRN dipping enabled in order to complete the request.

Authentication

Authentication is done by passing your TSG Global API key via the Authorization header in the format "Authorization: Bearer <api_key>"

Method

get
https://api-service.tsgglobal.world/v1/lerg/lrn?did=<1NPANXXXXXX>

Example GET

https://api-service.tsgglobal.world/v1/lerg/lrn?number=12022011234&lrn=e164&carrier_name=yes

Error Codes

  • -1000 Invalid or Blank API Key
  • -1004 Contact TSG Support to Enable LRN API on your account.
  • -1010 Lookup error.
  • -1005 Your account balance is low.
  • -1020 Invalid Request.