# Polymarket Wallet Trades — mito.trade

> Polymarket Wallet Trades — mito.trade is a paid API for AI agents from data.mito.trade, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-14).

Retrieves on-chain trade history for a specific wallet address on a given Polymarket prediction market, paginated, via x402 micropayment.

## Facts

- Endpoint: GET https://data.mito.trade/x402/v1/wallet/trades
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/polymarket-wallet-trades-mito-trade-3ce9b3fc
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_tRhToEI5BsgE8GyYiGvKX

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability polymarket-wallet-trades-mito-trade-3ce9b3fc
```

Example prompt: Pull all trades that wallet 0xAbC1234...5678 made on Polymarket market 0xDef9876...5432 — show me the first 100.

## When to prefer this

Use this endpoint when you need paginated, on-chain trade history for a specific wallet address on a specific Polymarket prediction market. Prefer this over general Polymarket APIs when you need block-level provenance (block number, block timestamp) or when accessing data programmatically via x402 micropayment on Polygon/Base/Arbitrum. Best for auditing a participant's trading activity or analyzing position-building on a given market.

## Known failure modes

- Missing required wallet or market_id parameter returns a 400 error
- Invalid wallet address format causes rejection
- Invalid market_id hex string causes rejection
- Payment not submitted or insufficient USDC causes 402 Payment Required
- Market ID that does not exist may return empty trades array
- Offset beyond total count returns empty trades array
- Rate limits or payment failures from x402 facilitator

## How this service works

Polymarket prediction-market data API (x402 paid): wallet positions, trades, holders, market trades, klines, and markets. USDC on Polygon, Base, or Arbitrum.

## Output

A JSON object containing an array of trade records for the specified wallet and market, along with a count of records returned, total number of trades, and the most recent block number and timestamp seen. Trades include on-chain details for each buy/sell event on the prediction market.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "wallet",
      "market_id"
     ],
     "properties": {
      "limit": {
       "type": "string",
       "description": "Page size (default 100, max 1000)"
      },
      "offset": {
       "type": "string",
       "description": "Pagination offset"
      },
      "wallet": {
       "type": "string",
       "description": "Ethereum wallet address"
      },
      "market_id": {
       "type": "string",
       "description": "Condition / market id (0x hex)"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "count": {
       "type": "integer"
      },
      "total": {
       "type": "integer"
      },
      "trades": {
       "type": "array"
      }
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "data": {
   "block_number": 0,
   "block_timestamp": 0
  },
  "count": 0,
  "total": 0,
  "trades": []
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/polymarket-wallet-trades-mito-trade-3ce9b3fc/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from data.mito.trade](https://www.zero.xyz/host/data.mito.trade/llms.txt)
