$ man polymarket-trades
/polymarket-trades(1)
PRICE / CALL
$0.005
USDC · base mainnet · scheme: exact
METHOD
POST
CLUSTER
edgefinanceCATEGORY
uncategorized
STATUS
● live
NAME
polymarket-trades — polymarket trades / recent prediction market trades / on-chain bet history / polymarket trade feed / polymarket data api
SYNOPSIS
POST https://x402.org/v1/polymarket-trades
Content-Type: application/json
X-PAYMENT: <signed-transferWithAuthorization>
{ ... }↳ first call →
402 Payment Required. Sign USDCtransferWithAuthorization, retry with theX-PAYMENT header.DESCRIPTION
Polymarket trades / recent prediction market trades / on-chain bet history / Polymarket trade feed / Polymarket data API. Pulls recent trades from a Polymarket market (by slug or conditionId) or for a specific wallet. Returns side, size, price, timestamp, trader pseudonym, on-chain tx hash, and computed notional USD. DATA only.
INPUT — request schema
| property | type | description | req? |
|---|---|---|---|
| market | string | Market slug (e.g. 'will-x-happen') OR conditionId (0x...). Optional. | optional |
| user | string | Polymarket proxy wallet address to filter by. Optional. | optional |
| limit | number | 1-500. Default 50. | optional |
| offset | number | Pagination offset. | optional |
| side | string | Filter by side. enum: BUY · SELL | optional |
| after_ts | number | Unix seconds. Only trades after. | optional |
| before_ts | number | Unix seconds. Only trades before. | optional |
OUTPUT — response shape
| field | type | description |
|---|---|---|
| trades | string | Array of recent Polymarket trades with side, size, price, timestamp, trader pseudonym, and on-chain tx hash. |
| count | string | Number of trades returned in the trades array for the requested market or wallet. |
| total_notional_usd | string | Sum of notional USD value across all returned trades, computed as size times price. |
| attribution | string | Source credit string pointing to Polymarket as the upstream data provider for these trades. |
EXAMPLES — two ways to call
EXAMPLE 1 · curl
curl -X POST https://x402.org/v1/polymarket-trades \
-H 'Content-Type: application/json' \
-d '{ }'first response =
402 Payment Required with payment requirements; sign + retry with X-PAYMENT.EXAMPLE 2 · mcp
# install once claude mcp add x402 --command "npx x402-deployer-mcp" # then ask Claude Code: # "use the polymarket-trades tool to ..."
MCP server handles payment automatically — your coding agent just calls the tool by name.
METADATA
- tags
- edge-financepolymarketprediction-marketstrade-feedon-chain-tradeswallet-historymarket-datapolymarket-trades
- methods
- POST
- cluster
- edgefinance
- price
- $0.005 USDC per call
ADJACENT — other endpoints in edgefinance
| endpoint | description | price |
|---|---|---|
| kalshi-markets | Kalshi markets / event contracts / Kalshi API / CFTC-regulated prediction markets / Kalshi browse / KalshiEX markets list. | $0.005 |
| polymarket-leaderboard | Polymarket leaderboard / top traders / profit leaderboard / Polymarket whales / volume leaderboard / prediction market rankings. | $0.005 |
| polymarket-markets | Polymarket markets / prediction market data / Polymarket API / list active prediction markets / crypto-settled betting odds / event odds… | $0.005 |
| exchange-rates | FX rates / forex / currency converter / USD to EUR / ECB rates / historical exchange rates. | $0.002 |
| insider-form-4 | SEC Form 4 (insider transactions) normalizer. | $0.01 |
| insider-trading | Insider trading feed. | $0.01 |
| sec-filing | SEC EDGAR filing fetcher + parser + summarizer. | $0.01 |
| bls-occupational-stats | BLS Public Data API — wages, employment levels, growth by series ID. | $0.02 |
SEE ALSO