Region code: bd

Distance, routing and geocoding API for Bangladesh

Calculate real road distance and drive time anywhere in Bangladesh, from Dhaka and Chattogram to rural upazilas, with car and motorcycle profiles, Bengali place names and administrative areas down to the union.
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

Computed with the Wayline API on the current map data. Each page shows the route, drive time and straight-line comparison.

From Dhaka

From Chattogram

From Khulna

From Rajshahi

From Sylhet

From Barishal

From Rangpur

From Mymensingh

From Cumilla

From Gazipur

From Narayanganj

From Cox's Bazar

From Bogura

From Jashore

Check that a point is in Bangladesh

Snap a point inside this region
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.