---
title: "Get country by country code"
method: GET
path: "/rugby/countries/{countryCode}"
tags: ["Rugby.Countries"]
---

# Get country by country code

`GET /rugby/countries/{countryCode}`

## Request

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

> Refresh interval: Once a day

Retrieve associated country details by specifying the country code path parameter. The path parameter should follow the `ISO 3166` standard.
    
Country name and code can be used to query other resources such as `matches`, `leagues`, `highlights`, etc.

## Path parameters

- `countryCode` string, required

## 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)
