We're performing scheduled maintenance. Please expect service disruptions and slower response times during this window. Thank you for your patience.

Crypto Up/DownProduction ready API

Backtest crypto
Up/Down markets
in minutes.

PolyTest is a Polymarket backtesting API that lets traders replay historical orderbooks and test trading strategies on crypto prediction markets. Pull sub-second snapshots across BTC, ETH & SOL — with XRP, DOGE & BNB coming soon.

No credit card required5 min integrationSub-second data

Live Preview

BTC Up/Down5m
01:30:00 — 01:35:00 UTC
LIVE
BTC Reference
$0.00+0.42%
UP
0.00
Vol: 284KH: 0.65 L: 0.48
DOWN
0.00
Vol: 196KH: 0.52 L: 0.35
Order Book — UP Token
0.01 spread
Bids
2,4500.57
3,8000.56
1,9000.55
4,2000.54
Asks
1,8000.58
2,9000.59
3,1000.60
2,2000.61
Snapshots 1,847
Depth 8 levels
Sub-second resolution

Why traders & builders choose PolyTest

The numbers that matter

Here's exactly what you get

Historical Depth

0+

snapshots indexed & growing

0+
Markets
0
Coins
0
Timeframes
Latency
42ms

p50 response · p99 < 120ms

Reliability
99.9%

uptime · last 60 days

60d agoToday
Depth
8 levels

full bid/ask per snapshot

Market Coverage

Coins

BTCETHSOLXRPsoonDOGEsoonBNBsoonmore coming soon

Timeframes

5m15m1hr4hr24hr

Every Up/Down market, every expiration. Zero data gaps.

Ready to see the data yourself?

Free tier · No credit card · Works with Cursor, Claude Code, OpenClaw, Codex, v0, and any tool you build with

Start Free

Get started in minutes

How it works

Three steps. Real data. No setup headaches.

01

Pick a market

Browse Up/Down markets across BTC, ETH & SOL. Filter by timeframe.

Search markets...
BTC Up/Down
Bitcoin · 5m window
0.58
0.42
Vol
1.2M
Ξ
ETH Up/Down
Ethereum · 5m window
0.61
0.39
Vol
840K
SOL Up/Down
Solana · 5m window
0.44
0.56
Vol
620K
XRP Up/Down
XRP · 5m window
0.52
0.48
Vol
390K
Ð
DOGE Up/Down
Dogecoin · 5m window
0.47
0.53
Vol
280K
BNB Up/Down
BNB · 5m window
0.55
0.45
Vol
310K
02

One API call

Fetch historical snapshots with a single request. Full orderbook depth, bid/ask, mid price, volume — all timestamped to the millisecond. Clean JSON responses, so Cursor, Claude Code, OpenClaw, Codex, and other AI tools nail the integration first try.

backtest.ts
1
03

Backtest & build

Replay price action, test entry/exit signals, or vibecode a full trading bot. Whether you're writing strategies by hand or letting AI help — all the data, zero guesswork.

BTC Up Token — 5m
24h backtest · 100 snapshots
+35.2%
0.51 → 0.69
2.14
Sharpe
-8.3%
Max DD
67%
Win Rate

Use cases

Built for builders who move fast

From first-time prediction market traders to production quant systems.

Traders & New Enthusiasts

Whether you're a seasoned quant or just getting into Polymarket prediction trading — backtest entry/exit signals on real Up/Down crypto markets. Pull historical bid/ask data, replay orderbooks, and measure your edge before placing a single trade.

Sample output
Strategy
Mean Reversion
Timeframe
5m BTC Up/Down
Snapshots
12,400
Win Rate
68.3%
Sharpe
2.14
Max DD
-6.2%

From the community

What developers are saying

i was writing my own scraper for polymarket and it kept breaking every other day. found polytest, had month of BTC data flowing in like 40 minutes. kinda mad i wasted so much time before lol

A

Alex C.

Quant trader

finally an api that actually gives you the full book. everywhere else its just mid price which is useless if you want to know what your fills would actually look like. 8 levels deep is more than enough for what i need

P

Priya M.

Algo developer

not gonna lie i have no idea what im doing but i pointed cursor at the polytest api docs and it just worked? had a backtester running same day. the json responses are clean so the ai doesnt hallucinate random fields

M

Marcus D.

Building my first trading bot

FAQ

Questions you're probably asking

If yours isn't here, just ask us.

Ready to build?

Start with the free tier — no credit card required. Pull BTC Up/Down data in minutes, whether you're a first-time trader or shipping a production bot.