Skip to main content

Find Nearby Drivers

Find available drivers near a specific location.

Query Parameters

number
required
Search center latitude
number
required
Search center longitude
string
required
Vehicle type to search for: moto, auto, or mototaxi
number
default:"5.0"
Search radius in kilometers

Response

boolean
Request success status
array
List of available drivers within the radius

Request Example

Response Example


Price Estimation

The API calculates price estimates automatically when creating a trip based on distance and service type. There is currently no separate price calculation endpoint.

Pricing Formula

The estimated price is calculated using:

Dynamic Pricing

Prices may increase during:
  • Peak hours: 7-9 AM, 5-7 PM (Monday-Friday)
  • High demand: When driver availability is low
  • Bad weather: Rain, storms
  • Special events: Holidays, concerts, sporting events
Surge pricing multipliers typically range from 1.2x to 2.0x during extreme demand.

Distance Calculation

The API uses the Haversine formula to calculate distances:

Estimated Time of Arrival (ETA)

Calculate ETA based on distance and traffic conditions:

Service Type Comparison

Motocicleta

Base: $5,000 COPPer km: $2,500 COPSpeed: Fastest in trafficCapacity: 1 passenger

Mototaxi

Base: $6,000 COPPer km: $3,000 COPSpeed: FastCapacity: 1-2 passengers

Auto

Base: $8,000 COPPer km: $3,500 COPSpeed: ModerateCapacity: 3-4 passengers

Error Responses

Bad Request
Invalid coordinates or parameters
Internal Server Error
Server error during search

See Also