Region code: bd
Distance, routing and geocoding API for Bangladesh
- Region
- Bangladesh
- OpenStreetMap data as of
- Shown in every API response
- Map version
- 20261130-1108
- Bounding box (min lat, min lng, max lat, max lng)
- 20.722, 88.002, 26.641, 92.662
- Profiles
- Car, motorcycle
- APIs available
- Distance, route, batch distance, distance matrix, snap to road, route optimization, geocoding, reverse geocoding, Google-compatible matrix
- Data sources
- OpenStreetMap, Microsoft Road Detections (ODbL), GeoNames, Overture Maps Places, BBS administrative boundaries
Built for how Bangladesh moves
Most deliveries, field visits and rides in Bangladesh happen on two wheelers, so the region has its own motorcycle profile alongside the car profile. Drive times are tuned for typical daytime conditions in three city tiers: the Dhaka city core, Greater Dhaka and other large cities, and everywhere else. Left-hand traffic is reflected in turn costs.
More roads than OpenStreetMap alone
Rural Bangladesh has many village roads that are not yet mapped in OpenStreetMap. We merge AI-detected roads from Microsoft Road Detections (ODbL) into the routing graph where OpenStreetMap has gaps, so routes to remote villages follow a road instead of a long straight connector.
Addresses, villages and admin areas
The Geocoding and Reverse Geocoding APIs search OpenStreetMap places plus GeoNames villages and Overture Maps points of interest. Every reverse-geocoded point also returns its division, district, upazila and union from Bangladesh Bureau of Statistics boundaries, which is what field-force, NGO and distribution teams report by.
Typical uses
Delivery fees by road distance at checkout, rider dispatch by drive time, daily visit plans for sales reps and merchandisers, mileage reimbursement from check-ins, delivery-zone checks for e-commerce and ride-hailing ETAs.
Start with the Distance Matrix API, the Route Optimization API or the Geocoding API, and see car and motorcycle profiles for how drive times are estimated.
Road distances between cities in Bangladesh
From Dhaka
- Dhaka to Chattogram 256 km
- Dhaka to Khulna 198 km
- Dhaka to Rajshahi 249 km
- Dhaka to Sylhet 235 km
- Dhaka to Barishal 183 km
- Dhaka to Rangpur 296 km
- Dhaka to Mymensingh 111 km
- Dhaka to Cumilla 113 km
- Dhaka to Gazipur 27 km
- Dhaka to Narayanganj 29 km
- Dhaka to Cox's Bazar 405 km
- Dhaka to Bogura 189 km
- Dhaka to Jashore 184 km
From Chattogram
- Chattogram to Dhaka 255 km
- Chattogram to Khulna 415 km
- Chattogram to Rajshahi 493 km
- Chattogram to Sylhet 359 km
- Chattogram to Barishal 400 km
- Chattogram to Rangpur 540 km
- Chattogram to Mymensingh 343 km
- Chattogram to Cumilla 145 km
- Chattogram to Gazipur 271 km
- Chattogram to Narayanganj 234 km
- Chattogram to Cox's Bazar 151 km
- Chattogram to Bogura 433 km
- Chattogram to Jashore 401 km
From Khulna
- Khulna to Dhaka 201 km
- Khulna to Chattogram 413 km
- Khulna to Rajshahi 251 km
- Khulna to Sylhet 425 km
- Khulna to Barishal 112 km
- Khulna to Rangpur 391 km
- Khulna to Mymensingh 311 km
- Khulna to Cumilla 270 km
- Khulna to Gazipur 227 km
- Khulna to Narayanganj 195 km
- Khulna to Cox's Bazar 562 km
- Khulna to Bogura 286 km
- Khulna to Jashore 56 km
From Rajshahi
- Rajshahi to Dhaka 249 km
- Rajshahi to Chattogram 494 km
- Rajshahi to Khulna 244 km
- Rajshahi to Sylhet 465 km
- Rajshahi to Barishal 319 km
- Rajshahi to Rangpur 221 km
- Rajshahi to Mymensingh 244 km
- Rajshahi to Cumilla 351 km
- Rajshahi to Gazipur 233 km
- Rajshahi to Narayanganj 305 km
- Rajshahi to Cox's Bazar 643 km
- Rajshahi to Bogura 115 km
- Rajshahi to Jashore 189 km
From Sylhet
- Sylhet to Dhaka 234 km
- Sylhet to Chattogram 359 km
- Sylhet to Khulna 421 km
- Sylhet to Rajshahi 465 km
- Sylhet to Barishal 406 km
- Sylhet to Rangpur 512 km
- Sylhet to Mymensingh 271 km
- Sylhet to Cumilla 215 km
- Sylhet to Gazipur 222 km
- Sylhet to Narayanganj 240 km
- Sylhet to Cox's Bazar 508 km
- Sylhet to Bogura 405 km
- Sylhet to Jashore 406 km
From Barishal
- Barishal to Dhaka 181 km
- Barishal to Chattogram 394 km
- Barishal to Khulna 112 km
- Barishal to Rajshahi 325 km
- Barishal to Sylhet 405 km
- Barishal to Rangpur 465 km
- Barishal to Mymensingh 292 km
- Barishal to Cumilla 250 km
- Barishal to Gazipur 208 km
- Barishal to Narayanganj 176 km
- Barishal to Cox's Bazar 542 km
- Barishal to Bogura 360 km
- Barishal to Jashore 169 km
From Rangpur
- Rangpur to Dhaka 290 km
- Rangpur to Chattogram 535 km
- Rangpur to Khulna 391 km
- Rangpur to Rajshahi 220 km
- Rangpur to Sylhet 506 km
- Rangpur to Barishal 436 km
- Rangpur to Mymensingh 286 km
- Rangpur to Cumilla 392 km
- Rangpur to Gazipur 274 km
- Rangpur to Narayanganj 326 km
- Rangpur to Cox's Bazar 684 km
- Rangpur to Bogura 106 km
- Rangpur to Jashore 336 km
From Mymensingh
- Mymensingh to Dhaka 109 km
- Mymensingh to Chattogram 343 km
- Mymensingh to Khulna 306 km
- Mymensingh to Rajshahi 243 km
- Mymensingh to Sylhet 271 km
- Mymensingh to Barishal 291 km
- Mymensingh to Rangpur 290 km
- Mymensingh to Cumilla 199 km
- Mymensingh to Gazipur 89 km
- Mymensingh to Narayanganj 144 km
- Mymensingh to Cox's Bazar 491 km
- Mymensingh to Bogura 183 km
- Mymensingh to Jashore 292 km
From Cumilla
- Cumilla to Dhaka 111 km
- Cumilla to Chattogram 145 km
- Cumilla to Khulna 271 km
- Cumilla to Rajshahi 349 km
- Cumilla to Sylhet 215 km
- Cumilla to Barishal 256 km
- Cumilla to Rangpur 396 km
- Cumilla to Mymensingh 199 km
- Cumilla to Gazipur 127 km
- Cumilla to Narayanganj 90 km
- Cumilla to Cox's Bazar 293 km
- Cumilla to Bogura 289 km
- Cumilla to Jashore 257 km
From Gazipur
- Gazipur to Dhaka 26 km
- Gazipur to Chattogram 271 km
- Gazipur to Khulna 223 km
- Gazipur to Rajshahi 232 km
- Gazipur to Sylhet 222 km
- Gazipur to Barishal 208 km
- Gazipur to Rangpur 278 km
- Gazipur to Mymensingh 92 km
- Gazipur to Cumilla 127 km
- Gazipur to Narayanganj 61 km
- Gazipur to Cox's Bazar 419 km
- Gazipur to Bogura 171 km
- Gazipur to Jashore 208 km
From Narayanganj
- Narayanganj to Dhaka 27 km
- Narayanganj to Chattogram 230 km
- Narayanganj to Khulna 191 km
- Narayanganj to Rajshahi 312 km
- Narayanganj to Sylhet 240 km
- Narayanganj to Barishal 176 km
- Narayanganj to Rangpur 330 km
- Narayanganj to Mymensingh 145 km
- Narayanganj to Cumilla 87 km
- Narayanganj to Gazipur 62 km
- Narayanganj to Cox's Bazar 379 km
- Narayanganj to Bogura 223 km
- Narayanganj to Jashore 177 km
From Cox's Bazar
- Cox's Bazar to Dhaka 405 km
- Cox's Bazar to Chattogram 146 km
- Cox's Bazar to Khulna 565 km
- Cox's Bazar to Rajshahi 643 km
- Cox's Bazar to Sylhet 509 km
- Cox's Bazar to Barishal 550 km
- Cox's Bazar to Rangpur 690 km
- Cox's Bazar to Mymensingh 493 km
- Cox's Bazar to Cumilla 295 km
- Cox's Bazar to Gazipur 421 km
- Cox's Bazar to Narayanganj 384 km
- Cox's Bazar to Bogura 583 km
- Cox's Bazar to Jashore 551 km
From Bogura
- Bogura to Dhaka 185 km
- Bogura to Chattogram 430 km
- Bogura to Khulna 286 km
- Bogura to Rajshahi 115 km
- Bogura to Sylhet 401 km
- Bogura to Barishal 331 km
- Bogura to Rangpur 108 km
- Bogura to Mymensingh 180 km
- Bogura to Cumilla 287 km
- Bogura to Gazipur 169 km
- Bogura to Narayanganj 220 km
- Bogura to Cox's Bazar 579 km
- Bogura to Jashore 231 km
From Jashore
- Jashore to Dhaka 182 km
- Jashore to Chattogram 394 km
- Jashore to Khulna 56 km
- Jashore to Rajshahi 196 km
- Jashore to Sylhet 406 km
- Jashore to Barishal 170 km
- Jashore to Rangpur 336 km
- Jashore to Mymensingh 287 km
- Jashore to Cumilla 251 km
- Jashore to Gazipur 209 km
- Jashore to Narayanganj 177 km
- Jashore to Cox's Bazar 543 km
- Jashore to Bogura 231 km
Check that a point is in Bangladesh
curl "https://api.wayline.cloud/v1/nearest?point=23.6815,90.3321" \
-H "Authorization: Bearer $WAYLINE_API_KEY"The response’s region field will be bd. Points outside return OUT_OF_COVERAGE.
Frequently asked questions
Which Wayline APIs work in Bangladesh?
All of them: distance, route, batch distance, distance matrix, snap to road, route optimization, geocoding, reverse geocoding and the Google-compatible Distance Matrix endpoint.
Is there a motorcycle (bike) profile for Bangladesh?
Yes. Pass profile=motorcycle (aliases: bike, motorbike, two_wheeler). It uses its own routing graph that obeys motorcycle access rules and fits narrow roads.
Do drive times include Dhaka traffic?
Drive times are typical daytime estimates with slower speeds in the Dhaka city core, not live traffic. Expect longer trips at rush hour; many teams apply a factor learned from their own completed trips.
Can I pay in Bangladeshi taka?
Prices and invoices are in US dollars. Payments are processed by Paddle, our merchant of record, which accepts international cards and handles invoicing.
Is Wayline a Google Maps API alternative for Bangladesh?
For road distance, drive time, distance matrices, routing and geocoding on coordinates, yes, and our Google-compatible Distance Matrix endpoint keeps your existing parsing code. Google offers live traffic and transit, which we do not.
How fresh is the map data?
The dataset is rebuilt from OpenStreetMap regularly; every API response includes the exact map_version used, and the current version is shown on this page.
Start building in minutes
Create an account, grab a test key and make your first request in under five minutes.