{"slug":"chainhilt-ai-api-v1-predict-polymarket-quotes-7c358f","title":"Deterministic prediction-market quote from the live order book","host":"chainhilt.ai","method":"POST","resource":"https://chainhilt.ai/api/v1/predict/polymarket/quotes","category":"market","description":"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 v","price_listed":0.001,"price_asked":null,"state":"effects","state_label":"Not tested: has real-world effects","checks_7d":0,"answered_7d":0,"latency_ms_median":null,"reported_calls_30d":17,"reported_payers_30d":4,"networks":["eip155:8453"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"body":{"amount":"10","amountType":"shares","marketId":"512329","maxPrice":"0.45","outcomeTokenId":"111","side":"buy"},"bodyType":"json","method":"POST","type":"http"},"output_schema":{"$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"},"history":[],"description_full":"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.","last_updated":"2026-11-24T14:16:29.863Z","schemes":["exact"]}