get
https://api.liteapi.travel/v3.0/data/countries
Overview
Get a complete list of all countries available in the system with their ISO-2 country codes. Essential for building country selection interfaces.
When to Use
- Country dropdowns - Populate country selection lists
- Location filters - Filter hotels or searches by country
- Form inputs - Build country selection forms
- Reference data - Get country codes for use in other endpoints
What You Get
- Country list - All available countries
- ISO-2 codes - Standard country codes (e.g., "US", "GB", "FR")
- Country names - Full country names
Quick Start
No parameters required. Returns all countries with their ISO-2 codes.
Recipes
🇪🇺
Display the countries list
Open Recipe