🎂
Namedays
API Documentation

Get Namedays

Retrieve name day data for a specific country and date.

GET/api/v1/namedays

Query Parameters

ParameterTypeRequiredDescription
countrystringNoISO 3166-1 alpha-2 country code (e.g., US, DE, GR)
datestringNoSpecific date in YYYY-MM-DD format
monthstringNoMonth in YYYY-MM format (returns all days in month)
calendar_idstringNoFilter by specific calendar ID
limitnumberNoMaximum results (default: 100, max: 365)
offsetnumberNoPagination offset (default: 0)

Example Request

Get namedays for Greece:

curl -X GET 'https://name.birrday.com/api/namedays?country=GR' \
  -H 'x-api-key: YOUR_API_KEY'

Get namedays for a specific date:

curl -X GET 'https://name.birrday.com/api/namedays?country=PL&date=2024-12-25' \
  -H 'x-api-key: YOUR_API_KEY'

Get all namedays for a specific month:

curl -X GET 'https://name.birrday.com/api/namedays?country=GR&month=2024-12' \
  -H 'x-api-key: YOUR_API_KEY'

Response

A successful response returns an array of nameday celebrations:

{
  "namedays": [
    {
      "date": "2024-01-07",
      "names": ["Ιωάννης", "Γιάννης", "Ιωάννα"],
      "feasts": ["Saint John the Baptist"],
      "country": "GR",
      "countryName": "Greece",
      "calendar": "greek-orthodox-2024",
      "tradition": "Orthodox"
    }
  ],
  "pagination": {
    "limit": 100,
    "offset": 0,
    "total": 1
  }
}

Response Fields

FieldTypeDescription
datestringISO date (YYYY-MM-DD)
namesstring[]List of names in native language
feastsstring[]Associated feast days
countrystringCountry code
countryNamestringFull country name
calendarstringCalendar identifier
traditionstring | nullCalendar tradition (e.g., "Catholic", "Orthodox")

Supported Countries

The following country codes are currently supported:

AT
BG
CY
CZ
DE
ES
FI
FR
GR
HR
HU
IT
LV
PL
RO
RU
SE
SK
UA

Error Responses

Invalid Country Code

{
  "error": "Bad Request",
  "message": "Invalid country code: XX",
  "statusCode": 400
}

Invalid Date Format

{
  "error": "Bad Request",
  "message": "Invalid date format. Use YYYY-MM-DD",
  "statusCode": 400
}