At a glance
| Question | Answer |
|---|---|
| Who provides it? | GeoDesh, a maps platform based in Dhaka, Bangladesh |
| What is it? | GeoDesh Routes API: Directions with live traffic, a distance matrix for up to 100 pairs, and stop ordering for deliveries |
| How is it billed? | In Bangladeshi Taka, per 1,000 requests (full price list) |
| How do I pay? | Top up by bank transfer, bKash or Nagad; no international card needed |
| Is there free usage? | ৳5,000 of usage every month on every account, across all products |
| Where does the data come from? | Google Maps, served through GeoDesh’s own API |
| How do I authenticate? | An API key in the x-api-key header |
| How do I start? | Request an account; the team sets it up, then you create keys in the console |
Three endpoints
| Endpoint | Use it for | List price per 1,000 |
|---|---|---|
POST /v1/routes | Turn-by-turn directions, distance, duration and duration in traffic | ৳250 |
POST /v1/routes/matrix | Travel time for every origin × destination pair (up to 100 elements) | ৳600 |
POST /v1/routes/optimize | Visiting order for up to 50 stops | ৳1,500 |
Directions with traffic
curl -X POST https://geodesh.com/v1/routes \
-H "x-api-key: YOUR_API_KEY" -H "content-type: application/json" \
-d '{ "origin": { "lat": 23.7925, "lng": 90.4078 }, "destination": "Dhanmondi 27, Dhaka", "mode": "driving" }'The response gives distance and duration in metres and seconds, durationInTraffic, a trafficRange such as "20 min to 38 min", warnings like tolls, the full path, an encoded polyline, and step-by-step legs.
Distance matrix for dispatch
Send every rider position as an origin and every pickup as a destination, then assign each pickup to the rider with the shortest durationInTraffic. Origins and destinations can be coordinates or plain addresses.
curl -X POST https://geodesh.com/v1/routes/matrix \
-H "x-api-key: YOUR_API_KEY" -H "content-type: application/json" \
-d '{ "origins": [{ "lat": 23.7925, "lng": 90.4078 }, "Mirpur 10, Dhaka"],
"destinations": [{ "lat": 23.7461, "lng": 90.3742 }, "Motijheel, Dhaka"],
"mode": "driving" }'Stop ordering, stated plainly
/v1/routes/optimize orders up to 50 stops with a nearest-neighbour method starting from the first stop, using straight-line distance. It is fast and cheap, and good for a first ordering of a delivery run. For road distances and arrival times, pass the ordered stops to Directions as waypoints (up to 8 per request) or score candidate orders with the distance matrix.
See all prices on the pricing page. Every request carries your key in the x-api-key header. Keys are created in the GeoDesh console once your account is set up.
Frequently asked questions
Does the travel time include Dhaka traffic?
Yes. Driving directions and the matrix return durationInTraffic from live traffic, plus a typical range, alongside the free-flow duration.
How many points can one matrix request hold?
Up to 100 elements, where elements are origins × destinations. For example 10 riders × 10 pickups. Split larger problems into several requests.
Is route optimisation a full vehicle-routing solver?
No. It is a nearest-neighbour ordering on straight-line distance, which is honest about what it does. It handles one vehicle and up to 50 stops. Time windows and capacities are not modelled.
Which travel modes are supported?
Driving, walking, cycling and transit. Cycling is not available where the data source has no cycling data.