{"partialResults":false,"resources":[{"accepts":[{"amount":"1000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","extra":{"name":"USD Coin","version":"2"},"maxTimeoutSeconds":300,"network":"eip155:8453","payTo":"0xdECE8E839414E4a99213C658ABbD2294d5BD42B0","scheme":"exact"}],"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 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.","extensions":{"bazaar":{"info":{"input":{"body":{"amount":"10","amountType":"shares","marketId":"512329","maxPrice":"0.45","outcomeTokenId":"111","side":"buy"},"bodyType":"json","method":"POST","type":"http"},"output":{"example":{"quote":{"averagePrice":"0.4312","estimatedPrincipal":{"amount":"4.312","asset":"pUSD"},"estimatedShares":"10","estimatedVenueFee":{"amount":"0.098107","asset":"pUSD"},"marketId":"512329","outcomeTokenId":"111","priceImpactBps":12,"side":"buy","validUntil":"2026-01-01T00:00:30.000Z","worstPrice":"0.44"}},"type":"json"}},"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"}}},"iconUrl":"https://res.cloudinary.com/bdb-prod/image/upload/c_fill,ar_1:1,w_256,h_256,f_auto,q_auto/v1793712289/bazaar-icons/18d1fcf093fb95b4.png","lastUpdated":"2026-11-24T14:16:29.863Z","quality":{"l30DaysTotalCalls":17,"l30DaysUniquePayers":4,"lastCalledAt":"2026-11-24T14:16:29.662Z"},"resource":"https://chainhilt.ai/api/v1/predict/polymarket/quotes","serviceName":"chainhilt-x402","tags":["predict","polymarket","prediction-markets","quote"],"type":"http","x402Version":2}],"searchMethod":"text","x402Version":2,"meta":{"searchToken":"tlin6dcudhbbsaa"}}
