> ## Documentation Index
> Fetch the complete documentation index at: https://condor.hummingbot.org/llms.txt
> Use this file to discover all available pages before exploring further.

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



## OpenAPI

````yaml /api-reference/openapi.json post /rate-oracle/rates
openapi: 3.1.0
info:
  title: Hummingbot API
  description: API for managing Hummingbot trading instances
  version: 1.0.1
servers:
  - url: http://localhost:8000
    description: Local development server
security: []
paths:
  /rate-oracle/rates:
    post:
      tags:
        - Rate Oracle
      summary: Get Rates
      description: |-
        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
      operationId: get_rates_rate_oracle_rates_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/RateRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RateResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - HTTPBasic: []
components:
  schemas:
    RateRequest:
      properties:
        trading_pairs:
          items:
            type: string
          type: array
          title: Trading Pairs
          description: >-
            List of trading pairs to get rates for (e.g., ['BTC-USDT',
            'ETH-USDT'])
      type: object
      required:
        - trading_pairs
      title: RateRequest
      description: Request for getting rates.
    RateResponse:
      properties:
        source:
          type: string
          title: Source
          description: Rate oracle source used
        quote_token:
          type: string
          title: Quote Token
          description: Quote token used
        rates:
          additionalProperties:
            anyOf:
              - type: number
              - type: 'null'
          type: object
          title: Rates
          description: Mapping of trading pairs to their rates (None if rate not found)
      type: object
      required:
        - source
        - quote_token
        - rates
      title: RateResponse
      description: Response containing rates for trading pairs.
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
  securitySchemes:
    HTTPBasic:
      type: http
      scheme: basic

````