> ## 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 trader PnL calendar

> Retrieve daily PnL candles for a trader.



## OpenAPI

````yaml https://api.struct.to/openapi.json get /polymarket/trader/pnl/{address}/calendar
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/trader/pnl/{address}/calendar:
    get:
      tags:
        - Trader
      summary: Get trader PnL calendar
      description: Retrieve daily PnL candles for a trader.
      operationId: get_trader_pnl_calendar
      parameters:
        - name: address
          in: path
          description: Trader wallet address
          required: true
          schema:
            type: string
        - name: days
          in: query
          description: 'Window size in days (default: 30, max: 30)'
          required: false
          schema:
            type: integer
            format: int32
        - name: pagination_key
          in: query
          description: Cursor from a previous response
          required: false
          schema:
            type: string
      responses:
        '200':
          description: Daily PnL entries
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/PnlCandleEntry'
components:
  schemas:
    PnlCandleEntry:
      type: object
      required:
        - t
        - pnl
      properties:
        t:
          type: integer
          format: int64
          description: Timestamp in epoch seconds (start of bucket window).
        pnl:
          type: number
          format: double
          description: Daily PnL in USD for this calendar bucket.

````