---
title: "Get Arkham Polymarket PnL chart"
method: POST
path: "/polymarket/pnl/chart"
tags: ["Polymarket"]
---

# Get Arkham Polymarket PnL chart

`POST /polymarket/pnl/chart`

Get Arkham Polymarket PnL chart. $0.60 per call.

## Request body

- object
  - `conditionID` union — Optional. Market condition ID (0x-prefixed bytes32 hex). Aggregates across all outcome tokens. Omit for portfolio-level…
    - string
    - number
    - boolean
    - union[]
      - union
        - string
        - number
        - boolean
  - `endTime` union — Optional Unix timestamp in seconds for end of range. For conditionID requests, preset windows derived from endTime must…
    - string
    - number
    - boolean
    - union[]
      - union
        - string
        - number
        - boolean
  - `period` union — Time period: 24h, 7d, 30d, all. Presets auto-shrink to the wallet's available history; all is portfolio-only. Default:…
    - string
    - number
    - boolean
    - union[]
      - union
        - string
        - number
        - boolean
  - `startTime` union — Optional Unix timestamp in seconds for start of range. Not supported with period=all. Condition-level custom ranges mus…
    - string
    - number
    - boolean
    - union[]
      - union
        - string
        - number
        - boolean
  - `userAddress` union, required — Polymarket trade address (0x + 40 hex chars).
    - string
    - number
    - boolean
    - union[]
      - union
        - string
        - number
        - boolean

## Response `200`

Successful response

- unknown

## Other responses

- `400` — Fatal for the request as written: validation failed or required JSON body fields are missing. Fix the request; do not retry it unchanged. Payment is not settled.
- `402` — Payment challenge, not an application error. Read the base64 x402 v2 challenge from PAYMENT-REQUIRED, sign it, and retry the same request with PAYMENT-SIGNATURE. If a post-payment 402 omits PAYMENT-REQUIRED, verification failed: read the new challenge, re-sign, and retry once.
- `404` — The upstream Arkham resource does not exist. Fatal for the same input. Payment is not settled.
- `429` — Per-wallet endpoint rate limit exceeded. Retry with at least 1 second of backoff; keep heavy endpoints at no more than 1 request per second.
- `5XX` — Arkham failed or timed out, including 502 and 504 responses. Retry with backoff. x402 payments and MPP transaction credentials are not settled for failed requests; MPP hash credits are redeemed at admission and are not refunded automatically.

---

[API](https://skmtc.net/arkm/apis/arkham-x402.md) · [All operations](https://skmtc.net/arkm/apis/arkham-x402/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/arkm/arkham-x402/versions/7830c19a58c4/schema)
