CLI Tools
Polymarket CLOB L2 Orderbook Slippage & Arbitrage Scanner Toolkit (Node.js)
Zero-dependency Node.js CLI & JSON API walking real Polymarket CLOB L2 orderbooks for slippage, near-expiry binaries, and negRisk baskets.
What you get: 1 file · 9.04 KB · ZIP
See purchase optionsPreview
Product description
Standalone, MIT-licensed Node.js 20+ toolkit for analyzing Polymarket binary prediction markets, multi-outcome negRisk basket sums, and live CLOB Level-2 resting orderbook depth and execution slippage—with zero API keys and zero npm dependencies.
CORE CAPABILITIES
- Real CLOB L2 Orderbook Walking: Fetches live resting bids and asks from Polymarket CLOB API and simulates exact average execution price, worst fill price, share count, and slippage percentage across $100, $1,000, $5,000, $25,000 (or custom USD order sizes).
- Multi-Outcome negRisk Basket Scanner: Detects mutually exclusive Polymarket events whose sum of YES probabilities deviates from $1.00 by 1.5 cents or more, exposing top individual legs and liquidity.
- Near-Expiry Binary Pricing Monitor: Scans active binary contracts resolving within 21 days above 88 cents with raw settlement payout percentage, break-even win probability, and volume/liquidity filters.
- 24-Hour Probability Movers & Wide Market-Maker Spreads: Highlights largest daily probability shifts and widest bid-ask spreads across liquid markets.
WHAT YOU GET (1 ZIP ARCHIVE — 7 FILES, 9.3 KB, PURE ESM JAVASCRIPT & MARKDOWN)
- polymarket.mjs — Clean ESM library querying Polymarket Gamma and CLOB APIs with automatic active-orderbook resolution and exact level-by-level fill simulator.
- cli.mjs — Terminal CLI supporting --orderbook <query>, --token-id <id>, --sizes 500,2500,10000, --baskets, --json, and --csv export.
- server.mjs — Local HTTP JSON API server (/edges and /orderbook?query=...) refreshing every 60 seconds for trading bots or custom dashboards.
- test.mjs — Live integration test suite verifying Gamma market scanning and CLOB orderbook fill simulation (run with: node test.mjs).
- package.json, README.md, and LICENSE (MIT License — full personal and commercial use).
REQUIREMENTS
- Node.js 20 or 22 (uses native fetch and built-in http module; zero npm dependencies).
What you get
1 file · 9.04 KB
- emberlane-polymarket-clob-toolkit-v1.0.zipZIP · 9.04 KB
CLI Tools
Polymarket CLOB L2 Orderbook Slippage & Arbitrage Scanner Toolkit (Node.js)
Zero-dependency Node.js CLI & JSON API walking real Polymarket CLOB L2 orderbooks for slippage, near-expiry binaries, and negRisk baskets.
Included in Getly Pro
Download this and 8,000+ other products with one subscription, from $9.99 a month.
Join Getly ProTags
Frequently asked questions
Do I get access instantly?
Yes. This is a digital product - you can download it right after checkout, straight from your library.
Can I use it for commercial projects?
Yes. Commercial use is allowed: use it in your own business and in things you sell. You may not resell or redistribute the file itself.
What's your refund policy?
You can request a refund within 30 days. If something isn't right, request it from your order and the Getly team reviews it.
What file formats and sizes will I get?
You'll download 1 file - ZIP - 9.04 KB in total.
Do I get free updates?
Yes - when the seller ships a new version, you can re-download the latest files from your library at no extra cost. Check the changelog for recent updates.
Price
$19.00

