---
title: "Get all countries"
method: GET
path: "/rugby/countries"
tags: ["Rugby.Countries"]
---

# Get all countries

`GET /rugby/countries`

## Request

- Base URL: `https://sports.highlightly.net`
- URL: `https://sports.highlightly.net/rugby/countries`
- Auth: none declared. Required headers: `x-rapidapi-host`, `x-rapidapi-key`
- TypeScript: <https://skmtc.dev/highlightly/apis/sports-api-highlightly/docs/rugby/countries/get.ts> (a function with typed inputs; its response is checked against the schema)

> Refresh interval: Once a day

Retrieve a list of countries that are supported by the API.

By utilising the `name` query parameter you can check whether a specific country exists or simply retrieve the associated data.

Country name and code can be used to query other resources such as `matches`, `leagues`, `highlights`, etc.

Below is an example of supported countries and their associated logos:
![Countries example](https://highlightly.net/assets/img/documentation/countries.png)

## Query parameters

- `name` string

## Headers

- `x-rapidapi-host` string, required
- `x-rapidapi-key` string, required

## Response `200`

- RugbyCountryResponseDto[]
  - `code` string, required: Country code specified by the ISO 3166 standard.
  - `name` string, required
  - `logo` string, required

## Other responses

- `400`: Bad request descriptive error.
- `500`: Internal server error.

---

[API](https://skmtc.dev/highlightly/apis/sports-api-highlightly.md) - [All operations](https://skmtc.dev/highlightly/apis/sports-api-highlightly/llms.txt) - [OpenAPI document](https://skmtc.dev/highlightly/apis/sports-api-highlightly/revisions/c8a366d3091f?raw)
