Operations
- GETAll countries — Every country. Paginated, 100 items per page.
- GETCountry by ID — One country with continent, ISO code and flag image.
Route reference
Operations
The t query parameter selects the operation. Parameters not listed for an operation are ignored.
t |
Operation | Required | Optional |
|---|---|---|---|
list |
All countries. Every country. Paginated, 100 items per page. | — | page |
info |
Country by ID. One country with continent, ISO code and flag image. | id |
— |
Examples
All countries:
GET /v2.2/countries/?api_key=API_KEY&t=list&page=1
Country by ID:
GET /v2.2/countries/?api_key=API_KEY&t=info&id=4