Coordinates → place
Send latitude and longitude to receive a nearby place label, state/district display, and country.
Give your application a nearby place label, or find coordinates from a place-name prefix. HTTP GET, JSON responses, browser CORS, and no API key.
Send latitude and longitude to receive a nearby place label, state/district display, and country.
Search by the beginning of a place name. Receive up to 10 matches with coordinates and regional context.
Use JSON in browser or backend applications. Pair selected coordinates with QASRA Salah API for prayer information.
Resolve these coordinates near Dargah Sharif, Ajmer.
https://geo.qasra.org/?lat=26.45298&lng=74.62349{
"city": "Dargah Sharif",
"state": "Ajmer, Rajasthan",
"country": "India",
"attribution": "Qasra Geocoding API - Free Public Service by Quran & Sunnah Research Academy, Ajmer"
}Use the returned state and country to distinguish places with the same name.
https://geo.qasra.org/search?q=Ajmer{
"name": "Ajmer",
"state": "Rajasthan",
"country": "India",
"lat": 26.4521,
"lng": 74.63867
}Examples from the public guide; catalogue updates can change place labels. No search matches return an empty array.
Reverse lookup returns a place label, rather than a full street address or a verified administrative boundary. Name search matches prefixes, with up to 10 results.
Show the state and country with each match, then let the user choose. The API does not supply a timezone; choose the correct one when pairing coordinates with Salah API.
Credit Quran and Sunnah Research Academy, Ajmer when displaying location information.