Get NANPA Prefix

Returns information about single NANPA prefix.

Request

HTTP Method: GET

URI Path: /v3/nanpa_prefixes/

Note

For all returned data attributes, see Nanpa Prefixes Object.

URI Query Parameters

Name

Type

Is Required?

Description

id

string

Yes

Unique ID identifier of the NANPA Prefix.

include

string

No

Inclusion

Examples

http

GET /v3/nanpa_prefixes/1d968dcf-8ee7-40fa-8073-cdbc027bc3b3 HTTP/1.1
Host: api.didww.com
Content-Type: application/vnd.api+json
Accept: application/vnd.api+json
Api-Key: [API Token]

curl

curl -i -X GET https://api.didww.com/v3/nanpa_prefixes/1d968dcf-8ee7-40fa-8073-cdbc027bc3b3 -H "Accept: application/vnd.api+json" -H "Api-Key: [API Token]" -H "Content-Type: application/vnd.api+json"

response

HTTP/1.1 200 OK
Content-Type: application/vnd.api+json

{
    "data": {
        "id": "1d968dcf-8ee7-40fa-8073-cdbc027bc3b3",
        "type": "nanpa_prefixes",
        "attributes": {
            "npa": "201",
            "nxx": "221"
        },
        "relationships": {
            "country": {
                "links": {
                    "self": "https://api.didww.com/v3/nanpa_prefixes/1d968dcf-8ee7-40fa-8073-cdbc027bc3b3/relationships/country",
                    "related": "https://api.didww.com/v3/nanpa_prefixes/1d968dcf-8ee7-40fa-8073-cdbc027bc3b3/country"
                }
            },
            "region": {
                "links": {
                    "self": "https://api.didww.com/v3/nanpa_prefixes/1d968dcf-8ee7-40fa-8073-cdbc027bc3b3/relationships/region",
                    "related": "https://api.didww.com/v3/nanpa_prefixes/1d968dcf-8ee7-40fa-8073-cdbc027bc3b3/region"
                }
            }
        }
    },
    "meta": {
        "api_version": "2026-04-16"
    }
}

Other Responses

Code

Success

Description

404

No

Not Found

401

No

Unauthorized