# Get Country

Returns a country for a given country ID number. Note that a unique identification number is allocated to each country
included in the DIDWW coverage.

## Request

HTTP Method: `GET`

URI Path: `/v3/countries/`

Note

For all returned data attributes, see [Country Object](country-object.html).

### URI Query Parameters

| Name | Type | Is Required? | Description |
| --- | --- | --- | --- |
| id | `string` | Yes | Unique ID number for the country |

## Example

[[DIDWW-API-EXAMPLE-START]]

http

```
GET /v3/countries/e352699c-3764-415b-8946-dd470c1e0ed7 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/countries/e352699c-3764-415b-8946-dd470c1e0ed7 -H "Accept: application/vnd.api+json" -H "Api-Key: [API Token]" -H "Content-Type: application/vnd.api+json"
```

response

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

{
     "data":{
             "id": "e352699c-3764-415b-8946-dd470c1e0ed7",
             "type": "countries",
             "attributes": {
                     "name": "United Kingdom",
                     "prefix": "44",
                     "iso": "GB"
             }
     }
}
```

[[DIDWW-API-EXAMPLE-END]]

## Other Responses

| Code | Success | Description |
| --- | --- | --- |
| 404 | No | [Not Found](../../../specification/errors/index.html#api-not-found) |
| 401 | No | [Unauthorized](../../../configuration.html#api-key) |

On this page
