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

# Get market metrics

> Retrieve volume, transaction, and trader metrics for a market. Supports single timeframe (e.g., '1m'), multiple timeframes (e.g., '1m,5m,1h'), or 'all' to get all available timeframes.



## OpenAPI

````yaml https://api.struct.to/openapi.json get /polymarket/market/metrics
openapi: 3.1.0
info:
  title: Polymarket API
  description: >-
    RESTful API for querying Polymarket prediction markets data including
    events, markets, traders, holders, and real-time metrics
  license:
    name: ''
  version: 1.0.0
servers:
  - url: https://api.struct.to/v1
security: []
paths:
  /polymarket/market/metrics:
    get:
      tags:
        - Market
      summary: Get market metrics
      description: >-
        Retrieve volume, transaction, and trader metrics for a market. Supports
        single timeframe (e.g., '1m'), multiple timeframes (e.g., '1m,5m,1h'),
        or 'all' to get all available timeframes.
      operationId: get_market_metrics
      parameters:
        - name: condition_id
          in: query
          description: Market condition ID
          required: true
          schema:
            type: string
        - name: timeframe
          in: query
          description: >-
            Timeframe: single (1m, 5m, 30m, 1h, 6h, 24h, 7d, 30d, lifetime),
            comma-separated (1m,5m,1h), or 'all'
          required: true
          schema:
            type: string
      responses:
        '200':
          description: >-
            Market metrics. **Note:** returns a single object for one timeframe,
            or an array of objects for comma-separated timeframes or 'all'.
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/ConditionMetricsResponse'
        '400':
          description: Invalid timeframe
components:
  schemas:
    ConditionMetricsResponse:
      type: object
      description: Response type for condition metrics query
      required:
        - condition_id
        - timeframe
        - volume_usd
        - shares_volume
        - builder_usd_volume
        - builder_shares_volume
        - fees
        - builder_fees
        - txns
        - builder_txns
        - unique_traders
        - unique_makers
        - unique_takers
        - unique_builder_traders
        - avg_trade_usd
        - avg_trade_shares
      properties:
        condition_id:
          type: string
        timeframe:
          type: string
        volume_usd:
          type: number
          format: double
        shares_volume:
          type: number
          format: double
        builder_usd_volume:
          type: number
          format: double
        builder_shares_volume:
          type: number
          format: double
        fees:
          type: number
          format: double
        builder_fees:
          type: number
          format: double
        txns:
          type: integer
          format: int32
        builder_txns:
          type: integer
          format: int32
        unique_traders:
          type: integer
          format: int32
        unique_makers:
          type: integer
          format: int32
        unique_takers:
          type: integer
          format: int32
        unique_builder_traders:
          type: integer
          format: int32
        avg_trade_usd:
          type: number
          format: double
        avg_trade_shares:
          type: number
          format: double

````