download the app
§ Resources · Search

Search

Cross-entity full-text search. One query, two arrays: saints and countries.

Try itLive request from your browser

Full-text across saints and countries.

Parameters
GET https://livesofthesaintscalendar.com/api/v1/search

Endpoint

GET /v1/search?q={query}. Minimum query length is 2. Limit defaults to 10, max 50.

bashbash
curl "https://livesofthesaintscalendar.com/api/v1/search?q=constantinople" \
  -H "Authorization: Bearer osc_live_…"
jsonjson
{
  "query": "constantinople",
  "saints": [
    { "slug": "saint-john-chrysostom", "name": "Saint John Chrysostom", "url": "/saints/saint-john-chrysostom" }
  ],
  "countries": [
    { "slug": "turkey", "name": "Turkey", "isoCode": "TR", "url": "/orthodox-countries/turkey" }
  ]
}

What gets matched

Saints match on name, short bio, and epithet. Countries match on name and short description. Matching is case-insensitive substring; future versions will add weighted relevance.