Deterministic prediction-market quote from the live order book
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.
Paid test badge: not yet. The checks above are free: we call the tool without paying and read the payment request it sends back. The Verified badge needs paid calls whose answers match the promised output, and nobody can buy a badge.
Endpoint
POST https://chainhilt.ai/api/v1/predict/polymarket/quotes
| Category | Market data |
|---|---|
| Provider host | chainhilt.ai |
| Networks | eip155:8453 |
| Payment schemes | exact |
| Self-reported calls, 30 days | 17 from 4 payers (the provider's figure, not ours) |
Our checks, last 30 days
We never call tools that send, buy, move money or file anything, not even without paying.
Example input (from the provider)
{
"body": {
"amount": "10",
"amountType": "shares",
"marketId": "512329",
"maxPrice": "0.45",
"outcomeTokenId": "111",
"side": "buy"
},
"bodyType": "json",
"method": "POST",
"type": "http"
}
Promised output schema (from the provider)
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"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": {
"properties": {
"example": {
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}