Three lines

Uber

Developers

GET /products/{product_id}

Products - Details

The Products Detail endpoint returns information about a specific Uber product. The response includes the display name and other details about the product.

Resource

GET /v1.2/products/{product_id}

Authorization

OAuth 2.0 user access token with any valid scope.

Path Parameters
Name Type Description
product_id string Unique identifier representing a specific product for a given latitude & longitude. For example, uberX in San Francisco will have a different product_id than uberX in Los Angeles.

Example Request

Replace <TOKEN> in the example below with a user access token

curl -H 'Authorization: Bearer <TOKEN>' \
     -H 'Accept-Language: en_US' \
     -H 'Content-Type: application/json' \
     'https://api.uber.com/v1.2/products/a1111c8c-c720-46c3-8534-2fcdd730040d'
Response

Status-Code: 200 OK

{
  "upfront_fare_enabled": false,
  "capacity": 4,
  "product_id": "a1111c8c-c720-46c3-8534-2fcdd730040d",
  "price_details": {
    "service_fees": [
      {
        "fee": 1.55,
        "name": "Booking fee"
      }
    ],
    "cost_per_minute": 0.22,
    "distance_unit": "mile",
    "minimum": 6.55,
    "cost_per_distance": 1.15,
    "base": 2,
    "cancellation_fee": 5,
    "currency_code": "USD"
  },
  "image": "http://d1a3f4spazzrp4.cloudfront.net/car-types/mono/mono-uberx.png",
  "cash_enabled": false,
  "shared": false,
  "short_description": "uberX",
  "display_name": "uberX",
  "product_group": "uberx",
  "description": "THE LOW-COST UBER"
}
Name Type Description
product_id string Unique identifier representing a specific product for a given latitude & longitude. For example, uberX in San Francisco will have a different product_id than uberX in Los Angeles.
short_description string An abbreviated description of the product.
description string Description of product.
display_name string Display name of product.
capacity int Capacity of product. For example, 4 people.
image string Image URL representing the product.
shared boolean Specifies whether this product allows for the pickup and dropoff of other riders during the trip.
price_details object The basic price details (not including any surge pricing adjustments). If null, the price is a metered fare such as a taxi service.
price_details.base float The base price.
price_details.minimum float The minimum price of a trip.
price_details.cost_per_minute float The charge per minute (if applicable for the product type).
price_details.cost_per_distance float The charge per distance unit (if applicable for the product type).
price_details.distance_unit string The unit of distance used to calculate the fare (either mile or km).
price_details.cancellation_fee float The fee if a rider cancels the trip after the grace period.
price_details.currency_code string ISO 4217 currency code.
price_details.service_fees array Array containing additional fees added to the price of a product.
price_details.service_fees[].name string The name of the service fee.
price_details.service_fees[].fee float The amount of the service fee.

Uber

Developers
© 2023 Uber Technologies Inc.