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

# Retrieve Market Information

> This endpoint allows users to get detailed market data for a given asset identified by its `id`.
It provides information on exchange details, trading volume, price, and the relationship between base and quote assets.




## OpenAPI

````yaml get /assets/{id}/markets
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:
  /assets/{id}/markets:
    get:
      tags:
        - Asset
      summary: Retrieve market information for a specific asset
      description: >
        This endpoint allows users to get detailed market data for a given asset
        identified by its `id`.

        It provides information on exchange details, trading volume, price, and
        the relationship between base and quote assets.
      parameters:
        - name: id
          in: path
          description: The asset ID to fetch market data for (e.g., bitcoin).
          required: true
          style: simple
          explode: false
          schema:
            type: string
            example: bitcoin
        - name: limit
          in: query
          description: The maximum number of results to return
          required: false
          style: form
          explode: true
          schema:
            maximum: 2000
            type: integer
            default: 5
        - name: offset
          in: query
          description: The index of the first result to return (useful for pagination)
          required: false
          style: form
          explode: true
          schema:
            type: integer
            default: 1
      responses:
        '200':
          description: Successfully retrieved market data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/inline_response_200_2'
components:
  schemas:
    inline_response_200_2:
      type: object
      properties:
        exchangeId:
          type: string
          description: A unique identifier for the exchange
        baseId:
          type: string
          description: The unique identifier for the base asset (the asset being purchased)
        quoteId:
          type: string
          description: >-
            The unique identifier for the quote asset (the asset used to
            purchase the base asset)
        baseSymbol:
          type: string
          description: The most common symbol used to identify the base asset
        quoteSymbol:
          type: string
          description: The most common symbol used to identify the quote asset
        volumeUsd24Hr:
          type: number
          description: >-
            The volume of the base asset transacted on this market in the last
            24 hours (in USD)
        priceUsd:
          type: number
          description: >-
            The price of one unit of the base asset, denominated in the quote
            asset
        volumePercent:
          type: number
          description: The percentage of the total quote asset volume in this market
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer

````