Endpoint guide

GET /v1/places/nearest

Use this endpoint when the product needs a single closest matching place of worship from a latitude and longitude origin.

Parameters

ParameterBehavior
latRequired latitude in the range -90 to 90.
lonRequired longitude in the range -180 to 180.
radiusKmOptional search radius. Public maximum is 20 km; default is 8 km.
religionOptional. Defaults to all. Supported values include christian, muslim, jewish, hindu, buddhist, sikh, shinto and other.
denominationOptional ASCII slug used to narrow matching source metadata.

cURL example

curl -H "X-API-Key: $KAIROS_API_KEY" \
"https://kairos.yarumaltech.com/v1/places/nearest?lat=6.96333&lon=-75.41722&radiusKm=8&religion=all"

When to use it

“Closest to me” UX

Use it for a single recommendation, nearest-place card or first routing target.

Server-side enrichment

Resolve one place around a coordinate before storing or joining additional application data.