List countries
GET
/v1/info/countries
const url = 'https://example.com/v1/info/countries';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://example.com/v1/info/countriesThe country dataset athena validates account.country against — ISO 3166-1 alpha-2 codes, lowercase, ordered by code. Static reference data: public, no paging, no filtering.
Responses
Section titled “Responses”OK
Media typeapplication/json
object
items
required
Array<object>
object
code
required
ISO 3166-1 alpha-2, lowercase.
string
name
required
string
Example
{ "items": [ { "code": "rs", "name": "Serbia" } ]}