Skip to main content
GET
Countries Dataset
Use the Countries Dataset when you need localization in your product—country names, standard ISO codes, continent mapping, and currency codes. It’s especially helpful for travel apps that need to automatically display local currency or present country-aware UI.

Authentication

string
required
Your FlyStack API token. You can create one from the dashboard (see Authentication).

Query parameters

string
Filter by country ISO-2 code (e.g., US).
string
Filter by country ISO-3 code (e.g., USA).
string
Filter by continent code: AF, AN, AS, EU, NA, OC, SA.
string
Comma-separated list of fields to return (e.g., name,code,code3,currency).

Response

The endpoint returns a list of countries.

Countries dataset response fields

string
Country name.
string
ISO-2 country code.
string
ISO-3 country code.
number
Total country population (when available).
string
Continent code (AF, AN, AS, EU, NA, OC, SA).
string
Main currency code (when available).
object
Alternative names in different languages (when available).

See also