---
title: "List countries"
method: GET
path: "/countries"
tags: ["Reference"]
---

# List countries

`GET /countries`

## Request

- Base URL: `https://gorest.co.in/public/v3`
- URL: `https://gorest.co.in/public/v3/countries`
- Auth: none required

## Query parameters

- `page[size]` integer
- `page[after]` string
- `page[number]` integer
- `page[count]` boolean
- `search` string
- `filter` object
  - `currency_code` string
  - `region` string
- `sort` 'name' | '-name' | 'code' | '-code'
- `fields` object
  - `countries` string
- `include` 'currency'

## Headers

- `If-None-Match` string

## Response `200`

One page of countries.

- CountryList
  - `data` Country[], required
    - `alpha3` string
    - `calling_code` string, nullable: The E.164 country calling code; null where there is none.
    - `code` string, required: ISO 3166-1 alpha-2.
    - `currency` Currency: An ISO 4217 currency. Every field is present unless `fields[currencies]` asks for fewer.
      - `code` string, required
      - `minor_unit` integer: Digits after the decimal point: an amount in minor units is the amount times 10 to this power.
      - `name` string
      - `symbol` string: The English symbol (Unicode CLDR); the code when there is none.
    - `currency_code` string, nullable: The currency in use; null where there is none.
    - `name` string
    - `numeric_code` string
    - `region` 'Africa' | 'Americas' | 'Asia' | 'Europe' | 'Oceania' | 'null', nullable: The UN M49 continent; null for Antarctica.
  - `meta` ListMeta, required
    - `has_more` boolean, required: More items follow this page.
    - `next_cursor` string, nullable, required: Send as `page[after]` for the next page; null on the last page and with offset paging.
    - `total` integer, nullable, required: All matching items; only with `page[number]` or `page[count]=true`, else null.

## Other responses

- `304`: Not changed since the ETag in `If-None-Match`; no body.
- `400`: A parameter is wrong, unknown or out of range.
- `401`: No token, or the token is wrong, expired or revoked.
- `429`: Over the rate limit; wait `Retry-After` seconds.
- `500`: Something failed on the server.

---

[API](https://skmtc.dev/gorest/apis/gorest-api-v3.md) - [All operations](https://skmtc.dev/gorest/apis/gorest-api-v3/llms.txt) - [OpenAPI document](https://skmtc.dev/gorest/apis/gorest-api-v3/revisions/89aa429755a6?raw)
