v1

latestOpenAPI 3.1.02026-07-22163829.6 KB
Trading

Create Quote Request

Open a live quote request. The relay broadcasts the trade parameters to all connected market makers over the quote-request SSE stream and returns a requestId used to stream, poll, and commit. No wallet signature is required — the taker's authorization happens on-chain at fill().

post/quote-requests

Request body

walletstring nullable

Taker wallet (checksummed). Optional at creation; can be provided at commit.

Example request

{
  "wallet": "0xTrader0000000000000000000000000000000000",
  "market": {
    "conditionId": "0xa4ddc18895cc7b14810283ef8f113939abffd3969c6a0e37f1897110c67e6f73",
    "yesTokenId": "51508280778202349361616850684455231843716212176724253736363122559269229712002",
    "question": "Will there be a Hantavirus outbreak in 2026?"
  },
  "option": {
    "strikeBps": 50,
    "expiryMs": 1735689600000
  },
  "trade": {
    "side": "buy",
    "budgetUsd": 100,
    "size": 10
  }
}

Response

Quote request created

successtrue
requestIdstring
expiresAtstring date-time
makersConnectedinteger

Makers subscribed to the quote-request stream at broadcast time.

Example response

{
  "requestId": "req-789",
  "expiresAt": "2026-06-15T12:05:00.000Z",
  "makersConnected": 3
}