Polymarket order book for one market outcome from the CLOB
agent-data-tools.revmesh2074.workers.dev/polymarket/orderbook
Polymarket order book for one market outcome from the CLOB: bids and asks (price and size) up to 50 levels, best bid and ask, mid, spread and USD depth within 5 cents of the mid on each side. Give the market slug and outcome, or a CLOB token id. Use to check liquidity and slippage before a trade, or to read a sharper price than the last trade.
GET
https://agent-data-tools.revmesh2074.workers.dev/polymarket/orderbookUptime100% of 1 check 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://agent-data-tools.revmesh2074.workers.dev/polymarket/orderbook?slug=will-jd-vance-win-the-2028-republican-presidential-nomination");
console.log(await res.json());Example input
{
"slug": "will-jd-vance-win-the-2028-republican-presidential-nomination"
}