{"openapi":"3.1.0","info":{"title":"Synaxar Name Day API","version":"1.3.0","description":"Public read-only Greek Orthodox name days (εορτολόγιο) at /api/v1, plus the older per-country /api/portal feeds. /api/v1 returns Greek and Latin names, Synaxar page URLs, wish-card URLs and calendar .ics URLs. No API key. CORS allows any origin. Celebrant url values are canonical name pages at /{market}/{slug}. Former /{market}/{names-folder}/{slug} and /{market}/onoma/{slug} pages redirect with 301. Polish Maja, Spanish Julio and Swedish Maj use maja-imie, julio-nombre and maj-namn because the shorter slugs are month segments.","x-logo":{"url":"https://synaxar.com/favicon.svg"}},"servers":[{"url":"https://synaxar.com"}],"externalDocs":{"description":"Synaxar API reference","url":"https://synaxar.com/docs/api"},"paths":{"/api/portal/{market}/date/{date}":{"get":{"operationId":"getNameDays","summary":"Name days by date","description":"Returns the names and feast titles for one civil date in one market. An empty names array is a valid result.","parameters":[{"name":"market","in":"path","required":true,"description":"Two-letter market code.","schema":{"type":"string","enum":["el","pl","es","ro","sv","cs","sk","it","fr","hu"]},"example":"el"},{"name":"date","in":"path","required":true,"description":"Local YYYY-MM-DD date within the market’s supported years.","schema":{"type":"string","format":"date"},"example":"2026-11-06"}],"responses":{"200":{"description":"Returns the names and feast titles for one civil date in one market. An empty names array is a valid result.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Day"}}}},"404":{"description":"Unknown market, unknown name slug, or invalid or unsupported date.","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/api/portal/{market}/today":{"get":{"operationId":"getTodaysNameDays","summary":"Name days today","description":"Resolves today in the calendar’s local time zone. Use the celebrants array for daily integrations.","parameters":[{"name":"market","in":"path","required":true,"description":"Two-letter market code.","schema":{"type":"string","enum":["el","pl","es","ro","sv","cs","sk","it","fr","hu"]},"example":"el"}],"responses":{"200":{"description":"Resolves today in the calendar’s local time zone. Use the celebrants array for daily integrations.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Day"}}}},"404":{"description":"Unknown market, unknown name slug, or invalid or unsupported date.","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/api/portal/{market}/daily.ics":{"get":{"operationId":"getDailyCalendar","summary":"Daily calendar feed","description":"Returns a rolling 366-day calendar from the local date, with events for days with listed names or a commemoration. Add download=1 for an attachment.","parameters":[{"name":"market","in":"path","required":true,"description":"Two-letter market code.","schema":{"type":"string","enum":["el","pl","es","ro","sv","cs","sk","it","fr","hu"]},"example":"el"},{"name":"download","in":"query","description":"Use 1 to request an attachment.","schema":{"type":"string","enum":["1"]}}],"responses":{"200":{"description":"Returns a rolling 366-day calendar from the local date, with events for days with listed names or a commemoration. Add download=1 for an attachment.","content":{"text/calendar":{"schema":{"type":"string"}}}},"404":{"description":"Unknown market, unknown name slug, or invalid or unsupported date.","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/api/portal/{market}/calendar/{slug}.ics":{"get":{"operationId":"getNameCalendar","summary":"Calendar for one name","description":"Downloads up to three upcoming celebrations for a name as separate all-day events. Use the name page slug. A previous slug still resolves when a name was disambiguated.","parameters":[{"name":"market","in":"path","required":true,"description":"Two-letter market code.","schema":{"type":"string","enum":["el","pl","es","ro","sv","cs","sk","it","fr","hu"]},"example":"el"},{"name":"slug","in":"path","required":true,"description":"Exact ASCII slug from a name page in the selected market.","schema":{"type":"string"},"example":"giorgos"}],"responses":{"200":{"description":"Downloads up to three upcoming celebrations for a name as separate all-day events. Use the name page slug. A previous slug still resolves when a name was disambiguated.","content":{"text/calendar":{"schema":{"type":"string"}}}},"404":{"description":"Unknown market, unknown name slug, or invalid or unsupported date.","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/api/health":{"get":{"operationId":"getHealth","summary":"Service status and releases","description":"Reports the page release, data release, supported markets, build year, name count and storage readiness.","parameters":[],"responses":{"200":{"description":"Reports the page release, data release, supported markets, build year, name count and storage readiness.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Health"}}}},"503":{"description":"The required catalog database is unavailable.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Health"}}}}}}},"/api/v1/today":{"get":{"operationId":"getV1Today","summary":"Greek name days today","description":"Names, saints and feasts for today in the Greek Orthodox name-day calendar (εορτολόγιο). Optional tz chooses which civil today to use. Optional date overrides today.","parameters":[{"name":"tz","in":"query","schema":{"type":"string","default":"Europe/Athens"},"description":"IANA time zone used to resolve today."},{"name":"date","in":"query","schema":{"type":"string","format":"date"},"description":"YYYY-MM-DD instead of today."}],"responses":{"200":{"description":"Names, saints and feasts for today in the Greek Orthodox name-day calendar (εορτολόγιο). Optional tz chooses which civil today to use. Optional date overrides today.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1Day"}}}},"400":{"description":"JSON error.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1Error"}}}},"404":{"description":"JSON error.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1Error"}}}}}}},"/api/v1/date/{date}":{"get":{"operationId":"getV1Date","summary":"Greek name days on a date","description":"Resolves movable feasts for the given year. Accepts MM-DD (current year) or YYYY-MM-DD.","parameters":[{"name":"date","in":"path","required":true,"schema":{"type":"string"},"description":"MM-DD or YYYY-MM-DD.","example":"12-06"}],"responses":{"200":{"description":"Resolves movable feasts for the given year. Accepts MM-DD (current year) or YYYY-MM-DD.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1Day"}}}},"400":{"description":"JSON error.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1Error"}}}},"404":{"description":"JSON error.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1Error"}}}}}}},"/api/v1/name/{name}":{"get":{"operationId":"getV1Name","summary":"Find a Greek name day","description":"Accepts Greek with or without accents, Greeklish, and known diminutives such as Νίκος or nikos. Returns dates in the current and next year, the saint or feast titles, and links to the Synaxar page, wish card and calendar file.","parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string"},"example":"nikos"}],"responses":{"200":{"description":"Matching name.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1Name"}}}},"404":{"description":"JSON error.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1Error"}}}}}}},"/api/v1/search":{"get":{"operationId":"searchV1Names","summary":"Search Greek names","description":"Fuzzy matches for a Greek, unaccented, or Greeklish query.","parameters":[{"name":"q","in":"query","required":true,"schema":{"type":"string"},"example":"nik"}],"responses":{"200":{"description":"Matches.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1Search"}}}},"400":{"description":"JSON error.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1Error"}}}}}}},"/api/v1/upcoming":{"get":{"operationId":"getV1Upcoming","summary":"Upcoming Greek name days","description":"Each civil day from today for the requested number of days, default 7, maximum 31.","parameters":[{"name":"days","in":"query","schema":{"type":"integer","minimum":1,"maximum":31,"default":7}}],"responses":{"200":{"description":"Each civil day from today for the requested number of days, default 7, maximum 31.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1Day"}}}},"400":{"description":"JSON error.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1Error"}}}},"404":{"description":"JSON error.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1Error"}}}}}}},"/api/v1/feasts":{"get":{"operationId":"getV1Feasts","summary":"Major Greek feasts","description":"The major feasts (μεγάλες γιορτές), including movable Άγιος Γεώργιος, with this year and next year.","responses":{"200":{"description":"Feasts.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1Feasts"}}}}}}}},"components":{"schemas":{"Day":{"type":"object","required":["iso","year","month","day","weekday","names","feasts","movable","country","timezone","celebrants"],"properties":{"iso":{"type":"string","format":"date","description":"The requested local civil date in YYYY-MM-DD format."},"year":{"type":"integer","description":"Four-digit calendar year."},"month":{"type":"integer","minimum":0,"maximum":11,"description":"Zero-based month. January is 0."},"day":{"type":"integer","minimum":1,"maximum":31,"description":"Day of the month."},"weekday":{"type":"integer","minimum":0,"maximum":6,"description":"Day of the week. Sunday is 0."},"names":{"type":"array","items":{"type":"string"},"description":"Listed names in the local spelling. The array is empty when the catalog has no names for that date."},"feasts":{"type":"array","items":{"type":"string"},"description":"Feast titles recorded for the day, in the local language."},"movable":{"type":"boolean","description":"True when a movable rule contributes to this date."},"commemoration":{"$ref":"#/components/schemas/Commemoration","description":"Optional Romanian observance with its own title, source URL and source ID. Display it separately from names."},"country":{"type":"string","description":"Two-letter code for the selected calendar."},"timezone":{"type":"string","description":"IANA time zone for the selected calendar."},"celebrants":{"type":"array","items":{"$ref":"#/components/schemas/Celebrant"},"description":"Public name records with stable calendar-specific keys for matching in your own application."}}},"Celebrant":{"type":"object","required":["name","slug","key","url"],"properties":{"name":{"type":"string"},"slug":{"type":"string"},"key":{"type":"string","example":"el:giorgos"},"url":{"type":"string","format":"uri","description":"Canonical public name page, https://synaxar.com/{market}/{slug}. Older nested name URLs redirect to this address."}}},"Commemoration":{"type":"object","required":["title","source","sourceId"],"properties":{"title":{"type":"string"},"source":{"type":"string","format":"uri"},"sourceId":{"type":"string"}}},"V1Error":{"type":"object","required":["error"],"properties":{"error":{"type":"string"}}},"V1Celebrant":{"type":"object","required":["name","latin","slug","url","wishUrl","calendarUrl"],"properties":{"name":{"type":"string","description":"Greek spelling."},"latin":{"type":"string","description":"Latin slug, for example nikolaos."},"slug":{"type":"string"},"variants":{"type":"array","items":{"type":"string"}},"url":{"type":"string","format":"uri"},"wishUrl":{"type":"string","format":"uri"},"calendarUrl":{"type":"string","format":"uri"}}},"V1Day":{"type":"object","required":["date","feasts","saints","names"],"properties":{"date":{"type":"string"},"feasts":{"type":"array","items":{"type":"string"}},"saints":{"type":"array","items":{"type":"string"}},"names":{"type":"array","items":{"$ref":"#/components/schemas/V1Celebrant"}},"url":{"type":"string","format":"uri"}}},"V1Name":{"allOf":[{"$ref":"#/components/schemas/V1Celebrant"},{"type":"object","properties":{"saints":{"type":"array","items":{"type":"string"}},"dates":{"type":"array","items":{"type":"object"}}}}]},"V1Search":{"type":"object","properties":{"query":{"type":"string"},"matches":{"type":"array","items":{"$ref":"#/components/schemas/V1Celebrant"}}}},"V1Feasts":{"type":"object","properties":{"year":{"type":"integer"},"feasts":{"type":"array","items":{"type":"object"}}}},"Health":{"type":"object","required":["service","release","dataRelease","markets","staticYear","names","database","assets"],"properties":{"service":{"type":"string"},"release":{"type":"string"},"dataRelease":{"type":"string"},"markets":{"type":"array","items":{"type":"string","enum":["el","pl","es","ro","sv","cs","sk","it","fr","hu"]}},"staticYear":{"type":"integer"},"names":{"type":"integer"},"database":{"type":"string","enum":["ready","unavailable","not-bound"]},"assets":{"type":"boolean"},"catalog":{"type":"object","additionalProperties":{"type":"string"}}}}}}}