Core Resources

Countries

Retrieve supported countries, VAT details, and country codes for compliance and billing.

Get list of countries

Returns a list of all countries with their details

Accepts: application/json
Returns: application/json

Parameters

no parameters


Response

array of Country

Reference Type:  Country

name
string
Name of the country
example: Germany
vat
number
Standard VAT (Value Added Tax) rate in percentage
example: 19.0
calling_code
integer
International calling code for the country
example: 49
iso_a2
string
ISO 3166-1 Alpha-2 country code (two-letter code)
example: DE
iso_a3
string
ISO 3166-1 Alpha-3 country code (three-letter code)
example: DEU
iso_num
integer
ISO 3166-1 numeric country code
example: 276
GET /v1/countries
curl -X GET https://api.serverista.com/v1/countries \
  -H "Authorization: ApiKey YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d ''
Response
[
{
  "calling_code": 123,
  "iso_a2": "example_iso_a2",
  "iso_a3": "example_iso_a3",
  "iso_num": 123,
  "name": "example_name",
  "vat": 123.45
}
]