> Tychron Atlas API & Provisioning Reference — chapter 18 of 48 as Markdown. Web version: https://docs.tychron.com/api-reference/lrn-dip/
> Source: https://docs.tychron.com/api-reference/ · Updated 2026-11-30 · Generated from the Atlas OpenAPI spec (https://api.atlas.tychron.online/api/v1/openapi is the live contract; this file is a dated snapshot of it).
> Source revision: atlas_api_reference_2026-08-12.md · sha256 1a80314271ee6ef6 · sanitize gate v1 clean · reconciled with OpenAPI 2026.11.23-p02 (spec sha256 42031edc7de10063) on 2026-11-30 · content last modified 2026-11-30 · this chapter's content last changed 2026-11-30
> Scope: the Atlas platform API only. The SMS, MMS, CNAM, LRN and MCL services are separate APIs with their own specifications: https://docs.tychron.com/openapi/
> Machine index: https://docs.tychron.com/llms.txt

# LRN Dip

## Schema

The result of an LRN dip: the Local Routing Number for a NANP number, with the enhanced (eLRN) carrier and block data and the messaging-provider data when they are requested.


__Type__ Object

| Name               | Type                    | Description                            |
| ------------------ | ----------------------- | -------------------------------------- |
| `number`           | String                  | The number from the request.           |
| `lrn`              | String                  | [Desc. `lrn`](https://docs.tychron.com/api-reference/lrn-dip/#desc-1164)              |
| `lrn_activated_at` | String                  | [Desc. `lrn_activated_at`](https://docs.tychron.com/api-reference/lrn-dip/#desc-1165) |
| `enhanced`         | [SubObject](https://docs.tychron.com/api-reference/lrn-dip/#type-1170) | eLRN block; null unless enhanced=true. |
| `messaging`        | [SubObject](https://docs.tychron.com/api-reference/lrn-dip/#type-1175) | [Desc. `messaging`](https://docs.tychron.com/api-reference/lrn-dip/#desc-1176)        |

#### Desc. `lrn` {#desc-1164}

The dipped LRN; equals the queried number if it was never ported.

#### Desc. `lrn_activated_at` {#desc-1165}

When the number was last ported; null if never ported.

#### SubObject {#type-1170}

Sub-Schema

__Type__ Object

| Name           | Type   | Description                             |
| -------------- | ------ | --------------------------------------- |
| `carrier`      | String | Carrier the queried number belongs to.  |
| `carrier_type` | String | [Desc. `carrier_type`](https://docs.tychron.com/api-reference/lrn-dip/#desc-1166)      |
| `city`         | String |                                         |
| `country_code` | String | Country of origin of the number.        |
| `county`       | String | [Desc. `county`](https://docs.tychron.com/api-reference/lrn-dip/#desc-1167)            |
| `lata`         | String | Local Access Transport Area code.       |
| `ocn`          | String | Operating Company Number.               |
| `rate_center`  | String | Rate center the number is loaded under. |
| `state`        | String |                                         |
| `timezone`     | String | [Desc. `timezone`](https://docs.tychron.com/api-reference/lrn-dip/#desc-1168)          |
| `zip_code`     | String | [Desc. `zip_code`](https://docs.tychron.com/api-reference/lrn-dip/#desc-1169)          |

#### Desc. `carrier_type` {#desc-1166}

Carrier's service-provider type. One of ILEC, ICO, ULEC, RBOC, CLEC, CAP, IXC, WRSL, IPES, ETHX, INTL, LRSL, WIRELESS, PCS, PCSR, PAGING.

#### Desc. `county` {#desc-1167}

County of the number's switch; may be empty.

#### Desc. `timezone` {#desc-1168}

Timezone of the number's switch (UTC offset); may be empty.

#### Desc. `zip_code` {#desc-1169}

Zip code of the number's switch; may be empty.

#### Desc. `messaging` {#desc-1176}

Messaging provider block; null unless messaging_lookup=true.

#### SubObject {#type-1175}

Sub-Schema

__Type__ Object

| Name           | Type    | Description                              |
| -------------- | ------- | ---------------------------------------- |
| `country`      | String  | Origin country of the number's provider. |
| `country_code` | String  | [Desc. `country_code`](https://docs.tychron.com/api-reference/lrn-dip/#desc-1171)       |
| `enabled`      | Boolean | [Desc. `enabled`](https://docs.tychron.com/api-reference/lrn-dip/#desc-1172)            |
| `provider`     | String  | [Desc. `provider`](https://docs.tychron.com/api-reference/lrn-dip/#desc-1173)           |
| `reference_id` | String  | [Desc. `reference_id`](https://docs.tychron.com/api-reference/lrn-dip/#desc-1174)       |

#### Desc. `country_code` {#desc-1171}

ISO country code of the number's provider.

#### Desc. `enabled` {#desc-1172}

Whether the queried number is capable of SMS or MMS.

#### Desc. `provider` {#desc-1173}

Messaging provider if messaging-enabled, otherwise the voice provider.

#### Desc. `reference_id` {#desc-1174}

Tychron-issued internal ID grouping the service provider.



__Example__

```json
{
  "number": "12003004000",
  "lrn": "12003004000",
  "lrn_activated_at": null,
  "enhanced": null,
  "messaging": null
}
```


## Summary

Look up the Local Routing Number for a NANP number. The same endpoint serves the enhanced tier (eLRN) via the `enhanced` flag (geo/carrier block data) and messaging-provider data via `messaging_lookup` — both may incur additional costs. Text output supports the base dip only (combining it with enhanced or messaging_lookup returns 400). Dips for Canadian numbers require additional permissions. Authenticate with your API Key's HTTP token as a Bearer credential.

Query results are licensed for the immediate transaction that generated the query. Under Tychron's [Acceptable Use Policy](https://www.tychron.com/company/acceptable-use-policy/), results may not be cached, stored, or reused for later transactions or used to build any dataset or directory, and may not be used for eligibility decisions regulated by the Fair Credit Reporting Act — query fresh, every time.

This endpoint is not part of the Atlas OpenAPI definition. This chapter follows the customer-facing contract on the [LRN API page](https://docs.tychron.com/lrn-api/) and its [OpenAPI specification](https://docs.tychron.com/openapi/lrn.openapi.yaml); that page also has troubleshooting for each response code and code samples.

## API

### LRN dip (optionally eLRN / messaging)

```http
GET /api/v1/lrn/{number} HTTP/1.1
```

Returns the dipped LRN (which equals the queried number when the number has never been ported). Set `enhanced=true` for the eLRN block (carrier, geography, LATA/OCN) and `messaging_lookup=true` for the messaging provider block.


__Path Parameters__

| Name   | Type    | Description                     |
| ------ | ------- | ------------------------------- |
| number | String! | [Path Desc. number](https://docs.tychron.com/api-reference/lrn-dip/#desc-1177) |

__Query Parameters__

| Name              | Type                                      | Description                                 |
| ----------------- | ----------------------------------------- | ------------------------------------------- |
| enhanced          | Boolean                                   | [Query Desc. enhanced](https://docs.tychron.com/api-reference/lrn-dip/#desc-1178)          |
| messaging_lookup  | Boolean                                   | [Query Desc. messaging_lookup](https://docs.tychron.com/api-reference/lrn-dip/#desc-1179)  |
| number_format     | Enum(`11digit`, `10digit`, `e164`):String | [Query Desc. number_format](https://docs.tychron.com/api-reference/lrn-dip/#desc-1180)     |
| output            | Enum(`json`, `text`):String               | [Query Desc. output](https://docs.tychron.com/api-reference/lrn-dip/#desc-1181)            |
| enable_cdr_export | Boolean                                   | [Query Desc. enable_cdr_export](https://docs.tychron.com/api-reference/lrn-dip/#desc-1182) |

#### Path Desc. number {#desc-1177}

A valid NANP number, formatted per number_format (default 11-digit).

#### Query Desc. enhanced {#desc-1178}

Include the enhanced (eLRN) block — carrier and block information. May incur additional costs.

Default: `false`

#### Query Desc. messaging_lookup {#desc-1179}

Include the messaging provider block. May incur additional costs.

Default: `false`

#### Query Desc. number_format {#desc-1180}

Format of the queried number.

Default: `11digit`

#### Query Desc. output {#desc-1181}

Response output format. Text output cannot be combined with enhanced or messaging_lookup (returns 400).

Default: `json`

#### Query Desc. enable_cdr_export {#desc-1182}

Forward CDRs generated by this request to any configured CDR Webhooks.

Default: `false`

#### Request

```http
GET /api/v1/lrn/{number} HTTP/1.1
Accept: application/json
```
#### Response 200

##### application/json

__Base LRN dip (no flags) — unported number__

```http
HTTP/1.1 200
Content-Type: application/json
Content-Length: 164
```

```json
{
  "data": {
    "number": "12003004000",
    "lrn": "12003004000",
    "lrn_activated_at": null,
    "enhanced": null,
    "messaging": null
  },
  "errors": []
}
```

__Base dip — ported number__

```http
HTTP/1.1 200
Content-Type: application/json
Content-Length: 189
```

```json
{
  "data": {
    "number": "12003004000",
    "lrn": "17463334653",
    "lrn_activated_at": "2021-09-01T00:00:00.000000Z",
    "enhanced": null,
    "messaging": null
  },
  "errors": []
}
```

__eLRN (enhanced=true)__

```http
HTTP/1.1 200
Content-Type: application/json
Content-Length: 491
```

```json
{
  "data": {
    "number": "12003004000",
    "lrn": "17463334653",
    "lrn_activated_at": "2021-09-01T00:00:00.000000Z",
    "enhanced": {
      "carrier": "CARRIER NAME",
      "carrier_type": "CLEC",
      "city": "CITY NAME",
      "zip_code": "12345",
      "county": "COUNTY NAME",
      "timezone": "-0500",
      "state": "FL",
      "rate_center": "RATECENTER",
      "lata": "876",
      "ocn": "333",
      "country_code": "US"
    },
    "messaging": null
  },
  "errors": []
}
```

__eLRN + messaging (both flags)__

```http
HTTP/1.1 200
Content-Type: application/json
Content-Length: 642
```

```json
{
  "data": {
    "number": "12003004000",
    "lrn": "17463334653",
    "lrn_activated_at": "2021-09-01T00:00:00.000000Z",
    "enhanced": {
      "carrier": "CARRIER NAME",
      "carrier_type": "CLEC",
      "city": "CITY NAME",
      "zip_code": "12345",
      "county": "COUNTY NAME",
      "timezone": "-0500",
      "state": "FL",
      "rate_center": "RATECENTER",
      "lata": "876",
      "ocn": "333",
      "country_code": "US"
    },
    "messaging": {
      "enabled": true,
      "provider": "ACME Corp",
      "country": "United States",
      "country_code": "US",
      "reference_id": "us_acme"
    }
  },
  "errors": []
}
```

##### text/plain

The dipped LRN only (base dip; equals the queried number when unported).

```http
HTTP/1.1 200
Content-Type: text/plain
Content-Length: 11
```

```text
12003004000
```

__Response Headers__

| Name         | Description                                                                                    |
| ------------ | ---------------------------------------------------------------------------------------------- |
| X-Request-ID | ID identifying the HTTP request.                                                               |
| X-CDR-ID     | ID of the CDR (Call Detail Record) generated by the request; provide it for billing questions. |

#### Other Responses

| Code | Description                                                                                                     |
| ---- | --------------------------------------------------------------------------------------------------------------- |
| 400  | Bad Request — invalid parameters, most likely text output combined with the messaging_lookup or enhanced flags. |
| 401  | Unauthorized — missing, invalid, or expired API token, or the account is not permitted.                         |
| 402  | Payment Required — insufficient balance or credit limit exceeded.                                               |
| 403  | Forbidden — currently applies to Canadian dips, which require additional permissions.                           |
| 415  | Unsupported Media Type — remove the Content-Type header; this is a GET with query parameters.                   |
| 422  | Unprocessable Entity — parameters failed validation; the body contains details.                                 |
| 500  | Internal Server Error.                                                                                          |

---

Previous chapter: https://docs.tychron.com/api-reference/cnam-dip.md  
Next chapter: https://docs.tychron.com/api-reference/mcl-dip.md  
Complete reference in one file: https://docs.tychron.com/llms-full.txt
