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

# Polymarket Volume History



## OpenAPI

````yaml openapi.json GET /gateway/v1/prediction-market/polymarket/volumes
openapi: 3.1.0
info:
  title: Hermod
  version: 0.0.1
servers:
  - url: https://api.asksurf.ai
security: []
paths:
  /gateway/v1/prediction-market/polymarket/volumes:
    get:
      tags:
        - Prediction Market
      summary: Polymarket Volume History
      description: |-
        Returns trading volume and trade count history for a Polymarket market.

        **Data refresh:** ~30 minutes
      operationId: polymarket-volumes
      parameters:
        - description: Market condition identifier
          explode: false
          in: query
          name: condition_id
          required: true
          schema:
            description: Market condition identifier
            examples:
              - '0x1234567890abcdef'
            type: string
        - description: Predefined time range
          explode: false
          in: query
          name: time_range
          schema:
            default: 30d
            description: Predefined time range
            enum:
              - 7d
              - 30d
              - 90d
              - 180d
              - 1y
            examples:
              - 30d
            type: string
        - description: 'Aggregation interval: `1h` (hourly) or `1d` (daily)'
          explode: false
          in: query
          name: interval
          schema:
            default: 1d
            description: 'Aggregation interval: `1h` (hourly) or `1d` (daily)'
            enum:
              - 1h
              - 1d
            examples:
              - 1d
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DataResponsePolymarketVolumePoint'
          description: OK
        default:
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DataAPIError'
          description: Error
      security:
        - AccessToken: []
components:
  schemas:
    DataResponsePolymarketVolumePoint:
      additionalProperties: false
      properties:
        $schema:
          description: A URL to the JSON Schema for this object.
          examples:
            - https://example.com/schemas/DataResponsePolymarketVolumePoint.json
          format: uri
          readOnly: true
          type: string
        data:
          items:
            $ref: '#/components/schemas/PolymarketVolumePoint'
          type:
            - array
            - 'null'
        meta:
          $ref: '#/components/schemas/OffsetMeta'
      required:
        - data
        - meta
      type: object
    DataAPIError:
      additionalProperties: false
      properties:
        $schema:
          description: A URL to the JSON Schema for this object.
          examples:
            - https://example.com/schemas/DataAPIError.json
          format: uri
          readOnly: true
          type: string
        error:
          $ref: '#/components/schemas/DataAPIErrorDetail'
      required:
        - error
      type: object
    PolymarketVolumePoint:
      additionalProperties: false
      properties:
        notional_volume_usd:
          description: Notional trading volume in USD
          format: double
          type: number
        timestamp:
          description: Interval start Unix timestamp in seconds
          format: int64
          type: integer
        trade_count:
          description: Number of trades
          format: int64
          type: integer
      required:
        - timestamp
        - notional_volume_usd
        - trade_count
      type: object
    OffsetMeta:
      additionalProperties: false
      properties:
        cached:
          description: Whether this response was served from cache
          type: boolean
        credits_used:
          description: Credits deducted for this request
          format: int64
          type: integer
        limit:
          description: Maximum number of items returned in this response
          format: int64
          type: integer
        offset:
          description: Number of items skipped (pagination offset)
          format: int64
          type: integer
        total:
          description: >-
            Total number of matching items (before pagination). Omitted when
            total is unknown.
          format: int64
          type: integer
      required:
        - limit
        - offset
        - credits_used
        - cached
      type: object
    DataAPIErrorDetail:
      additionalProperties: false
      properties:
        code:
          type: string
        message:
          type: string
      required:
        - code
        - message
      type: object

````