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

# Wallet Volume Chart

> Fetch volume chart data for a wallet

Returns per-period total, BUY, and SELL volume for a wallet, aggregated from trade events where the wallet was the maker.


## OpenAPI

````yaml GET /v2/polymarket/wallet/volume-chart/{wallet}
openapi: 3.1.0
info:
  title: Predexon API
  description: Prediction market data aggregation and matching API
  version: 2.0.0
servers:
  - url: https://api.predexon.com
security:
  - apiKey: []
paths:
  /v2/polymarket/wallet/volume-chart/{wallet}:
    get:
      tags:
        - polymarket
      summary: Get Wallet Volume Chart
      description: >-
        Fetch volume chart data for a wallet, broken down by BUY/SELL side.


        Returns per-period total, BUY, and SELL volume aggregated from trade
        events

        where the wallet was the maker (providing liquidity).
      operationId: get_wallet_volume_chart_v2_polymarket_wallet_volume_chart__wallet__get
      parameters:
        - name: wallet
          in: path
          required: true
          schema:
            type: string
            description: Wallet address to fetch volume chart for
            title: Wallet
          description: Wallet address to fetch volume chart for
        - name: granularity
          in: query
          required: false
          schema:
            $ref: '#/components/schemas/VolumeChartGranularity'
            description: 'Time granularity: hour, day, or week'
            default: hour
          description: 'Time granularity: hour, day, or week'
        - name: start_time
          in: query
          required: true
          schema:
            type: integer
            minimum: 0
            description: Unix timestamp (seconds) for start of time range
            title: Start Time
          description: Unix timestamp (seconds) for start of time range
        - name: end_time
          in: query
          required: true
          schema:
            type: integer
            minimum: 0
            description: Unix timestamp (seconds) for end of time range
            title: End Time
          description: Unix timestamp (seconds) for end of time range
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WalletVolumeChartResponse'
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Bad Request
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Not Found
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    VolumeChartGranularity:
      type: string
      enum:
        - hour
        - day
        - week
      title: VolumeChartGranularity
      description: Granularity for volume chart endpoint.
    WalletVolumeChartResponse:
      properties:
        wallet_address:
          type: string
          title: Wallet Address
          description: Wallet address
        granularity:
          $ref: '#/components/schemas/VolumeChartGranularity'
          description: Time granularity
        start_time:
          type: integer
          title: Start Time
          description: Unix timestamp of first data point
        end_time:
          type: integer
          title: End Time
          description: Unix timestamp of last data point
        data:
          items:
            $ref: '#/components/schemas/WalletVolumeChartDataPoint'
          type: array
          title: Data
          description: Volume data points
      type: object
      required:
        - wallet_address
        - granularity
        - start_time
        - end_time
        - data
      title: WalletVolumeChartResponse
      description: Wallet volume chart endpoint response.
    ErrorResponse:
      properties:
        error:
          type: string
          title: Error
        message:
          type: string
          title: Message
      type: object
      required:
        - error
        - message
      title: ErrorResponse
      description: Standard error response.
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    WalletVolumeChartDataPoint:
      properties:
        timestamp:
          type: integer
          title: Timestamp
          description: Unix timestamp in seconds (start of period)
        total_volume:
          type: number
          title: Total Volume
          description: Total USD volume in this period
        buy_volume:
          type: number
          title: Buy Volume
          description: BUY-side USD volume in this period
        sell_volume:
          type: number
          title: Sell Volume
          description: SELL-side USD volume in this period
        trades_count:
          type: integer
          title: Trades Count
          description: Number of trades in this period
      type: object
      required:
        - timestamp
        - total_volume
        - buy_volume
        - sell_volume
        - trades_count
      title: WalletVolumeChartDataPoint
      description: Individual wallet volume chart data point.
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
  securitySchemes:
    apiKey:
      type: apiKey
      in: header
      name: x-api-key

````