Skip to content
Fourohtwo

Deterministic prediction-market quote from the live order book

chainhilt.ai/api/v1/predict/polymarket/quotes

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: 40

BaseAnswering
POSThttps://chainhilt.ai/api/v1/predict/polymarket/quotes

Uptime100% of 3 checks in 30 days

30 days agoToday

Try it

Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.

The response shows up here.

Call it from an agent

// npm install fourohtwo
import { createPayer } from "fourohtwo";

// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://chainhilt.ai/api/v1/predict/polymarket/quotes", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"amount":"10","amountType":"shares","marketId":"512329","maxPrice":"0.45","outcomeTokenId":"111","side":"buy"}),
});
console.log(await res.json());

Example input

{
  "amount": "10",
  "amountType": "shares",
  "marketId": "512329",
  "maxPrice": "0.45",
  "outcomeTokenId": "111",
  "side": "buy"
}

More from chainhilt-x402Provider status