---
title: "Get Prices"
method: POST
path: "/market-data/prices"
tags: ["Market Data"]
---

# Get Prices

`POST /market-data/prices`

Get current prices for specified trading pairs from a connector.

Args:
    request: Price request with connector name and trading pairs
    market_data_manager: Injected market data feed manager
    
Returns:
    Current prices for the specified trading pairs
    
Raises:
    HTTPException: 500 if there's an error fetching prices

## Request body

- PriceRequest — Request model for getting prices
  - `connector_name` string, required — Name of the connector
  - `trading_pairs` string[], required — List of trading pairs to get prices for

## Response `200`

Successful Response

- PricesResponse — Response for prices data
  - `connector` string, required — Connector name
  - `prices` object, required — Trading pair to price mapping
  - `timestamp` number, required — Response timestamp

## Other responses

- `422` — Validation Error

## Changes

- **2026-04-08** `92703f48a69e` — 2 info
  - added the optional property `detail/items/ctx` to the response with the `422` status
  - added the optional property `detail/items/input` to the response with the `422` status
- **2026-01-18** `cb6b6935c8e2` — 1 breaking
  - the `trading_pairs` request property's minItems was increased to `1`
- **2025-12-20** `1005bcd47280` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/hummingbot/apis/hummingbot-api/changes/market-data/prices/post.md)

---

[API](https://skmtc.dev/hummingbot/apis/hummingbot-api.md) · [All operations](https://skmtc.dev/hummingbot/apis/hummingbot-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/hummingbot/hummingbot-api/revisions/5347fe79537f/schema)
