---
title: "Get Rates"
method: POST
path: "/rate-oracle/rates"
tags: ["Rate Oracle"]
---

# Get Rates

`POST /rate-oracle/rates`

Get rates for specified trading pairs.

Uses the configured rate oracle source to fetch current rates.

Args:
    rate_request: List of trading pairs to get rates for

Returns:
    Rates for the requested trading pairs

## Request body

- RateRequest — Request for getting rates.
  - `trading_pairs` string[], required — List of trading pairs to get rates for (e.g., ['BTC-USDT', 'ETH-USDT'])

## Response `200`

Successful Response

- RateResponse — Response containing rates for trading pairs.
  - `source` string, required — Rate oracle source used
  - `quote_token` string, required — Quote token used
  - `rates` object, required — Mapping of trading pairs to their rates (None if rate not found)

## 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/revisions/5347fe79537f/schema)
