> For the complete documentation index, see [llms.txt](https://docs.sportmonks.com/v2/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.sportmonks.com/v2/cricket-api/our-api/countries/get-all-countries.md).

# GET All Countries

### `GET` All Countries

```
https://cricket.sportmonks.com/api/v2.0/countries
```

| Endpoint details        |         |
| ----------------------- | ------- |
| Authorization           | API Key |
| Pagination              | NO      |
| Allowed nested includes | 10      |

#### Parameters

| Available parameters |                                                                                                                                |
| -------------------- | ------------------------------------------------------------------------------------------------------------------------------ |
| include              | Enrich the API with more data and/or nested includes. Can be used by adding `&include=` etc. to your request url.              |
| filter               | Array of fields to filter on. Can be used by adding `&filter[{field you want to filter}].` For example: `&filter[name]=India.` |
| fields\[object]      | Only return fields you are interested in. Simply add `&fields[object]=id,name,code`  to your request url.                      |
| sort                 | One or comma separated list of fields to sort on. Can be used by adding `&sort=` to your request url.                          |

**Filters**

`name` `continent_id`

**Sort**

You can sort on all fields.

#### Include options

`leagues` `continent`

Includes are the cornerstone of our API and allow you to enrich and customize your requests. This flexibility is what distinguishes us from our competitors. &#x20;

You can learn more about what includes are and how they work here:

{% content-ref url="/pages/-MTeYiIp3JNsC4Lao5Nm" %}
[Enriching your response](/v2/cricket-api/getting-started/enriching-your-response.md)
{% endcontent-ref %}

#### Example response

{% tabs %}
{% tab title="Request" %}

```
https://cricket.sportmonks.com/api/v2.0/countries?api_token={API_TOKEN}
```

{% endtab %}

{% tab title="Response" %}

```javascript
 "data": [
        {
            "resource": "countries",
            "id": 2,
            "continent_id": 1,
            "name": "Poland",
            "image_path": "https://cdn.sportmonks.com/images/countries/png/short/pl.png",
            "updated_at": null
        },
        {
            "resource": "countries",
            "id": 5,
            "continent_id": 7,
            "name": "Brazil",
            "image_path": "https://cdn.sportmonks.com/images/countries/png/short/br.png",
            "updated_at": null
        },
        {
            "resource": "countries",
            "id": 11,
            "continent_id": 1,
            "name": "Germany",
            "image_path": "https://cdn.sportmonks.com/images/countries/png/short/de.png",
            "updated_at": null
        },
        {
            "resource": "countries",
            "id": 17,
            "continent_id": 1,
            "name": "France",
            "image_path": "https://cdn.sportmonks.com/images/countries/png/short/fr.png",
            "updated_at": null
        },
        {
            "resource": "countries",
            "id": 20,
            "continent_id": 1,
            "name": "Portugal",
            "image_path": "https://cdn.sportmonks.com/images/countries/png/short/pt.png",
            "updated_at": null
        },
        {
            "resource": "countries",
            "id": 23,
            "continent_id": 3,
            "name": "Côte d'Ivoire",
            "image_path": "https://cdn.sportmonks.com/images/countries/png/short/ci.png",
            "updated_at": null
        },
        {
            "resource": "countries",
            "id": 26,
            "continent_id": 3,
            "name": "Mali",
            "image_path": "https://cdn.sportmonks.com/images/countries/png/short/ml.png",
            "updated_at": null
        },
        {
            "resource": "countries",
            "id": 32,
            "continent_id": 1,
            "name": "Spain",
            "image_path": "https://cdn.sportmonks.com/images/countries/png/short/es.png",
            "updated_at": null
        },
        {
            "resource": "countries",
            "id": 38,
            "continent_id": 1,
            "name": "Netherlands",
            "image_path": "https://cdn.sportmonks.com/images/countries/png/short/nl.png",
            "updated_at": null
        },
        {
            "resource": "countries",
            "id": 41,
            "continent_id": 1,
            "name": "Europe",
            "image_path": "https://cdn.sportmonks.com/images/countries/png/short/.png",
            "updated_at": "2017-03-17T13:56:10.000000Z"
        },
        {
            "resource": "countries",
            "id": 44,
            "continent_id": 7,
            "name": "Argentina",
            "image_path": "https://cdn.sportmonks.com/images/countries/png/short/ar.png",
            "updated_at": null
        },
        {
            "resource": "countries",
            "id": 47,
            "continent_id": 1,
            "name": "Sweden",
            "image_path": "https://cdn.sportmonks.com/images/countries/png/short/se.png",
            "updated_at": null
        },
```

{% endtab %}
{% endtabs %}
