Api Endpoint

chainhilt-x402

Deterministic prediction-market quote from the live order book: integer micro-unit book walk (buys round principal up, sells round proceeds down). `estimatedVenueFee` is Polymarket's own taker fee at the average price (shares × rate × p × (1 − p), from the market's live fee schedule; null when the venue reports a fee type this API cannot price). Informational only — nothing is reserved. Errors: 400 invalid input, 422 untradable market, wrong token or thin book, 502 venue failure.

Open interactive test console

Offering

Provider
chainhilt.ai
Method
POST
Offering type
Api Endpoint
Transport type
http
Category
Other
Delivery
Not provided
Pricing model
Not provided
x402 version
2

Endpoint context

URL
https://chainhilt.ai/api/v1/predict/polymarket/quotes
MIME type
Not provided
First seen
2026-11-05T17:25:19.430Z
Last seen
Tags
predict, polymarket, prediction-markets, Quote

Payment pricing

x402 payment terms are the authoritative price for calling this endpoint.

Payment option 1
0.001 USDC
Atomic price: 1000 · Network: eip155:8453 · Asset: USDC · Scheme: exact
Raw x402 terms
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "1000",
    "payTo": "0xdECE8E839414E4a99213C658ABbD2294d5BD42B0"
  }
]

Observed health

Status
Healthy
Latest latency
723 ms
Average latency
578 ms
HTTP status
204
Last checked
Reachability
100% over 9 checks

Latency is measured to the first response headers. A reachable result does not verify response accuracy or merchant identity.

Input schema

{
  "additionalProperties": false,
  "properties": {
    "body": {
      "$schema": "https://json-schema.org/draft/2020-12/schema",
      "additionalProperties": false,
      "properties": {
        "amount": {
          "description": "Shares or pUSD per `amountType`, up to 6 decimals.",
          "pattern": "^[0-9]+(\\.[0-9]{1,6})?$",
          "type": "string"
        },
        "amountType": {
          "description": "Whether `amount` counts shares or pUSD (spent on a buy, received on a sell).",
          "enum": [
            "shares",
            "collateral"
          ],
          "type": "string"
        },
        "marketId": {
          "description": "Polymarket market id from markets/search.",
          "pattern": "^[A-Za-z0-9_-]{1,128}$",
          "type": "string"
        },
        "maxPrice": {
          "description": "Worst acceptable price per share (0-1): a ceiling for buys, a floor for sells.",
          "pattern": "^0\\.[0-9]{1,6}$",
          "type": "string"
        },
        "outcomeTokenId": {
          "description": "The outcome's `tokenId` from the market's `outcomes`; must belong to `marketId`.",
          "minLength": 1,
          "type": "string"
        },
        "side": {
          "description": "buy walks the asks, sell walks the bids.",
          "enum": [
            "buy",
            "sell"
          ],
          "type": "string"
        }
      },
      "required": [
        "marketId",
        "outcomeTokenId",
        "side",
        "amountType",
        "amount"
      ],
      "type": "object"
    },
    "bodyType": {
      "enum": [
        "json",
        "form-data",
        "text"
      ],
      "type": "string"
    },
    "method": {
      "enum": [
        "POST"
      ],
      "type": "string"
    },
    "type": {
      "const": "http",
      "type": "string"
    }
  },
  "required": [
    "type",
    "method",
    "bodyType",
    "body"
  ],
  "type": "object"
}

Output schema

{
  "properties": {
    "example": {
      "type": "object"
    },
    "type": {
      "type": "string"
    }
  },
  "required": [
    "type"
  ],
  "type": "object"
}