> ## 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 Rate Async

> Get rate for a trading pair using async fetch (direct from exchange).

This bypasses the cached prices and fetches directly from the source.
Useful when cached data may be stale or not yet initialized.

Args:
    trading_pair: Trading pair in format BASE-QUOTE (e.g., BTC-USDT)

Returns:
    Rate for the specified trading pair



## OpenAPI

````yaml /api-reference/openapi.json get /rate-oracle/rate-async/{trading_pair}
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/rate-async/{trading_pair}:
    get:
      tags:
        - Rate Oracle
      summary: Get Rate Async
      description: |-
        Get rate for a trading pair using async fetch (direct from exchange).

        This bypasses the cached prices and fetches directly from the source.
        Useful when cached data may be stale or not yet initialized.

        Args:
            trading_pair: Trading pair in format BASE-QUOTE (e.g., BTC-USDT)

        Returns:
            Rate for the specified trading pair
      operationId: get_rate_async_rate_oracle_rate_async__trading_pair__get
      parameters:
        - name: trading_pair
          in: path
          required: true
          schema:
            type: string
            title: Trading Pair
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SingleRateResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - HTTPBasic: []
components:
  schemas:
    SingleRateResponse:
      properties:
        trading_pair:
          type: string
          title: Trading Pair
          description: The trading pair
        rate:
          anyOf:
            - type: number
            - type: 'null'
          title: Rate
          description: The rate (None if not found)
        source:
          type: string
          title: Source
          description: Rate oracle source used
        quote_token:
          type: string
          title: Quote Token
          description: Quote token used
      type: object
      required:
        - trading_pair
        - rate
        - source
        - quote_token
      title: SingleRateResponse
      description: Response for a single trading pair rate.
    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

````