---
title: "Fetch all countries"
method: GET
path: "/countries"
tags: ["Country"]
---

# Fetch all countries

`GET /countries`

Returns all countries from the system

## Query parameters

- `token` string, string, required
- `sort` string, string
- `sortby` string, string
- `page` string, string
- `fields` string, string
- `q` string, string
- `limit` string, string

## Response `200`

Fetched countries

- Country
  - `id` integer
  - `created_at` string
  - `updated_at` string
  - `iso_alpha2` string
  - `iso_alpha3` string
  - `iso_numeric` integer
  - `fips_code` string
  - `name` string
  - `capital` string
  - `areainsqkm` number, float
  - `population` integer
  - `continent` string
  - `tld` string
  - `currency` string
  - `currencyname` string
  - `phone` string
  - `postalcodeformat` string
  - `postalcoderegex` string
  - `languages` string
  - `geonameid` integer
  - `neighbours` string
  - `equivalentfipscode` string

## Other responses

- `default` — Unexpected error

---

[API](https://skmtc.net/agriya/apis/oliker-api-endpoint.md) · [All operations](https://skmtc.net/agriya/apis/oliker-api-endpoint/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/agriya/oliker-api-endpoint/revisions/d716960b8cd5/schema)
