CNAM Dip
Schema
The result of a CNAM dip: the caller name (CNAM) and spam classification for an 11-digit North American Numbering Plan (NANP) number.
Type Object
| Name | Type | Description |
|---|---|---|
number |
String | The number from the request. |
cnam |
String | Desc. cnam |
spam_type |
Enum(ROBOCALL, SPAM, FRAUD, INVALID_NUMBER, NONE):String |
Desc. spam_type |
Desc. cnam
The CNAM (caller name) value of the number.
Desc. spam_type
Whether the number is associated with a potential spam caller.
Example
{
"number": "12003004000",
"cnam": "JOHN DOE",
"spam_type": "NONE"
}
Summary
Look up the caller name and spam classification for an 11-digit NANP number. North American numbers only; 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, 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 CNAM API page and its OpenAPI specification; that page also has troubleshooting for each response code and code samples.
API
Look up CNAM for a number
GET /api/v1/cnam/{number} HTTP/1.1
Returns the CNAM (caller name) and spam classification for the number. Output defaults to JSON; select text with output=text or via the Accept header (Accept takes priority).
Path Parameters
| Name | Type | Description |
|---|---|---|
| number | String! | Path Desc. number |
Query Parameters
| Name | Type | Description |
|---|---|---|
| output | Enum(json, text):String |
Query Desc. output |
| enable_cdr_export | Boolean | Query Desc. enable_cdr_export |
Path Desc. number
An 11-digit, valid North American Numbering Plan (NANP) number.
Query Desc. output
Response output format.
Default: json
Query Desc. enable_cdr_export
Forward CDRs generated by this request to any configured CDR Webhooks.
Default: false
Request
GET /api/v1/cnam/{number} HTTP/1.1
Accept: application/json
Response 200
application/json
Normal caller
HTTP/1.1 200
Content-Type: application/json
Content-Length: 112
{
"data": {
"number": "12003004000",
"cnam": "JOHN DOE",
"spam_type": "NONE"
},
"errors": []
}
Spam-flagged caller
HTTP/1.1 200
Content-Type: application/json
Content-Length: 119
{
"data": {
"number": "12003004000",
"cnam": "SPAM LIKELY",
"spam_type": "ROBOCALL"
},
"errors": []
}
text/plain
The raw CNAM string only.
HTTP/1.1 200
Content-Type: text/plain
Content-Length: 8
JOHN DOE
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. |
| 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 — the account is not permitted to use the CNAM API. |
| 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. |