🎂
Namedays
API Documentation

API Endpoints

Complete reference for all available API endpoints.

Base URL

https://name.birrday.com/api

Authentication Required

All API requests require authentication via API key. Include your key in the x-api-key header.

x-api-key: YOUR_API_KEY

Available Endpoints

The Nameday API provides the following endpoints for accessing name day data:

Common Parameters

Most endpoints support the following common parameters:

ParameterTypeDescription
countrystringISO 3166-1 alpha-2 country code (e.g., GR, PL, HU)
datestringDate in ISO 8601 format (e.g., 2024-01-07)
traditionstringCalendar tradition (e.g., orthodox, catholic)

Response Format

All successful API responses return JSON with the following structure:

{
  "data": [ /* array of results */ ],
  "meta": {
    "count": 10,
    "country": "GR",
    "date": "2024-01-07"
  }
}

Error Responses

Error responses follow a consistent format:

{
  "error": "Error type",
  "message": "Human-readable error message",
  "statusCode": 400
}

HTTP Status Codes

200
OK

Request succeeded

400
Bad Request

Invalid parameters or request format

401
Unauthorized

Missing or invalid API key

429
Too Many Requests

Rate limit exceeded

500
Internal Server Error

Something went wrong on our end