Three lines

Uber

Developers

get_estimates_between_two_locations

Privileged and Confidential This endpoint design has been confidentially shared with you. It is still under development and is subject to change without notice. Please do not share this document or API endpoint details with anyone who is not authorized to have access. For more information read about scopes.

Returns available ride products, fares, and pickup times between two locations.

Type: read · State: available

Scheduled rides (reserve_spec) are coming soon.


Request

{
  "origin": {
    "text_query": "Hyatt Regency Seattle"
  },
  "destination": {
    "text_query": "Seattle Convention Center"
  },
  "product_type": "UberX"
}
Field Type Required Description
origin LocationSpecification Yes Pickup location
destination LocationSpecification Yes Drop-off location
product_type string No Filter to a specific product (e.g. "UberX", "UberXL", "Comfort", "Black")

Response

{
  "product_estimates": [
    {
      "display_name": "UberX",
      "capacity": 4,
      "eta": {
        "eta_in_seconds": 240
      },
      "fare": {
        "currency_code": "USD",
        "point_fare": "25.34"
      },
      "distance_in_meters": 3200,
      "duration_in_seconds": 720,
      "deep_link": "https://m.uber.com/looking?..."
    }
  ]
}
Field Type Description
display_name string Human-readable product name (e.g. "UberX") — use for display
capacity int Maximum passenger capacity
long_description string Additional product description
eta ETA Pickup time estimate
fare FareSummary Fare estimate
distance_in_meters int Trip distance
duration_in_seconds int Estimated trip duration
deep_link string Fallback URL to open Uber directly for this product

ETA

Field Type Description
eta_in_seconds int Seconds until driver arrives

FareSummary

Field Type Description
currency_code string ISO 4217 currency code (e.g. "USD", "EUR")
point_fare string Fixed fare as a decimal string (e.g. "25.34") — present when price is fixed
range_fare RangeFare Fare range — present when dynamic pricing is active

RangeFare

Field Type Description
lower string Low end of the fare range as a decimal string
upper string High end of the fare range as a decimal string

Always use currency_code alongside point_fare or range_fare to format the fare correctly. Do not hard-code a currency symbol.


Error Codes

Error Code Cause
ERROR_CODE_LOCATION_AMBIGUOUS Location query matched multiple results — ask rider to clarify
ERROR_CODE_LOCATION_NOT_FOUND Location could not be resolved
ERROR_CODE_LOCATION_NOT_SUPPORTED Rides not available at this location
ERROR_CODE_NO_PRODUCTS_AVAILABLE No products available from this origin
ERROR_CODE_FARE_NOT_AVAILABLE Fare computation temporarily unavailable
ERROR_CODE_RATE_LIMITED Too many requests — apply exponential backoff

See Error Codes for full handling guidance.

Uber

Developers
© 2026 Uber Technologies Inc.