POST /v1/agent/webhooks
Register an agent-owned webhook subscription (trader.fill / market.resolved / signal.smart_money). x402: $0.005 per call, settled in USDC only on a 2xx — a 4xx is free.
Register an agent-owned webhook subscription (trader.fill / market.resolved / signal.smart_money). x402: $0.005 per call, settled in USDC only on a 2xx — a 4xx is free.
Authorization
x402 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/webhooks" \ -H "Content-Type: application/json" \ -d '{ "target_url": "string", "event_types": [ "trader.fill" ] }'{}POST /v1/agent/traders/batch POST
Bulk score up to 100 wallets in one call (metrics + percentiles + tags). $0.0015/wallet, capped. x402: $0.15 per call, settled in USDC only on a 2xx — a 4xx is free.
POST /v1/agent/ws-token POST
Mint a short-TTL WebSocket token (x402-authorized) to open the live trade/market firehose. x402: $0.005 per call, settled in USDC only on a 2xx — a 4xx is free.