---
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

---

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