Polyrankdocs
x402 Agent API

POST /v1/agent/markets/batch

Bulk market summaries for up to 100 condition_ids in one call (holder average entry + settlement-corrected mid + resolution). $0.0015/market, capped. x402: $0.15 per call, settled in USDC only on a 2xx — a 4xx is free.

POST
/v1/agent/markets/batch

Bulk market summaries for up to 100 condition_ids in one call (holder average entry + settlement-corrected mid + resolution). $0.0015/market, capped. x402: $0.15 per call, settled in USDC only on a 2xx — a 4xx is free.

X-PAYMENT<token>

x402 payment: base64(JSON PaymentPayload) with an EIP-3009 USDC transferWithAuthorization on Base. Call once without it to get the 402 PaymentRequirements; see docs.polyrank.app/x402.

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

curl -X POST "https://example.com/v1/agent/markets/batch" \  -H "Content-Type: application/json" \  -d '{    "condition_ids": [      "string"    ]  }'
{}
Empty
Empty