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

> Resolve a cross-rate for a single ``BASE-QUOTE`` trading pair from the ticker pool.

Pass ``?connector=<name>`` to restrict resolution to a single exchange's tickers.



## OpenAPI

````yaml /api-reference/openapi.json get /market-data/rate/{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:
  /market-data/rate/{trading_pair}:
    get:
      tags:
        - Market Data
      summary: Get Single Rate
      description: >-
        Resolve a cross-rate for a single ``BASE-QUOTE`` trading pair from the
        ticker pool.


        Pass ``?connector=<name>`` to restrict resolution to a single exchange's
        tickers.
      operationId: get_single_rate_market_data_rate__trading_pair__get
      parameters:
        - name: trading_pair
          in: path
          required: true
          schema:
            type: string
            title: Trading Pair
        - name: connector
          in: query
          required: false
          schema:
            type: string
            title: Connector
      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 resolved rate (None if not found)
        quote_token:
          type: string
          title: Quote Token
          description: Configured global quote token
        connector:
          anyOf:
            - type: string
            - type: 'null'
          title: Connector
          description: Connector used, if scoped
      type: object
      required:
        - trading_pair
        - rate
        - quote_token
      title: SingleRateResponse
      description: Cross-rate for a single trading pair.
    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

````