Parameters, examples, and response formats.
Help improve the API and its data.
Search an endpoint, edit parameters, send a live request, and copy code without losing your place.
/geocode
Finds a district or upazila by English name and returns latitude/longitude.
https://bdapi4all.vercel.app/api/v1/geocode?district=Dhaka&upazila=Dhamrai
curl "https://bdapi4all.vercel.app/api/v1/geocode?district=Dhaka&upazila=Dhamrai"
Run a request to see JSON here.