Get NANPA Prefix#

Returns information about single NANPA prefix.

Request#

HTTP Method: GET

URI Path: /v3/nanpa_prefixes/{id}

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

Includes#

Value

Description

country

Country Object

region

Region Object

Examples#

http

1GET /v3/nanpa_prefixes/1d968dcf-8ee7-40fa-8073-cdbc027bc3b3 HTTP/1.1
2Host: api.didww.com
3Content-Type: application/vnd.api+json
4Accept: application/vnd.api+json
5Authorization: Bearer [access token]

curl

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

response

 1HTTP/1.1 200 OK
 2Content-Type: application/vnd.api+json
 3
 4{
 5    "data": {
 6        "id": "1d968dcf-8ee7-40fa-8073-cdbc027bc3b3",
 7        "type": "nanpa_prefixes",
 8        "attributes": {
 9            "npa": "201",
10            "nxx": "221"
11        },
12        "relationships": {
13            "country": {
14                "links": {
15                    "self": "https://api.didww.com/v3/nanpa_prefixes/1d968dcf-8ee7-40fa-8073-cdbc027bc3b3/relationships/country",
16                    "related": "https://api.didww.com/v3/nanpa_prefixes/1d968dcf-8ee7-40fa-8073-cdbc027bc3b3/country"
17                }
18            },
19            "region": {
20                "links": {
21                    "self": "https://api.didww.com/v3/nanpa_prefixes/1d968dcf-8ee7-40fa-8073-cdbc027bc3b3/relationships/region",
22                    "related": "https://api.didww.com/v3/nanpa_prefixes/1d968dcf-8ee7-40fa-8073-cdbc027bc3b3/region"
23                }
24            }
25        }
26    },
27    "meta": {
28        "api_version": "2026-11-19"
29    }
30}

Other Responses#

Code

Success

Description

404

No

Not Found

401

No

Unauthorized

429

No

The request budget of the account for the current window is spent (too_many_requests). Retry-After gives the number of seconds to wait.