API Endpoints—6 endpoints
All Available UnifiedAPI Endpoints
All available REST endpoints for Bangladesh geo data. No authentication required.
Base URL
/api/geo/v1.0| Method | Endpoint | Description | Example | Action | |||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| GET | /divisions | Get all 8 divisions | /api/geo/v1.0/divisions | ||||||||||||||||||||||||||||||
Response Fields
Try it LiveClick the button above to see live data | |||||||||||||||||||||||||||||||||
| GET | /districts | Get all 64 districts | /api/geo/v1.0/districts | ||||||||||||||||||||||||||||||
Response Fields
Try it LiveClick the button above to see live data | |||||||||||||||||||||||||||||||||
| GET | /districts/{id} | Get districts by division ID | /api/geo/v1.0/districts/6 | ||||||||||||||||||||||||||||||
Required Parameters
Response Fields
Try it LiveClick the button above to see live data | |||||||||||||||||||||||||||||||||
| GET | /upazilas | Get all 495 upazilas | /api/geo/v1.0/upazilas | ||||||||||||||||||||||||||||||
Response Fields
Try it LiveClick the button above to see live data | |||||||||||||||||||||||||||||||||
| GET | /upazilas/{id} | Get upazilas by district ID | /api/geo/v1.0/upazilas/40 | ||||||||||||||||||||||||||||||
Required Parameters
Response Fields
Try it LiveClick the button above to see live data | |||||||||||||||||||||||||||||||||
| GET | /unions/{id} | Get unions by upazila ID | /api/geo/v1.0/unions/314 | ||||||||||||||||||||||||||||||
Required Parameters
Response Fields
Try it LiveClick the button above to see live data | |||||||||||||||||||||||||||||||||
Example
/api/geo/v1.0/divisionsResponse Fields
idstringUnique division identifiernamestringEnglish namebn_namestringBengali nameurlstringAPI URL for this divisionTry it Live
Click button to see live data
/districtsGet all 64 districts
Example
/api/geo/v1.0/districtsResponse Fields
idstringUnique district identifierdivision_idstringParent division IDnamestringEnglish namebn_namestringBengali namelatstringLatitude coordinatelonstringLongitude coordinateurlstringAPI URL for this districtTry it Live
Click button to see live data
/districts/{id}Get districts by division ID
Example
/api/geo/v1.0/districts/6Parameters
idstringRequiredDivision ID (e.g. 6 for Dhaka)
Response Fields
idstringUnique district identifierdivision_idstringParent division IDnamestringEnglish namebn_namestringBengali namelatstringLatitudelonstringLongitudeTry it Live
Click button to see live data
/upazilasGet all 495 upazilas
Example
/api/geo/v1.0/upazilasResponse Fields
idstringUnique upazila identifierdistrict_idstringParent district IDnamestringEnglish namebn_namestringBengali nameTry it Live
Click button to see live data
/upazilas/{id}Get upazilas by district ID
Example
/api/geo/v1.0/upazilas/40Parameters
idstringRequiredDistrict ID (e.g. 40 for Narsingdi)
Response Fields
idstringUnique upazila identifierdistrict_idstringParent district IDnamestringEnglish namebn_namestringBengali nameTry it Live
Click button to see live data
/unions/{id}Get unions by upazila ID
Example
/api/geo/v1.0/unions/314Parameters
idstringRequiredUpazila ID (e.g. 314 for Palash)
Response Fields
idstringUnique union identifierupazila_idstringParent upazila IDnamestringEnglish namebn_namestringBengali nameTry it Live
Click button to see live data