API changelog
Every change to the Polywhaler API a client can notice, newest first.
How changes are announced#
- New endpoints, fields and parameters are added without notice: write clients that ignore fields they do not know.
- A change in meaning or default that could break a client is changed, and Quant accounts calling the affected route are emailed first.
- A version is retired six months after its deprecation, announced here and in the
DeprecationandSunsetheaders on its responses. v1 stops answering on April 16, 2027. See Migrating from v1.
November 7, 2026#
Bulk backtests
POST /v2/backtests queues up to 50 copy-trading backtests at once (202), each replayed by Orca's engine: one or more wallets copied from startAt (up to 365 days back) to when the run runs, with fixed or proportional sizing, categories to leave out and a detection delay. Every run is priced twice: ideal, at the traders' own prices, and executable, at prices a copier could have gotten after the delay and fees, with how many copies filled, filled in part or were estimated. Each result carries the ending value, return, realized and unrealized P&L, win rate, max drawdown and each wallet's contribution; include=equityCurves on GET /v2/backtests/{id} adds the daily equity curves. Runs are processed one at a time, so poll GET /v2/backtests/{id} or subscribe to the new backtest.completed webhook. At most 3 batches can be queued or running at once, and an account starts at most 200 runs a UTC day (20 during a Quant trial). Creating one needs the new backtests:write scope: keys with full access have it, restricted and read-only keys do not.
POST /v2/backtestsGET /v2/backtestsGET /v2/backtests/{id}
November 5, 2026#
Odds line up deadlines, and find markets by the names people use
GET /v2/market-data/odds lines up deadlines across the venues: Polymarket's "by December 31, 2026" and Kalshi's "Before Jan 1, 2027" are one row, labeled "By Dec 31, 2026" (each venue's own label stays on its side), so a question both venues list by date pairs instead of showing each venue on its own. Questions now reach the market that names the outcome asked by surname ("Will Trump win 2028?" answers from the 2028 presidential race), the Super Bowl and the NBA, MLB and NHL finals by the names the venues give them ("Pro Football", "Pro Basketball"), and a market that adds a term of office ("during his term"). A question asking who is never answered by a ladder of dates or amounts, and two titles naming different amounts never pair. GET /v2/market-data/search finds the same markets, and the counterparts on events/{id} and markets/{id} pair the same way.
GET /v2/market-data/oddsGET /v2/market-data/searchGET /v2/market-data/events/{id}GET /v2/market-data/markets/{id}GET /v2/market-data/markets/{id}/prices
November 3, 2026#
Market data for any Polymarket or Kalshi market
Five routes read the venues live, both side by side unless venue names one. GET /v2/market-data/odds answers one question (q, or a pinned event on either venue) with each venue's outcomes lined up by meaning and priced by one rule (the midpoint, or the last trade when the spread is over 10¢), a gap per outcome, derived rows such as "Any cut", how sure the pairing is in match, and whale flow per venue. GET /v2/market-data/search finds events by text or lists them by 24-hour volume, end date or close time. GET /v2/market-data/events/{id} and /markets/{id} read one event or market (a slug, condition id, ticker or page URL) with its counterpart on the other venue, and /markets/{id}/prices its price history beside the counterpart's on one time grid. Volume and open interest stay in each venue's unit: *Usd on Polymarket, *Contracts on Kalshi. meta.coverage says what each venue gave (found, none, unavailable or skipped), and a venue that does not answer leaves the other's answer standing. The existing routes are unchanged.
GET /v2/market-data/oddsGET /v2/market-data/searchGET /v2/market-data/events/{id}GET /v2/market-data/markets/{id}GET /v2/market-data/markets/{id}/prices
October 30, 2026#
Polymarket trade webhooks within seconds
trade.whale, trade.insider_flagged, trade.smart_money and trade.followed_wallet for Polymarket trades now go out a few seconds after the fill, read from Polymarket's live trade stream, instead of when the trade is stored about five minutes later. Payloads and filters are unchanged, and each trade is still sent once. data.insider.score is the score computed when the event was sent and can differ by a few points from the one GET /v2/trades/{id} returns once the trade is stored, a few minutes later. Trades the stream does not carry, such as parlays, still go out when they are stored. The v1 trade.high_insider and trade.followed_wallet deliveries move the same way.
October 16, 2026#
Crypto price-prediction markets
Polymarket's open crypto price markets by event, as the /crypto dashboard lists them: up-or-down rounds from 5 minutes to 4 hours, daily to yearly above/below and price-range ladders, and hit-price targets, with every open market's outcome prices as 0..1 probabilities and its strikes in strikeLowUsd / strikeHighUsd. Filter by asset (id or symbol), window, type and q, sort by volume or endsAt, and page with the cursor. meta.assets lists the catalogue's assets; meta.stale marks the last good copy, served while Polymarket does not answer (503 temporarily_unavailable before any copy exists).
GET /v2/crypto/markets
Bitcoin forecast model btc-forecast/1.1.0
Runs carrying modelVersion btc-forecast/1.1.0 use a revised fit that puts markets expiring on different days within a horizon on a common time scale, and markets priced as near-certain either way are left out of the fit, so they no longer appear in the forecast's markets. A market's spread is now measured against the cheaper side of the book, so it reads the same whichever outcome is Yes, and the platform prior is recalibrated. These runs carry the insight type lean (the featured horizon's implied chance that Bitcoin ends above spot) in place of skew, which only appears in runs stored before 1.1.0; delta now compares with the run about 24 hours earlier. Segment backtests by modelVersion. The full specification and version history are in the Developer portal for Quant subscribers: polywhaler.com/developer/methodology#bitcoin-forecast.
GET /v2/forecasts/btcGET /v2/forecasts/btc/historyGET /v2/forecasts/btc/markets
v1 Bitcoin forecast runs from model btc-forecast/1.1.0
/v1/btc-forecast serves the same runs as v2, so new runs carry modelVersion btc-forecast/1.1.0 and the insight type lean (the featured horizon's implied chance that Bitcoin ends above spot) in place of skew; runs stored before 1.1.0 keep skew. Near-certain markets no longer appear in /v1/btc-forecast/markets, and spreadPct is measured against the cheaper side of the book. delta now compares with the run about 24 hours earlier rather than the previous hourly run. The v1 btc_forecast.updated webhook carries the same model version and insight types, so its payloads switch to lean too. A client or webhook consumer that switches on the insight type should accept both. The response shape is unchanged.
GET /v1/btc-forecastGET /v1/btc-forecast/historyGET /v1/btc-forecast/markets
Polywhaler API v2
One envelope ({data, meta, pagination}) and one error shape with a request id on every response; camelCase parameters, strictly validated; opaque cursor pagination that never skips trades sharing a second; rates as 0..1 fractions, money in *Usd and times as ISO-8601; RateLimit headers on every response, an exact daily quota shared with v1, ETags and 304s; key scopes; Idempotency-Key on creating POSTs; smart-money leaderboard, cohort trades and flow with the methodology version in meta; a public OpenAPI 3.1 document. v1 is frozen and will be retired six months after this date.
Earlier v1 changes#
September 25, 2026#
/v1/wallets/{addr}/positions: closed positions gaincostUsd, what the position cost in dollars.totalBoughtis now shares on every row, as Polymarket reports it; positions reclassified from resolved-but-unclaimed used to report dollars there.summary.avgRoiPercenton the same endpoint is now realized P&L over dollars invested. It was computed over shares, which read low by roughly the average entry price, so expect it to be around 1.8x higher for a typical wallet.- Categories: new trades on weather markets now arrive as
science, and single-game markets that carry no tags ("Will Chelsea FC win on…", spreads, draws) assportsinstead ofother, so a/v1/tradesquery withsports=excludenow leaves them out. Trades already stored keep their category.