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

# Get rate by ID

> Retrieve detailed rate information for a specific cryptocurrency or fiat currency using its unique identifier.



## OpenAPI

````yaml get /rates/{id}
openapi: 3.0.0
info:
  title: CoinCap API
  description: >-
    API for accessing cryptocurrency data including assets, rates, exchanges,
    markets, and candles.
  version: '1'
servers:
  - url: https://api.coincap.io/v2
    description: Official CoinCap API Server
  - url: https://virtserver.swaggerhub.com/REXSENDER1/CoinCap/1
    description: SwaggerHub API Auto Mocking
security:
  - bearerAuth: []
tags:
  - name: Asset
    description: >-
      Endpoints related to cryptocurrency data, including details about
      individual assets.
  - name: Rates
    description: Provides exchange rate information for various currencies.
  - name: Exchanges
    description: Information about cryptocurrency exchanges, including trading data.
  - name: Markets
    description: Details about cryptocurrency markets and trading pairs.
  - name: Candles
    description: Historical price data for cryptocurrencies in candlestick format.
paths:
  /rates/{id}:
    get:
      tags:
        - Rates
      summary: Get rate by ID
      description: >-
        Retrieve detailed rate information for a specific cryptocurrency or fiat
        currency using its unique identifier.
      parameters:
        - name: id
          in: path
          description: Unique identifier for the asset or fiat currency.
          required: true
          style: simple
          explode: false
          schema:
            type: string
            example: bitcoin
      responses:
        '200':
          description: Detailed rate information for the specified ID.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/inline_response_200_4'
components:
  schemas:
    inline_response_200_4:
      type: object
      properties:
        data:
          $ref: '#/components/schemas/inline_response_200_3_data'
    inline_response_200_3_data:
      type: object
      properties:
        id:
          type: string
          description: Unique identifier for the asset or fiat currency.
          example: bitcoin
        symbol:
          type: string
          description: Common symbol used to represent the asset or fiat currency.
          example: BTC
        currencySymbol:
          type: string
          description: Symbol used to represent the currency, if applicable.
          example: ₿
        rateUsd:
          type: string
          description: Conversion rate to USD.
          format: float
          example: '30000.00'
        type:
          type: string
          description: Type of currency, either "fiat" or "crypto".
          example: crypto
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer

````