# Nager.Date API: Get country info

> Looks up a country on Nager.Date by name or two-letter code and returns its common and official names, code, region and land-border neighbours.

Unofficial. Not affiliated with or endorsed by Nager.Date.

- Page: https://fous.com/methods/date.nager.at/get-country-info
- Method: `date.nager.at/get_country_info`, version 1
- Website: date.nager.at
- Returns: common name, official name, country code, region, page URL, neighbours
- Effect: read (it gets data and changes nothing)
- Sign-in: none needed
- Cost: 1 credit per completed run (1¢ with pay as you go); failed runs are free
- Verified: Nov 2, 2026

## Inputs

| Field | Type | Required | In the run below | Description |
|---|---|---|---|---|
| `country` | string | yes | `"Austria"` | Country name or two-letter country code, for example Austria or AT. |

## Output

From a run on Oct 31, 2026, shortened. Its input:

```json
{
  "country": "Austria"
}
```

Its output:

```json
{
  "region": "Europe",
  "page_url": "https://date.nager.at/api/v3/CountryInfo/AT",
  "neighbours": [
    {
      "page_url": "https://date.nager.at/api/v3/CountryInfo/CZ",
      "common_name": "Czechia",
      "country_code": "CZ",
      "official_name": "Czech Republic"
    },
    {
      "page_url": "https://date.nager.at/api/v3/CountryInfo/DE",
      "common_name": "Germany",
      "country_code": "DE",
      "official_name": "Federal Republic of Germany"
    },
    {
      "page_url": "https://date.nager.at/api/v3/CountryInfo/HU",
      "common_name": "Hungary",
      "country_code": "HU",
      "official_name": "Hungary"
    }
  ],
  "common_name": "Austria",
  "country_code": "AT",
  "official_name": "Republic of Austria"
}
```

## Run it

From code, with a Fous API key in `FOUS_API_KEY`; the answer's `data` holds the output:

```bash
curl https://api.fous.com/v1/runs \
  -H "Authorization: Bearer $FOUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"method":"date.nager.at/get_country_info","input":{"country":"Austria"}}'
```

From an AI agent connected to the Fous MCP server: its `run` with the same method and input. To connect one, give it `set up https://fous.com/SKILL.md`.

## Ask your agent

- What's the official name of Germany and which countries border it?
- Look up country code CH on Nager.Date and tell me its region and neighbouring countries
- Which countries share a land border with Poland?
- I need the full official name and two-letter code for Bolivia
- Using nager.at, get the common name, region and bordering nations for the country with code HU

## Input schema

```json
{
  "type": "object",
  "required": [
    "country"
  ],
  "properties": {
    "country": {
      "type": "string",
      "description": "Country name or two-letter country code, for example Austria or AT."
    }
  }
}
```

## Output schema

```json
{
  "type": "object",
  "required": [
    "common_name",
    "official_name",
    "country_code",
    "region",
    "page_url",
    "neighbours"
  ],
  "properties": {
    "region": {
      "type": "string",
      "description": "World region."
    },
    "page_url": {
      "type": "string",
      "description": "Link to this country’s details."
    },
    "neighbours": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "common_name",
          "official_name",
          "country_code",
          "page_url"
        ],
        "properties": {
          "page_url": {
            "type": "string",
            "description": "Link to the neighbouring country’s details."
          },
          "common_name": {
            "type": "string",
            "description": "Common country name."
          },
          "country_code": {
            "type": "string",
            "description": "Two-letter country code."
          },
          "official_name": {
            "type": "string",
            "description": "Official country name."
          }
        },
        "additionalProperties": false
      },
      "description": "Countries sharing a land border with this country."
    },
    "common_name": {
      "type": "string",
      "description": "Common country name."
    },
    "country_code": {
      "type": "string",
      "description": "Two-letter country code."
    },
    "official_name": {
      "type": "string",
      "description": "Official country name."
    }
  },
  "additionalProperties": false
}
```

## See more

- [Nager.Date API: Check public holiday](https://fous.com/methods/date.nager.at/check-public-holiday.md): Checks whether a date is a public holiday or weekend in a country. By default only nationwide holidays count; give a region to include holidays observed there.
- [Nager.Date API: List public holidays](https://fous.com/methods/date.nager.at/list-public-holidays.md): Lists a country's public holidays for a year from Nager.Date, with local names, regional coverage and holiday types.
- [Zippopotam.us API: Get postal code](https://fous.com/methods/zippopotam.us/get-postal-code.md): Looks up the places, regions and coordinates for a postal code in a supported country on Zippopotam.us.
- [European Union API: Get Eurostat statistic for a country](https://fous.com/methods/ec.europa.eu/get-statistic.md): Looks up an official Eurostat statistic for an EU or EEA country and the EU27 figure for the same period. Quarterly and half-yearly series return the reporting period that contains a requested month.
- [Passport Index API: Get passport rank](https://fous.com/methods/passportindex.org/get-passport-rank.md): Looks up a country's passport on Passport Index and returns its global rank, mobility score, visa requirement counts and optionally every destination's requirement.
- [EU Sanctions Map API: Get country sanctions](https://fous.com/methods/sanctionsmap.eu/get-country-sanctions.md): Lists EU Sanctions Map regimes concerning a country, with measures, EUR-Lex legal acts, amendment dates and listed person and entity counts.
- [Zara API: Get product](https://fous.com/methods/zara.com/get-product.md): Gets a Zara item's price, colours, sizes with availability, materials and images by item name or Zara item link in a chosen country. A name returns the closest match from Zara's search.
- [MusicBrainz API: Get artist by name](https://fous.com/methods/musicbrainz.org/get-artist.md): Looks up an artist or band on MusicBrainz by name, optionally narrowed by country, and returns reference details, recorded members, aliases, genres and official links.
- [All Nager.Date methods](https://fous.com/methods/nager.at.md)
