Versioned change history for PAX Trader Track API. Follow the Changelog for release announcements.
PAX follows Semantic Versioning for the public API surface:
| Change type | Version bump | Advance notice |
|---|---|---|
| Breaking — endpoint removed, field renamed/removed, type changed, auth changed | MAJOR (v1 → v2) | 90 days min; deprecated endpoint returns Deprecation header |
| Additive — new endpoint, new optional field, new enum value | MINOR (v1.0 → v1.1) | None (safe to deploy anytime) |
| Fix — bug fix, spec doc update, non-behavior-changing | PATCH (v1.0.0 → v1.0.1) | None |
The liquidity leaderboard shows real stipend payouts, by public name.
GET /v1/liquidity/leaderboard (no key) now answers from the stipends actually paid on the platform, the same data as GET /v1/lqf/leaderboard. Before this release it read a table that was never filled, so it was always empty.{ trader, markets, total_paid_usdt, last_epoch_end_ms }. trader is the maker's public name; no account id is returned (the old rows carried user_id). Query parameters days (1-30, default 7), market_id and top_n (1-100, default 25) are unchanged, and so is the MCP tool pax.liquidity_leaderboard.https://mcp.predictasiax.com/mcp/server-card, and an AI Catalog that points to it is at /.well-known/ai-catalog.json on predictasiax.com, docs.predictasiax.com and mcp.predictasiax.com. The tools are unchanged.Makers qualified today per market; PAX buyback disclosure.
makers_today on every market of GET /v1/lqf/pax: the number of accounts that have met the two-sided 500 USDT condition in that market so far today.GET /v1/pax/buyback (no key): the PAX buyback. Status, USDT set aside, spent and waiting, PAX bought, recent purchases with transaction hashes, the PAX/USDT pool on Polygon read from the chain, and what PAX is used for on the platform. Refreshed every minute.PAX quote reward leaderboard and Maker rewards page; SDK package links.
GET /v1/lqf/pax/leaderboard (no key): PAX quote rewards per trader over the seven UTC days before today, top 25 by public name, with the number of markets and days. Refreshed every minute.pax-api 3.3.3 and TypeScript @predictasiax/api 3.4.2. Package links point to these docs; questions and bug reports go to support@predictasiax.com. No code changes.Hummingbot connector.
The PAX quote reward in public; what a market's USDT stipend can pay.
GET /v1/lqf/pax (no key) — the PAX quote reward (10,000,000 PAX over 180 days): parameters, state, the last rewarded day, and today's estimated pool for every open market in the program.pool_balance_usdt and payable_today_usdt on GET /v1/lqf/config and GET /v1/lqf/config/:market_id. daily_stipend_usdt is a cap; a day pays at most payable_today_usdt.GET /v1/lqf/leaderboard names each maker by its public name (trader) and no longer returns user_id.The trade.filled webhook carries the order reply's trade id. Nothing added or removed.
data.trade_id of the trade.filled webhook is now the same id as trade_id in GET /v1/fills and the order reply's trade id (completing v2.7.90). event_id is unchanged, so an event is still delivered once.One trade id per fill. Nothing added or removed.
trade_id in GET /v1/fills is now the same id as the order reply's trade id (fills[].trade_id and mint_fills[].trade_id from POST /v1/orders, trade_ids in the WebSocket order_ack). Before, the two were different ids for the same fill, so fills could only be matched to a reply by size. Builder attributed fills, market trades, the fee history and a repeated order's reply use the same id. Pages of next_cursor are unchanged.trade_id values from GET /v1/fills, the same fills now show the order reply's id. Older fills keep a UUID. Treat trade_id as an opaque string.The daily notional cap counts what you take; WebSocket order entry for every builder key; own fills count toward tiers. Added fields; nothing removed.
sandbox and read_live) can place and cancel orders on wss://predictasiax.com/ws. Before, only keys with no daily cap could. See Orders on the WebSocket.genesis still ranks on attributed volume. See How tiers work.GET /v1/builders/me/tier-progress adds attributed_volume_30d_usdt and own_volume_30d_usdt; volume_30d_usdt is their sum.TIER_LIMIT_EXCEEDED answer carries Retry-After; it does not.Daily notional for orders answered with 503. No endpoint or field changed.
503 SERVICE_UNAVAILABLE may have been placed, so its notional now stays counted in used_today_usdt. Before, it was given back, so an order that had been placed could go uncounted. Send it again with the same client_order_id: it is counted once, and if the first order was not placed after all, its notional is given back. See Rate Limits.Faster REST order replies. No endpoint or field changed.
POST /v1/orders and DELETE /v1/orders/{id} are checked and submitted in one step on the server, without passing through a second internal service, as WebSocket orders have been since v2.7.86. The checks, error codes and response fields are the same as before.503 SERVICE_UNAVAILABLE may or may not have been placed. Send it again with the same client_order_id: it is never placed twice, and if the first one was placed, the reply is that order with duplicate: true. Check a cancel answered this way with GET /v1/orders/{id}. See Errors.client_order_id of an order already placed is answered with that order (its order_id, status and fills) and duplicate: true. Before, the reply carried duplicate: true without the order.Faster order replies on the WebSocket. No endpoint, message or field changed.
wss://predictasiax.com/ws are checked and submitted in one step on the server, without passing through a second internal service. Server-side handling of an order now takes about 1 to 2 ms. The checks, error codes and results are the same as before.SERVICE_UNAVAILABLE may or may not have been placed. Send it again with the same client_order_id: it is never placed twice, and if the first one was placed, the reply is that order with replay: true. See Orders on the WebSocket.Orders on the WebSocket. New: order entry on wss://predictasiax.com/ws; no endpoint or field removed.
PLACE_ORDER, PLACE_ORDERS (1 to 20), CANCEL_ORDER and CANCEL_ALL on the socket, answered by order_ack, orders_ack, cancel_ack and cancel_all_ack with your req_id. For keys at trade_full, genesis or partner with no daily notional cap, signed in with a token from POST /v1/ws/token. See Orders on the WebSocket.authenticated reply to an API sign-in token carries order_entry: your limits, or why the socket cannot place orders.4010; reconnect and resend with the same client_order_id to get the result.authenticated reply (limits.msgs_per_min) is now enforced. A command over it is dropped with a rate_limit message, code tier_max_msgs, at most one a second. ping and the order commands do not count.Batches count each item against the order rate limit. Changed: how batch requests count; no endpoint or field removed.
POST /v1/orders/batch, each quote in POST /v1/mm/quotes and each item in POST /v1/rfq/batch and POST /v1/rfq/quotes/batch counts as one against orders:create (30 a minute). A batch counted as one request before.429 RATE_LIMITED and is not counted, so it no longer uses up the rest of the window. For a batch the message ends (this request counts <n>) and error.details adds cost and used.X-RateLimit-Limit and GET /v1/rate-limits show the limit in force. See Rate limits.PAX-NONCE is at most 256 characters; a longer value returns 401 AUTH_INVALID. Replay protection is unchanged: a nonce is refused for 600 seconds after first use.last_used_at_ms is updated at most once every 5 minutes.Your fills, one order by id, and a live order book stream. New; nothing changed or removed.
GET /v1/fills (scope orders:read) lists every fill of your account's orders, newest first: trade_id, order_id, market_id, side, action, role (maker or taker), price (yours, in your order's outcome), size, fee_usdt, executed_at_ms. Filters market_id, order_id, from_ms, to_ms; keyset pages with cursor / next_cursor. Fills of orders that rested on the book were only visible as a change in filled_size before.GET /v1/orders/{order_id} returns one of your orders, with the same fields as a GET /v1/orders item; 404 NOT_FOUND when it is not yours.on_behalf_of and subaccount_slot return 400 NOT_SUPPORTED on them. Sandbox keys get their simulated orders and fills.book:<market_id> channel on wss://predictasiax.com/ws (no key): book_snapshot, then book_delta with a seq that rises by one per change, last_trade for every trade, book_error, and the BOOK_SNAPSHOT command to resync after a gap. See Market makers and the WebSocket API.Both outcome books of a market. New endpoint; nothing changed or removed.
GET /v1/markets/{id}/book returns every resting order on the market for both outcomes: yes and no, each with bids and asks as {price, size} decimal strings, best price first. A YES buy also fills against NO bids, so a quote or a fill estimate needs both outcomes; /v1/markets/{id}/orderbook shows the YES book only. No key needed. See Market makers.market_id in POST /v1/orders and POST /v1/orders/batch is the market id from GET /v1/markets (for example btc-200k-2026). The spec wrongly required a pax:market: prefix that the API has never used.Oracle API settles platform markets. Breaking for the preview API; see below.
/v1/oracle/* is now the same proposal or challenge as at predictasiax.com/dispute: the bond is locked from the PAX on your platform balance, challenges are decided automatically by the independent replay, and the market is paid with the final outcome. See Oracle for bond sizes and what happens to each bond.GET /v1/oracle/proposable (markets open for a community proposal) and GET /v1/oracle/attestations (attestations open for challenges).POST /v1/oracle/attestations now requires reason (20–2000 characters) and at least one evidence_urls link, accepts only markets listed by /v1/oracle/proposable, and may answer 202 while the bond lock completes. POST /v1/oracle/attestations/{id}/challenge takes reason and evidence_urls; disputer_outcome is gone because the replay decides the outcome. Both return 403 PLATFORM_ACCOUNT_REQUIRED when the key's account has no platform login.att_<n>; state is open, final, settled or superseded; new proposed_by, outcome_index, bond_state, bond_released_pax, bond_forfeited_pax, challenges, resolution_note and settled_at_ms; removed evidence_urls, the disputer_* fields, disputed_at_ms, proposer_won and reward_pax.GET /v1/oracle/bond-account now reads your platform balance and adds bonds and next_bond_pax. GET /v1/oracle/pool is removed. Provider reputation is updated from settled outcomes.{"error": {"code", "message", "trace_id"}}, including malformed bodies and query strings (400 INVALID_REQUEST).Oracle: how markets are resolved, and the provider attestation API marked as a preview. Documentation only; no endpoint changed.
/v1/oracle/*, /v1/provider/keys) is a preview: it runs a separate ledger, accepts only markets in its own registry, keeps bond accounts apart from your platform PAX balance, and does not settle platform markets. The page no longer says that disputed attestations are adjudicated or that bonds are allocated on request.Audit anchors: anchor_proof matches the anchored object for the batches re-published on 2026-11-22. Additive fields; no event, hash or Merkle root changed.
anchor_proof in /v1/audit/batches/{batch_num} still gave the earlier file's digests, so it did not match /v1/audit/anchor/{batch_num}/raw. It now gives the current events_content_sha256, events_r2_etag and metadata_etag, plus events_content_size, reanchored_at_ms and the earlier digests as previous_events_content_sha256, previous_events_r2_etag and previous_metadata_etag, the same values the anchored object carries. See Verify.Fixes from bug reports: batch results carry the engine's rejection reason, subaccount_slot is validated everywhere, oracle reads drop account ids; SDK timestamp checks; fee reservation and split fees documented.
POST /v1/orders/batch: an order the engine rejects is reported as {"ok": false, "status": 200, "error": {"code": "ORDER_REJECTED", "message", "reject_reason"}, "data"}. reject_reason and message are the engine's own (for example insufficient_balance, market_not_found), and data is the rejection exactly as POST /v1/orders returns it. Before, these were all UPSTREAM_ERROR, so a batch could not tell a bad market from an unfunded account.subaccount_slot on POST /v1/orders (and each batch order) must be an integer 0–63: a JSON number, or a string of one or two digits. Anything else (1.5, -1, 64, "1e1") is 400 VALIDATION_FAILED. Sandbox keys have only the main account: subaccount_slot 1–63 now returns 404 SLOT_NOT_FOUND instead of trading on the main sandbox balance.GET /v1/oracle/providers, GET /v1/oracle/providers/{id}, GET /v1/oracle/attestations/{id} and GET /v1/oracle/markets/{market_id}/attestation no longer include user_id, proposer_user_id or disputer_user_id. A provider is identified by its ovp_ id. Your own POST responses and GET /v1/oracle/bond-account are unchanged.api.predictasiax.com; the page named a host that is not reachable from outside. The examples now show timestamps as *_at_ms and counts as strings, as the API returns them.GET /v1/markets/{id}/quote prices each fill this way, which is why the same amount can show a lower fee on one outcome than the other. POST /v1/fees/estimate shows the full fee of a single fill.pax-api 3.3.2 and TypeScript @predictasiax/api 3.4.1. The audit verifier's created_at_ms check rejects a created_at with a component out of range (month 13, February 30, hour 24, second 60, year 0000); before, the date was rolled into a neighbouring one and could match. Both SDKs give the same answer on a shared set of test timestamps.404 with a not-found page. Before, they returned 200.Builder grants retired; builder earnings paid automatically every day. One removal (grants), the rest additive.
/v1/grants path answers 410 GRANTS_RETIRED (it answered 503 GRANTS_CLAIM_PAUSED for claims). Builder PAX is paid by the weekly rewards; the Grants page is now Builder rewards.payout_mode is daily (default) or on_demand. With a verified USDT wallet set as payout_default_wallet_id (2FA required), claimable earnings of at least 1 USDT are paid to it once a day after 01:00 UTC. monthly_10, weekly_100 and threshold_500, which never paid anything, read as daily. See Payouts.App connections fund in-app; the app directory ranks real trading; builder PAX documented as it runs. Additive, plus a ranking change.
deposit_address scope: GET /v1/deposit/addresses?on_behalf_of=pxu_... returns a connected user's own deposit addresses, so your app can show where the user funds the user's own account. See App connections.predictasiax.com/apps) ranks apps by the connected accounts that traded through the builder in the last 30 days and by their traded volume, with the leaderboard's own-account rule. Connections that never trade no longer raise a rank. Apps of wash-suspended builders are not listed.mint_status: "weekly_pax"). Grant claims are paused (503 GRANTS_CLAIM_PAUSED) and no grants are being issued.Builder earnings: the 72-hour reserve is enforced when you claim. Behaviour change for claims; additive for pending-balance.
POST /v1/builders/me/withdraw and /settle claim only those; newer earnings stay for a later claim, and with nothing past the window the call returns 409 CONFLICT. Before, a claim took every unclaimed earning whatever its age, although these docs described a reserve.GET /v1/builders/me/pending-balance separates the reserve window from the payout hold: pending_usdt (all unclaimed), claimable_builder_usdt (what a claim takes now), reserved_in_window_usdt, reserve_hours, next_claimable_at_ms; on_hold_usdt and releasing_usdt are claimed payouts inside and past their payout hold, with next_claim_hold and open_payouts. on_hold_usdt used to mean unclaimed earnings younger than 72 hours. See REST API reference.Builder leaderboard bonus, paid from real fills. Additive.
POST /v1/builders/me/settle. No bonus had been paid before. See Builders.GET /v1/builders/me/leaderboard-rank adds bonus_prior_day and bonus_status.GET /v1/revenue adds leaderboard_bonus_usdt; GET /v1/builders/me/pending-balance includes bonus awards.Builder attribution you can verify. Additive, except that the four builder volume readers now return real numbers.
GET /v1/builders/{builder_id}/trades (public, no key) and GET /v1/builders/me/trades: a builder's attributed fills, each with the ledger entries its fee produced and their audit events (seq, event_hash, batch_num), which anyone checks with /v1/audit/events/{seq} and /v1/audit/proof/{seq}. See Attribution & Revenue Ledger.GET /v1/builders/leaderboard, the stats of GET /v1/builders/{id} and GET /v1/builders/me, and GET /v1/builders/volume now count the real fills with the rule used for tier graduation and the Builder Directory. They returned zero before. The leaderboard and platform volume cover verified builders; leaderboard rows add public_name, public_handle, tier and unique_traders; responses carry complete.GET /v1/builders/me/leaderboard-rank works (it returned 404).stats is then null.pax-api 3.3.1 and TypeScript @predictasiax/api 3.4.0 add quote (price an order without placing it: average price, fee, total, and whether the book fills it), wait_for_fill / waitForFill (until the order is filled, cancelled, expired or rejected, or at the first fill) and wait_for_settlement / waitForSettlement. The waits read the result over REST; a connected WebSocket client only ends them sooner. The order list takes status, market_id, from_ms, to_ms and cursor. See Downloads.Market data needs no key. Additive; nothing changes for existing integrations.
GET /v1/markets and GET /v1/markets/{id} need no key, like the order book and price history already did: list, search and read markets with no credential.X-RateLimit-* headers. They used to share a single bucket. See Requests without a key.GET /v1/rate-limits works without a credential: it reports the markets:read budget of your IP address, with trading: null._meta.auth: "none". A keyless call is limited per client IP address.Check your own rate limits and trading caps. Additive; nothing changes for existing integrations.
GET /v1/rate-limits returns the calling key's (or OAuth token's) per-minute budget for each rate-limited scope — limit, used in the current window, remaining and reset time — and its trading caps: tier, per-order and daily notional cap, notional used today and remaining, and the daily reset. Any credential; counts against markets:read. See Checking your limits.tools/list gives each tool _meta.auth and manifest.json an auth field — "none" for pax.docs_search and pax.docs_read, "bearer" for every other tool — so a client can tell which tools work without a key.API request log: more reliable delivery. No change to the API.
.md to its URL (/builders.md). Copy page under each page title copies it as Markdown for an AI assistant; llms.txt links the Markdown pages.pax.docs_search searches these docs (guides, every REST endpoint and every WebSocket message, in all eight languages) and returns the matching sections with a link to the exact anchor; pax.docs_read returns a page or one section as Markdown. Both work without a credential. See MCP Server.API request log for builders. Additive; nothing changes for existing integrations.
GET /v1/builders/me/request-logs (filters for status, method, route, error code, app, key and time; cursor paging), GET /v1/builders/me/request-logs/summary?window=1h|24h|7d (error rate, latency percentiles, time series, top errors and routes) and GET /v1/builders/me/request-logs/{trace_id}. Portal session or scope builder:read. See API request log.Webhook delivery lists leave out withdrawn deliveries. Nothing changes for deliveries that were sent.
GET /v1/webhook-events and GET /v1/webhooks/{id}/deliveries no longer list deliveries PredictAsiaX withdrew before sending them: dead_letter with an error_message starting withdrawn:. Add include_withdrawn=true to see them. A withdrawn delivery cannot be replayed (409 STATE_CONFLICT).market.resolved deliveries created on 2026-11-30 for settlements from June and July that a backfill job had re-inserted. None was sent.Trading competitions: prizes a builder funds, held in escrow and paid out by rank automatically. Additive; nothing changes for existing integrations.
POST /v1/competitions (Builder Portal session + totp_code) creates a competition for the users who trade through your app and takes the prize pool from your platform USDT balance into escrow. No platform cut.starts_at and ends_at. Your own accounts and accounts frozen for collusion are left out; min_volume_usdt sets a minimum. Equal volumes share the prizes of the places they occupy.POST /v1/competitions/{id}/cancel.GET /v1/competitions/{id} and GET /v1/competitions/{id}/leaderboard, with participants shown as per-competition references. GET /v1/competitions and GET /v1/competitions/{id}/results (with each user's owner_ref and payout state) are yours only.Builder account security: a second check before new API keys and 2FA enrollment. Changes how key creation and rotation are called; see the first item.
POST /v1/builders/me/2fa/enroll needs a factor the account already has: the account password as current_password while 2FA is not active (first enrollment, a pending one, or after 2FA was disabled), otherwise the current 2FA code as code or a recovery_code. Without it: 403 STEP_UP_MFA_REQUIRED, with details.step_up set to password or totp. Before, a portal session alone could enroll 2FA on an account that had none.POST /v1/apps/{app_id}/keys and POST /v1/apps/{app_id}/keys/{key_id}/rotate need the same step-up: totp_code while 2FA is active, otherwise current_password. The sandbox is unchanged.403 STEP_UP_INVALID (was 401 AUTH_INVALID); so does a wrong password. Five wrong codes in a row lock the account's 2FA for 15 minutes; eight wrong passwords in a row, sign-in attempts included, lock the password for 15 minutes. While locked: 429 RATE_LIMITED with details.retry_after_ms.XXXXX-XXXXX); the 6-character recovery codes issued before could not be used and are accepted now.POST /v1/builders/me/team/invite: an invalid email or role returns 400 VALIDATION_FAILED (was 401), before the 2FA code is checked. A payout-wallet signature that does not match the wallet address also returns 400 VALIDATION_FAILED (was 401).400 VALIDATION_FAILED instead of AUTH_INVALID.Webhooks deliver real events, price alerts, and widget trading inside Telegram and LINE; fixes from bug reports: trading-agent approvals reject unknown fields, batch order results report every failure, block trades and RFQ quotes check your own leg.
trade.filled, market.resolved, payout.available, payout.paid, auth.token.revoked. Who receives each event and its data are on Webhook Signing.price.alert.triggered and fast_round.resolved. Fast rounds are not sent as market.resolved; an endpoint that lists fast_round.resolved receives the rounds in which its builder account held a position.POST / GET /v1/price-alerts, GET / DELETE /v1/price-alerts/{id}. One-shot alerts on an outcome price, up to 100 active per builder account (one more returns 422 PRICE_ALERT_LIMIT).PATCH /v1/webhooks/{id} with {"active": true} re-enables an endpoint after checking its URL again and clears disabled_at_ms / disabled_reason.widget.predictasiax.com/miniapp?market=…&app=…, the trade widget full screen in the host app's theme and language.url as a field PATCH /v1/webhooks/{id} can change. It never could; the writable fields are label, description, events and active. To change the URL, create a new endpoint.POST /v1/delegations rejects a body with a field it does not take: 400 VALIDATION_FAILED, with the fields named in details.unknown_fields. Before, a misnamed limit such as per_order_cap or daily_cap was ignored and the agent was approved without it. The accepted fields are delegatee_id, scopes, max_notional_usdt, daily_notional_cap, markets_allowlist, account_slots, expires_at and totp_code. A rejected request does not use up the 2FA code.POST /v1/delegations checks that delegatee_id is a live builder account: 400 INVALID_FIELD if it is not, 503 SERVICE_UNAVAILABLE if it cannot be verified.POST /v1/orders/batch: an order the engine rejected is reported with ok: false, its HTTP status and the error code and message. Before, it was reported as placed and counted in ok_count. An unexpected error on one order returns the generic INTERNAL_ERROR message instead of internal error text.409 INSUFFICIENT_BALANCE if your free USDT is below the cash the leg needs, 409 INSUFFICIENT_POSITION if you hold fewer sellable shares than it sells, 503 BACKING_CHECK_UNAVAILABLE if this could not be checked. Nothing is reserved; the trade is checked again when it executes. See Errors.Copy trading: the trading fee on copied orders is documented. Nothing changes for existing integrations.
Copy trading limits are the same for every account. Nothing changes for existing integrations.
422 SUBSCRIPTION_LIMIT. There is no daily or weekly copy cap; each copy is bounded by the subscription's ratio and max_stake, and a connected user's copies also by the app connection's limits.Copy trading: each leader's 30-day record on the API, and one performance fee for everyone. Additive; nothing changes for existing integrations.
win_rate_30d, roi_30d, closed_positions_30d, markets_30d, active_days_30d, sharpe_ratio_30d, sortino_ratio_30d, drawdown_30d, record_updated_at_ms. GET /v1/copy/leaders also sorts by win_rate_30d and roi_30d.performance_fee_pct shows it.Copy trading on the API: list leaders, and start or stop copying for your own account or a connected user. Additive; nothing changes for existing integrations.
GET /v1/copy/leaders, GET /v1/copy/leaders/{leader_id}, GET / POST /v1/copy/subscriptions and DELETE /v1/copy/subscriptions/{leader_id}. Leaders are named by a stable ldr_ id, never by account id.on_behalf_of=pxu_... an app copies for a user who connected it: the connection needs the trade scope, every copied buy is checked against and counted in the user's limits, and the app sees and stops only the subscriptions it created.Fixes from bug reports: payout wallet verification works, oracle keys need a portal session, one marketplace listing per app.
POST /v1/builders/me/payout-wallets/{id}/verify-sig rejected every valid signature: the server computed the message hash incorrectly. Signatures made with personal_sign now verify.GET .../verify-sig/challenge issues a new one each time (expires_at_ms in the response). A signature over an expired challenge returns 409 STATE_CONFLICT.POST .../verify-tx rejected Polygon and Ethereum transactions because the nodes it queried had stopped serving requests. It now uses working nodes with fallbacks, requires the transaction to be confirmed and successful, and returns 503 SERVICE_UNAVAILABLE instead of a sender mismatch when no node can be reached.POST /v1/provider/keys (oracle api-keys) accepts a platform session or a Builder Portal session token only. An OAuth access token that a third-party app received is refused, whatever its scopes. Before, a token granted with markets:read could mint an oracle:write key.POST /v1/marketplace/listings/apply keeps one listing per app: applying again updates it and returns the same listing_id with updated: true. A disabled or delisted listing is not reopened by applying again. Extra copies created before this change were disabled.Fixes from bug reports: market discovery returns live data, consistent error bodies, IP allowlist validation.
GET /v1/markets/categories and GET /v1/markets/top-volume read the live market list. Before, categories returned a fixed set of seed markets and top-volume returned an empty list. Categories rows are {category, n_markets, volume_usdt}; the field volume_24h_usdt is now volume_usdt, lifetime volume. Top-volume rows are {id, title, category, status, volume_usdt}. Volume is tracked per market over its lifetime, so window accepts only all (the default); 24h, 7d and other values return 400 VALIDATION_FAILED instead of lifetime numbers under a window label.{"error":{"code","message","trace_id"}}. A few routes returned {"error":"message"} as a bare string.pax_ API key and a malformed or truncated one return the same 401 AUTH_INVALID, api key not recognized. The message no longer reveals which part of a key string is wrong.PUT /v1/apps/{id}/keys/{key_id}/ip-allowlist needs builder:keys:write (was builder:apps:write). A missing or non-array ip_allowlist, a non-string entry, an invalid address or more than 100 entries return 400 VALIDATION_FAILED. A key setting its own allowlist must include the IP it is calling from, so it cannot lock itself out.POST /v1/access-requests is also limited to 5 per hour per browser fingerprint, as POST /v1/apply is. Fingerprint limits now include the client's network (ASN and IPv4 /16 or IPv6 /32): before, every client sending the same default headers shared one counter worldwide. See Rate limits.X-Debug-Scopes request header.Third-party apps: per-user limits for connected orders, widget trading, Sign in with PredictAsiaX, and a public app directory. Additive; nothing changes for existing integrations.
on_behalf_of (connected users and trading agents) no longer count against your key's tier caps (per-order and daily notional). The account's own limits on the connection bound them, reserved atomically on every order. read_live keys still cannot place them (TIER_UPGRADE_REQUIRED). Orders on your own account and subaccount slots keep the tier caps. See Environments & tiers.<predictasiax-market mode="trade" app="…"> (or widget.predictasiax.com/trade) lets a visitor connect your app once in a pop-up and buy Yes or No inside your page, on their own account and within their own limits. Every order needs a confirmation. 13 languages.https://predictasiax.com/api/oidc (discovery, JWKS, Authorization Code + PKCE S256, userinfo). Identity only, for any PredictAsiaX user: a per-developer sub (pxs_...) and, if the user agrees, name and email. Uses your app's client_id and registered redirect URIs.GET https://predictasiax.com/api/connect/directory rank approved apps by connected accounts, 30-day order volume through the app, or newest, with each app's builder fee.PATCH /v1/apps/{app_id} accepts description (up to 200 characters) and directory_listed (boolean, default true). GET /v1/connect/apps/{client_id} returns description, directory_listed and trading_enabled.Docs fix: who OAuth is for, and what the market widget does. No API change.
connect.predictasiax.com let an app act for any PredictAsiaX user. That sign-in accepts builder account credentials only. To trade for regular users on their own accounts, use App connections: the user approves your app on predictasiax.com/connect and you trade with your API key and on_behalf_of=pxu_.... The Builders tier table row "OAuth IdP for your users" is now "App connections".embed.js) and attribute (market-id) that do not exist, promised one-click trading with the visitor's session and attribution by "origin header + widget signature". The widget is widget.predictasiax.com/widget.js with <predictasiax-market market="…" builder="bld_…"> (or the /iframe page); it shows the live price, and its Trade link opens the market on predictasiax.com carrying ref_app=bld_…, which records the visitor as your acquisition if they sign up.llms.txt described HMAC signing as enterprise and ops-provisioned; it is live for any active API key.SDK releases: Python pax-api 3.2.3 and TypeScript @predictasiax/api 3.3.3, with the 3.2.2 / 3.3.2 audit-verifier and base-URL fixes.
verify_event / verifyEvent check the served batch_seq and the proof's leaf_index against the event's position in its batch (seq - first_seq) as position_in_batch. Results list the served fields nothing verifiable commits to, batch_id and hash_recipe, as unauthenticated_fields / unauthenticatedFields; identify a batch by batch_num, first_seq and last_seq, not batch_id.canonical commits to must be served and must match it, including created_at_ms against canonical.created_at, and verify_chain / verifyChain report fields_mismatch. Pass the anchored batch {merkle_root, first_seq, last_seq} as the root so its bounds set the seq range and proof length (batch_matches_anchor); an empty or inverted batch fails.pax-api 3.2.3 (the same files as PyPI, SHA-256 listed) instead of 3.0.1.Rate-limit headers on every limited response.
X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset (Unix seconds). A 429 RATE_LIMITED adds Retry-After (whole seconds); error.details.retry_after_ms stays in the body. Browser clients can read the headers through Access-Control-Expose-Headers. See Rate limits.retry_after_ms. Market data needs an API key; without one it returns 401 (the page said anonymous reads were IP-throttled).components.headers). POST /v1/sandbox-keys returns RATE_LIMITED, not TOO_MANY_REQUESTS.rfq_quote_received, rfq_completed, rfq_quote_accepted (makers: confirm before confirm_by_ms), rfq_quote_unconfirmed, and block_trade_proposed, block_trade_cancelled, block_trade_rejected, block_trade_completed. The last six were dropped by the socket until today; the first two were delivered but missing from the spec. 20 account pushes in total.Geographic availability rewritten to match how the platform works.
KYT_SANCTIONED, KYT_UNAVAILABLE, KYT_NOT_READY); builder payout wallets are screened with Chainalysis and the OFAC SDN list as fallback; access requests declaring KP, IR, SY, CU, RU or BY are rejected automatically. Removed a reference to PATCH /v1/builders/me, which does not exist.LOCALE: the supported list now matches the web app's 13 languages (it listed pt, ru and tr, and missed ms, he and fr).Docs audit: the WebSocket spec now matches the live gateway, and every count, limit and header claim was checked against the code.
x-access. Added RFQ_SUBSCRIBE, RFQ_UNSUBSCRIBE and the ping/pong keepalive. Removed 25 message types the socket does not deliver (for example normal_market, signal, circuit_breaker, force_logout). Payload schemas for ticker, fast_tick, fast_delta, fast_round_* and gas_snapshot now match captured live frames.{"type":"ping"} every 30 seconds on a quiet socket. The old text described a server heartbeat that does not exist.baseUrl no longer ends in /v1 (requests resolved to /v1/v1/…), and the collection authenticates with the environment's apiKey.X-RateLimit-* headers and 429 has no Retry-After header; the wait is in error.details.retry_after_ms. The scope table lists the seven buckets the API enforces; /v1/data/history counts against markets:read. Removed the "priority lanes" section.ACCOUNT_MISMATCH and the RFQ execution codes (QUOTE_NOT_LIVE, QUOTE_EXECUTING, QUOTE_SIZE_MISMATCH, RFQ_EXECUTING, RFQ_QUOTE_FAILED, SELF_TRADE, RFQ_UNAVAILABLE).Fixes from security reports: HMAC-signed sandbox keys, RFQ market checks, Connect consent, verifier and webhook samples.
PAX-SIGNATURE) now runs in the sandbox exactly like a bearer request: simulated balance and orders, and live-platform writes refused. HMAC-signed live keys now apply their own per-key caps.on_behalf_of are refused with 403 DELEGATION_MISSING.DELETE /v1/mm/quotes/{id} accepts the order_id exactly as POST /v1/mm/quotes returns it.404 MARKET_NOT_FOUND, 422 MARKET_NOT_TRADABLE, or 503 MARKET_CHECK_UNAVAILABLE (retry).POST /v1/apply: track is optional and defaults to self_serve (the spec listed it as required).Docs fix: the Grants page now matches the v2.7.49 builder fee model.
partner tier.Builders earn the builder fee they set; the platform fee carries no builder share.
genesis / partner). The 3 bps go to platform_net, now 10 bps at the PAF centre. The market creator (3), MM stipend pool (5) and LP (2) shares are unchanged. No FEE_ACQUISITION_BUILDER or FEE_EXECUTION_BUILDER event is written while the shares are 0. See Fee Architecture.trade_full, genesis and partner keep uncapped API keys; genesis and partner keep the 1.5× builder points multiplier.commission.share_of_trading_fee_pct in GET /v1/builders/me/affiliate/overview is 0.Builder promotion, part 2: campaigns, postbacks, sub ids and a monthly statement.
GET /v1/builders/me/affiliate/statement: the last 12 UTC months, each with link visits (total and unique), sign-ups, first deposits, active traders, referred trading volume and your acquisition earnings. Portal session or builder:revenue:read.GET / POST /v1/builders/me/affiliate/campaigns and PATCH / DELETE /v1/builders/me/affiliate/campaigns/{id}. A campaign names a &c= tag and records its landing page, language and channel; up to 200 per builder. The tag cannot be changed; DELETE archives it.GET / POST /v1/builders/me/affiliate/postbacks, PATCH / DELETE /v1/builders/me/affiliate/postbacks/{id}, POST /v1/builders/me/affiliate/postbacks/{id}/test and GET /v1/builders/me/affiliate/postbacks/log. PAX calls your HTTPS URL with a GET when an account you referred signs up, makes its first deposit or makes its first trade. Macros: {event}, {account}, {campaign}, {sub_id}, {country}, {amount}, {currency}, {timestamp}, {builder_id}. Up to 10 per builder; failed calls are retried after 1 min, 5 min, 30 min, 2 h and 6 h.&sid=<click id> (1-100 letters, digits, _ . : ~ -) to a referral link. It is kept with the first link a visitor follows, recorded on their sign-up and returned in postbacks as {sub_id}.GET /v1/builders/me/affiliate/overview also returns commission: your acquisition share as a percent of the trading fee, its basis, and the 30-day link window.GET /v1/builders/me/affiliate/users returns joined_at_ms and first_deposit_at_ms (epoch milliseconds), as the API always has; the spec listed joined_at and first_deposit_at.genesis / partner; it is 3 bps at every tier (since v2.7.45).Market integrity.
Promotion reporting for builders: link visits, sign-ups, first deposits and trading.
GET /v1/builders/me/affiliate/overview?month=YYYY-MM: for a UTC month, visits to your referral links (total and unique), sign-ups, first deposits, active traders, referred trading volume and your acquisition earnings, with the previous month, all-time totals, a daily series and breakdowns by campaign, country and device. Includes earnings_gate (your own-volume progress toward the acquisition share). Portal session or builder:revenue:read.GET /v1/builders/me/affiliate/users?month=YYYY-MM: each account that signed up through your links, by an anonymous reference (u_...), with join date, country, campaign, first-deposit date and volume. No email, user id or wallet is returned.&c=<tag> (1-40 letters, digits, _ . -) to a ?ref_app=bld_... link to compare channels. The tag is kept with the first link a visitor follows and recorded on their sign-up.POST /v1/apply and POST /v1/access-requests also return portal_email, portal_signin_url and portal_signin_expires_at_ms: a single-use link, valid 72 hours, to set your Builder Portal password. These fields are null if the link could not be issued.GET /v1/builders/me/tier reported $10,000 as the 30-day volume for trade_full. The threshold is $50,000, as documented and as applied by auto-graduation.trade_full (execution 3) and 5 at genesis / partner (acquisition 2, execution 3), at the PAF centre. The difference goes to platform_net; the market creator (3), MM stipend pool (5) and LP (2) shares are unchanged and now the same at every tier. Builders earn their own builder fee on top (v2.7.44). POST /v1/fees/estimate returns the new split. See Fee Architecture.403 BUILDER_FEE_NOT_APPROVED / BUILDER_FEE_EXCEEDS_APPROVAL), never repriced. At most 10 live approvals, revocable at any time.GET / PUT /v1/builders/me/fee, DELETE /v1/builders/me/fee/pending, GET /v1/builders/me/fee-earnings, GET /v1/builders/{builder_id}/fee (public), GET / POST /v1/builder-fee-approvals, DELETE /v1/builder-fee-approvals/{builder_id}. GET /v1/builders/me adds a builder_fee summary; POST /v1/fees/estimate takes builder_id and role. New ledger events CLOB_BUILDER_FEE / CLOB_BUILDER_FEE_CREDIT; error codes in Errors.PATCH /v1/apps/{id}: set your app's redirect_uris (needed for App connections), homepage_url and name. Portal session or builder:apps:write.App connections: your users connect your app to their own account.
predictasiax.com/connect. A signed-in user approves your app with scopes (trade, close_only, read_positions) and their own limits; you receive an opaque pax_account=pxu_.... See App connections.on_behalf_of accepts pxu_... on POST /v1/orders, DELETE /v1/orders/{id}, POST /v1/orders/cancel-all, GET /v1/orders, /v1/positions, /v1/portfolio and /v1/balance. Orders run on the user's account; responses show the pxu_ reference, never the user's id.GET /v1/connect/apps/{client_id}.GET /v1/delegations/received also lists user connections (delegator_type: "user").One automatic program for market makers; fee split and rebate docs match what is charged.
POST /v1/mm/designation-request enrolls exactly like POST /v1/mm/apply (approved on submit), and GET /v1/mm/designation-status returns GET /v1/mm/status. Both answer with a Deprecation header and a successor Link. The old handler stored a request as pending that nothing ever reviewed, and the 20 bps rebate it quoted was never paid.GET /v1/lqf/mma-tier returns an empty list.platform_net. Builder, market creator, MM stipend pool and LP shares are unchanged. See Fee Architecture.sharp_multiplier on GET /v1/fees/estimate is ignored. A trader's fee depends only on the published tier discounts.Epoch numbers under *_at are renamed *_at_ms.
*_at is returned as *_at_ms in epoch milliseconds, like every other timestamp, for example withdrawal_fees.<chain>.updated_at_ms.Bare currency amounts are decimal strings.
usdt or usd (or ending in _usdt / _usd) is a decimal string, for example withdrawal_fees.<chain>.usdt.More amounts are decimal strings.
released_collateral on DELETE /v1/mm/quotes/{order_id}.GET /v1/balance: total is a decimal string, like free and reserved.Every USDT and USD amount is a decimal string.
*_usdt, *_usd) are now always decimal strings, like other amounts. Some were JSON numbers before, for example rebate_earned_usdt, pending_usdt and revenue_usdt. Parse amounts as decimals, not floats.Market-maker quotes are real orders.
POST /v1/mm/apply: enroll with one call, approved on submit. The tier is assigned automatically each day from 30-day maker volume share.POST /v1/mm/quotes (alias POST /v1/mm/quote) places each quote as a post-only order on the platform balance with a time-to-live, and returns a per-quote result. Quotes count against the key's per-order and daily limits like orders.DELETE /v1/mm/quotes/{order_id} cancels by order id. GET /v1/mm/quotes?market_id= now reads live orders, so cancels, expiries and fills show up at once.GET /v1/mm/me/rebates reports rebates as credited to the balance, with maker volume and fill counts; default window 90 days.403 TIER_UPGRADE_REQUIRED on these endpoints and never earn rewards or rebates.On-demand weather markets.
GET /v1/weather/stations lists the stations; POST /v1/weather/markets opens the market for a spec, or returns the existing one. The creator deposit is locked only by the caller who opens it.FIX gateway on a public TLS endpoint, with a self-serve source-IP allowlist.
fix.predictasiax.com:9879 over TLS 1.2 or later with a publicly trusted certificate. This replaces the Cloudflare Access tunnel described in 2.7.30; no cloudflared client is needed.PUT /v1/builders/me/fix-allowlist from a portal session (plus totp_code when 2FA is active). GET /v1/builders/me/fix-allowlist reads it with any credential of the account. IPv4 /16–/32, IPv6 /32–/128, at most 20 entries; an empty list means no FIX access. Changes apply to the next Logon.58 names the source address.RFQ last look, batch RFQ, block trades with a named counterparty, and a rebuilt FIX gateway.
POST /v1/rfq/{id}/accept now returns 202 with state: confirming and confirm_by_ms. The quoting account has 10 seconds to confirm (POST /v1/rfq/{id}/quotes/{quote_id}/confirm) or decline (.../decline). Confirmed: the trade executes. Declined or not confirmed in time: nothing moves and the RFQ is open again.auto_confirm: true is firm and executes on acceptance, as before.GET /v1/rfq/stats shows a quoting account's record over 30 days: accepted, confirmed, declined, not confirmed, and the confirmation rate. It is informational and does not change fees or access.RFQ_CONFIRMING / QUOTE_CONFIRMING).POST /v1/rfq/batch creates up to 10 RFQs and POST /v1/rfq/quotes/batch sends up to 10 quotes. Each item succeeds or fails on its own; results lists them in request order with ok and, on failure, error.code.POST /v1/block-trades proposes a trade already agreed with a named account (counterparty, a bld_ id): buyer, seller, side, price and size. Proposing counts as your acceptance; the trade executes, off the public book and with normal fees, when the counterparty accepts on POST /v1/block-trades/{id}/accept.seller_uses: deliver shares it holds (default) or back the trade with USDT. Each party chooses its own subaccount_slot.GET /v1/block-trades, GET /v1/block-trades/{id}, POST /v1/block-trades/{id}/reject (counterparty) and .../cancel (proposer). Proposals expire after ttl_sec (60–86400, default 3600).9067); every accepted order was reported as Filled instead of its real status; cancels used the ClOrdID as the order id; subaccount, expiry and self-trade-prevention fields were silently ignored (expiry is now rejected: orders do not expire); a drop-copy session could mirror accounts other than its own; SendingTime was not in FIX format.8013=Y), market data with standard repeating groups, RFQ with last look (35=R/S/AJ/Z) and block trades (35=s/u).Tick grid for resting orders; the API takes the engine's full price range.
limit and post_only prices must sit on the tick grid: 0.01 steps from 0.04 to 0.96, 0.001 steps below 0.04 and above 0.96. Off-grid orders are rejected with rejectReason: invalid_tick and the tick that applies. ioc, fok and market are unchanged. Sandbox keys apply the same rule.Market, IOC, FOK and post-only orders; a market-order preview; events.
POST /v1/orders (and each order in /v1/orders/batch) takes an optional order_type: limit (default), market, ioc, fok or post_only. market takes no price; its size is shares and its notional is counted as size x 1. To bound a market order's price, send ioc with a price.expires_at, expiration or time_in_force is rejected with 400 instead of being accepted and ignored.GET /v1/markets/{id}/quote previews a market order against the live order book: side, action, and amount (USDT, buy) or shares (sell). It returns the average all-in price, shares, fee, and best and worst price reached. Quoted without account fee discounts.GET /v1/events and GET /v1/events/{id} list events: several markets grouped under one question, with each market's price, volume and settlement state. Optional category, status and locale.Builder Portal pages that called missing endpoints now work, and the oracle provider endpoints are back.
GET /v1/webhook-events lists delivery attempts across all your webhook endpoints, newest first. Optional status (pending, delivering, delivered, failed, dead_letter), limit (max 200) and days (default 30, max 90). Re-send a failed delivery with the existing POST /v1/webhooks/{id}/deliveries/{delivery_id}/replay.POST /v1/builders/me/notifications/mark-all-read marks every unread notification as read.GET /v1/builders/me/payout-wallets/{id}/verify-sig/challenge returns the message a wallet must sign for verify-sig. Before this the message was only returned once, when the wallet was registered./v1/marketplace/listings/mine and /apply; listings are approved on submit) and wallet verification by signature called routes that did not exist./v1/oracle/* reads returned 503 database not configured. The oracle service now retries its database connection at startup and reconnects on its own if the first attempt fails.Trading agents: another builder account can trade on yours, within limits you set, after you approve it with 2FA.
POST /v1/delegations approves an agent. It needs a Builder Portal session and a fresh totp_code (2FA active for 24 hours); API keys and app tokens cannot approve agents. Fields: delegatee_id (a bld_ account), scopes, and the optional max_notional_usdt, daily_notional_cap, markets_allowlist, account_slots, expires_at (within 365 days).trade, close_only (SELL of shares already held, and cancel) and read_positions. The withdraw scope is removed: agents can never withdraw, move funds between subaccounts or approve other agents.on_behalf_of with your account id on POST /v1/orders, DELETE /v1/orders/{id}, POST /v1/orders/cancel-all, GET /v1/orders, /v1/positions, /v1/portfolio and /v1/balance. Orders execute on your account or the subaccount_slot named, at your VIP tier, with your attribution. Every order is checked against scope, slot, market, per-order notional and the rolling-24h cap; errors are DELEGATION_MISSING, DELEGATION_SCOPE_MISMATCH and DELEGATION_DAILY_CAP_EXCEEDED.DELETE /v1/delegations/{id} revokes it for the next request.Builders can withdraw their trading balance from the Builder Portal.
POST /v1/builders/me/balance/withdraw {amount_usdt, wallet_id, totp_code} withdraws USDT from the main account (slot 0). It needs a Builder Portal session, a fresh 2FA code and a USDT payout wallet that is verified and past its cooldown. Move money in subaccount slots to slot 0 first.POST /v1/builders/me/withdraw (fee earnings) no longer accepts a withdrawals:create scope; it needs the portal session and 2FA, as before for every other caller.GET /v1/balance and GET /v1/deposit/addresses.Trading builders get the subaccount scopes.
subaccounts:read and subaccounts:manage, and POST /v1/apps/{id}/keys accepts them. Before, no key could hold them and every /v1/subaccounts call returned SCOPE_MISSING. Existing apps now allow them; existing keys keep their scopes, so mint a new key to use subaccounts.Builder accounts can be funded: deposit addresses, subaccounts on the real ledger, and sell orders.
GET /v1/deposit/addresses (portfolio:read) returns the USDT deposit addresses of the account the key trades as. Deposits credit its trading balance./v1/subaccounts now manages ledger subaccounts: slots 1 to 63, each its own account with its own balance and positions. POST /v1/subaccounts {slot, name}, GET /v1/subaccounts, GET /v1/subaccounts/balances, GET/DELETE /v1/subaccounts/{slot}, POST /v1/subaccounts/transfer {from_slot, to_slot, asset, amount}. The earlier subaccounts, subaccount balances and grants could not hold funds and are removed.POST /v1/orders accepts action (buy by default, or sell to close) and subaccount_slot. funding_mode is optional; builder accounts trade on their trading balance.DELETE /v1/orders/{id} accepts ?subaccount_slot=.Per-IP and per-browser limits on the unauthenticated endpoints now count a trailing window instead of resetting on the clock.
POST /v1/apply, GET /v1/apply/{code}, POST /v1/access-requests, GET /v1/access-requests/{id}, POST /v1/sandbox-keys, GET /v1/builders/public, POST /v1/builder-credentials/signin-link/inspect and /redeem, and GET /v1/audit/anchor/{n}/raw count the requests made in the trailing hour (or minute, or day). Before, each count reset at the top of the hour, minute or day, so a client could make up to twice the limit across a reset: "5 per hour" let one IP submit 7 applications in 21 minutes.RATE_LIMITED count toward the window.The published limits and the per-key limits are unchanged.
The SDK audit verifiers accept a canonical string only when it has exactly one reading, and match an event's fields to it by type as well as value.
pax-api 3.2.1 and TypeScript @predictasiax/api 3.3.1 refuse a canonical that repeats a key in any object. JSON parsers disagree on which copy of a repeated key wins, so the same hashed bytes could be read two ways. The event hash, field check and verify_chain / verifyChain now fail on such a string."1234", 1234 and "1.234e3" were one value), including in identity fields such as event_id. Inside payload a number in canonical may still be served as its plain decimal string, which is how the API returns numbers a double cannot hold exactly.seq must be the same number in the event and in canonical.Published audit events verify the same as before; no API change.
The acquisition share and acquisition points now start once a builder's own accounts have traded $10,000.
GET /v1/builders/me/tier-progress adds acquisition_gate: min_own_volume_usdt, own_volume_usdt and qualified. The last two are null when the volume could not be read.GET /v1/builders/me/tier-progress, GET /v1/builders/me/points and GET /v1/builders/:userId/points returned route not implemented on the public API; only the GET /v1/tier-progress alias was routed. They now work with a key that has builder:read.Builder points now go through the same wash-trading checks as payouts.
wash_reversal:exec or wash_reversal:acq, shown in GET /v1/builders/me/points by_source_type); the original entry stays. These reversals do not count toward the payout-based wash suspension.Builder points accrue again for fills on the live order book.
A builder's own trades no longer count toward its attributed volume.
read_live through partner), the genesis top-20 ranking, the Builder Directory and GET /v1/builders/me/tier-progress. It is the same rule that withholds the builder fee share on those fills since v2.7.15. A builder whose only attributed fills are its own drops out of the Builder Directory.No builder share on a builder's own trades; wash-trading checks now remove flagged amounts from payouts and suspend repeat offenders automatically.
Acquisition is set only at sign-up; X-Builder-Ref no longer records it; no acquisition share on a builder's own trades.
X-Builder-Ref on POST /v1/orders no longer sets a user's acquisition builder. An API order is placed by the key holder's own account, so the header could only attribute that account to itself or to an arbitrary id. The order is placed as before and the header is ignored. The TypeScript SDK's attachRef() helper, which sent this header, is deprecated in @predictasiax/api 3.3.0 (now on npm): it no longer sends the header, logs one deprecation warning, and will be removed in 4.0. 3.3.0 also fixes VERSION and the User-Agent, which still said 3.1.0.?ref_app=bld_... link, as described in v2.7.12.Acquisition fee share now covers every trade by a user you acquired, including trades on predictasiax.com; only live, non-sandbox builders are recorded or credited.
FEE_ACQUISITION_BUILDER), the same as orders routed through the API. Before this release only API orders carried it. The credit shows in GET /v1/builders/me/revenue; the split rules and tiers are unchanged.Sandbox keys now trade in a simulation; GET /v1/status returns service status and the audit checkpoint only; one API version everywhere; widget links carry your builder id and sign-ups from them record it.
tier=sandbox key now fills orders in a simulation instead of being rejected at the balance check. Each key starts with 1,000 virtual USDT. A buy at or above the market's current price fills immediately at that price; a lower limit rests (its amount held in reserved_usdt) and fills once the price reaches it, checked whenever the key reads /v1/orders, /v1/positions, /v1/balance or /v1/portfolio. DELETE /v1/orders/{id}, POST /v1/orders/{id}/cancel and POST /v1/orders/cancel-all return the reserve. Order ids start with sbx_ord_.INVALID_FIELD, BELOW_MIN_NOTIONAL, ABOVE_MAX_NOTIONAL) and tier caps ($10 per order, $100 per day) apply as in production. Every simulated response carries is_simulated: true in data and meta.GET /v1/status now returns status (online or degraded), version, timestamp_ms and the audit block (latest_batch_num, latest_merkle_root, latest_batch_at_ms, latest_batch_anchored_at_ms, batches_24h, event_seq_latest). The trading, builders and health blocks and audit.anchor_target were removed; per-batch anchor details remain at GET /v1/audit/anchor/{batch_num}. degraded means a core datastore check failed or no audit batch was sealed in the last 15 minutes.GET /v1/status and this changelog.GET /v1/health reported 0.3.0 and GET /v1/status reported 2.4.1. Both now report the version of the current changelog entry.ref_app=bld_...), resolved from the app_id you embed. An unknown, disabled, test or sandbox id is dropped instead of being passed on.X-Builder-Ref.user_id (a value other than your own account returns ACCOUNT_MISMATCH; omit it) or a market id that does not exist; Getting Started no longer describes 20 seeded markets.Rejected orders no longer use up the daily cap; webhook targets are checked by resolved address; the MCP server checks the key before running a tool; sign-in failures are limited per address; the market widget shows real prices; the trade_full threshold and the sandbox pages now say what the platform does; Python and TypeScript SDKs 3.2.0. These changes came from security reports.
WEBHOOK_URL_INVALID at creation, and a delivery to it is recorded as failed (target blocked) without being sent. A name that cannot be resolved is refused. Before, only literal IP addresses were checked, so a public name pointing at an internal address passed.GET /v1/auth/whoami: for any valid credential it returns scheme, scopes, builder_id, app_id and api_key_id. An invalid credential gets 401.connect.predictasiax.com (POST /auth/session and the OAuth sign-in form) allows 20 failed attempts per client address per hour; after that it returns 429 RATE_LIMITED with retry_after_s until the hour turns. The per-account lock still applies. A locked account now gets the same "invalid email or password" answer as any other failure.tools/call (and /mcp/call) checked only that the bearer looked like sk_live_* and then granted a fixed scope list. It now validates the credential with the API (/v1/auth/whoami) and uses the scopes the credential really has; an invalid credential gets AUTH_INVALID. Results are cached for 60 seconds.tools/list gives each tool _meta.requires_scopes.trade_capped → trade_full graduates at $50,000 of 30-day attributed volume. The graduation cron has enforced $50,000 since 2026-11-16; the guide pages, the API's next-step text and v2.7.1 still said $10,000. Swept: builders, directory, getting-started, grants, how-tiers-work, onboarding, rate-limits, request-access, sandbox, tier-progression.GET /v1/builders/me/tier-progress adds enforced_tier, the tier that sets your caps. A self-serve key below the trade_capped volume floor reported current_tier: "trade_capped" (the stored value; same $100 / $1,000 caps) beside a ladder that puts trade_capped at $1,000. It now reports self_serve, with trade_full as the next rung.status: "REJECTED", rejectReason: "insufficient_balance", no order id). Sandbox, Getting Started, FAQ, Auth, Tiers, Builders, API Terms and the home page now say so. Real fills need a production key.widget.predictasiax.com/widget-data returned a placeholder (probability 0.5, zero volume) for every market id, real or not. It now serves the market's title, all-in prices, price change, volume and status, returns 404 MARKET_NOT_FOUND for an unknown id, and is cached for 30 seconds.app_id as ref_app. Trades placed on predictasiax.com from that link are not yet credited to your app; attributed volume comes from orders routed through the API with X-Builder-Ref. The Markets and embed pages said attribution was built in; corrected.builder.predictasiax.com sends a Content-Security-Policy header (with frame-ancestors 'none' and object-src 'none'), Strict-Transport-Security, X-Frame-Options: DENY, X-Content-Type-Options: nosniff, Referrer-Policy: no-referrer and a Permissions-Policy on every page. Before, the policy existed only as a meta tag, which cannot set frame-ancestors.pax-api 3.2.0 is on PyPI: verify_chain() checks that a range of audit events is one unbroken chain (gaps, substituted or edited events); verify_event reports root_source and independent, so a root read from the proof response is not mistaken for an independent check; a 3xx response, or a 2xx body that carries only an error, now raises; PaxWSClient.on_error() receives refused and revoked sign-ins (WS_AUTH_DENIED, WS_FORCE_LOGOUT); api_base_url is validated like base_url.@predictasiax/api 3.2.0 is on npm with the same changes (AuditResource.verifyChain, rootSource / independent, UNEXPECTED_REDIRECT, WS_AUTH_DENIED / WS_FORCE_LOGOUT on onError, apiBaseUrl validation). It also compares audit payload numbers with canonical as exact decimals: before, two amounts that differed only beyond double precision were treated as equal. ApplicationResult now types every field POST /v1/apply returns.API clients can sign in on the WebSocket with a single-use token and receive their own order events; /api/orderbook no longer answers unknown markets; Python SDK 3.1.0.
POST /v1/ws/token (scope orders:read; API key, HMAC or OAuth) returns a single-use sign-in token valid for 15 minutes. Send it as {"method":"AUTH","token":"wst_..."}; the socket is bound to the account the credential trades as. A used, expired or unknown token gets auth_denied / invalid_token. API keys are never sent on the socket. See WebSocket authentication.user_orders_update events (placed, filled, partial, rested, cancelled) are now delivered. They were dropped before reaching any client, including the web app.GET /api/orderbook/{id} on predictasiax.com answered every unknown market id with an empty book and "mid":"0.50". Unknown ids now return 404 MARKET_NOT_FOUND.mid is the midpoint only when the book has both sides and the spread is at most 0.10. Otherwise it is the market's reference price, where it used to be 0.50 for an empty or one-sided book.pax-api 3.1.0 is on PyPI: create_ws_token(), and PaxWSClient mints a fresh sign-in token for every connect (it used to send the API key itself, which the server rejected). TypeScript @predictasiax/api 3.1.0 with the same changes is on npm.Builder Portal accounts are activated with a single-use sign-in link instead of a delivered password; portal passwords are stored with PBKDF2; signed-in portal sessions load every page; password changes and session sign-outs take effect immediately; TypeScript SDK 3.0.1 is on npm.
POST /v1/builder-credentials/signin-link/inspect {token} returns the portal email and expiry, and POST /v1/builder-credentials/signin-link/redeem {token, new_password} sets the password. A link that is invalid, expired, revoked or already used returns 410 SIGNIN_LINK_INVALID.401 and the portal sent the user back to sign-in. They now load. GET /v1/builders/me/tier also accepts a portal session.POST /v1/builders/me/password and POST /v1/builders/me/sessions/revoke-others required a scope that no credential carried and always returned 403. They now require a signed-in Builder Portal session; API keys and third-party app tokens get 403 ACCOUNT_SESSION_REQUIRED.500 when the previous nonce store stopped accepting writes; that is fixed. If replay protection is unavailable, a signed request gets 503 SERVICE_UNAVAILABLE and is not processed.Idempotency-Key records moved to the same storage. Behaviour is unchanged; two concurrent requests with the same key can no longer both run.@predictasiax/api 3.0.1 is on npm.Public audit events no longer show account identifiers; webhook targets must be public hosts; Idempotency-Key works on every write; unknown market ids return 404; MM quotes need mm:quote; SDKs 3.0.1. These changes came from security reports.
GET /v1/audit/events/{seq} without credentials replaces account identifiers in payload with "[redacted]": user, builder, wallet, address, email and key ids, deposit and withdrawal tx hashes, and any other field that contains one of them (for example credit_account: "user:…"). Those responses carry canonical: null, canonical_withheld: true and redacted_fields, because the hashed string would reveal the redacted values. Merkle inclusion still verifies. Events that name no account are unchanged.canonical. An event that also names another account (a counterparty or referrer) stays redacted for every caller.payload is served exactly as hashed: key names are no longer converted to snake_case, no *_ms fields are added inside it, and numbers stay numbers. A number with more digits than a double can hold is served as its exact decimal string. Every bound field now equals its value inside canonical.401 SIGNATURE_INVALID, including an unknown key id, so key ids cannot be probed. The nonce is recorded only after the signature verifies. A request with both Authorization: Bearer and PAX-* signing headers returns 401 AUTH_INVALID. Details in Authentication.POST /v1/mm/quotes and DELETE /v1/mm/quotes/{id} require the mm:quote scope; keys without it get 403 SCOPE_MISSING. The MCP mm_quote_post tool requires mm:quote and the composer tool requires builder:apps:write.AUTH accepts API keys and OAuth tokens. It accepts only a predictasiax.com web session token; API keys get auth_denied / invalid_session. Read account state over REST and receive events through webhooks. Authentication and the AsyncAPI spec are corrected.Idempotency-Key is honored on every POST, PUT, PATCH and DELETE sent with Authorization: Bearer or X-Api-Key. Repeating a key returns the stored response (2xx, 400, 404, 409, 422) for 24 hours with Idempotent-Replayed: true. The same key with a different body returns 409 IDEMPOTENCY_BODY_MISMATCH; while the first request is still running, 409 IDEMPOTENCY_IN_FLIGHT with Retry-After. Keys are scoped to the credential, method and path.https:// on a public DNS name: IP address hosts, localhost, internal names, PredictAsiaX hosts, and ports below 1024 other than 443 are refused with 400 WEBHOOK_URL_INVALID. The rule is checked again before each delivery, and deliveries do not follow redirects.GET /v1/markets/{id}/orderbook, /price-history, GET/POST /v1/fees/estimate and GET /v1/data/history return 404 MARKET_NOT_FOUND for an id that does not exist. They used to return 200 with a placeholder book, an empty list, or an error body with status 200./v1/fees/estimate validates its input: price must be a number in (0, 1) and size a positive number, otherwise 400 VALIDATION_FAILED.GET /v1/data/history returns the live history as points: [{ts_ms, yes, no}] (latest 500); range is validated.500 INTERNAL_ERROR and 502 UPSTREAM_ERROR bodies are a generic message plus trace_id; quote the trace id to support. When the gateway's storage is temporarily unavailable it returns 503 SERVICE_UNAVAILABLE with Retry-After.https:// and the WebSocket URL wss://; plain http:// / ws:// are accepted only for localhost.event_type, payload and the other top-level fields equal the values inside canonical (fields_match_canonical), so a response cannot pair an honest canonical with different fields. An event with canonical_withheld returns ok: false with a reason.RESPONSE_TOO_LARGE). TypeScript: a stored referral is kept; a ?ref= in the URL is stored only when none is stored yet.pax-api 3.0.1 is on PyPI. The TypeScript @predictasiax/api 3.0.1 followed on npm the same day (v2.7.9).security: []), among them the audit, leaderboard, LQF config, order book, price history, fee estimate and status routes.GET /v1/audit/proof/{seq} is documented with the path parameter and response fields it actually has (the spec named it {evt_id}).Orders now have size, price and value limits on every API and FIX entry point; HMAC signatures are bound to the real HTTP method; account actions need a portal session; subaccount reads need subaccounts:read. These changes came from security reports.
POST /v1/orders, the batch endpoint, MM quotes and FIX now apply the same rules as the web app. size: plain decimal, at most 6 decimal places. price: at most 4 decimal places. Order value (size × price; MARKET: size): at least 1 USDT and at most 100,000 USDT. Numbers in exponent form (1e-7) are rejected.size > 0, so an order of a few millionths of a share could reserve $0.00 and fill. New error codes: INVALID_FIELD, BELOW_MIN_NOTIONAL, ABOVE_MAX_NOTIONAL (all 400). Examples in these docs and the SDK READMEs that were under 1 USDT are updated.NewOrderSingle that breaks these rules is rejected with an ExecutionReport carrying OrdStatus=8 (Rejected) and Text set to CODE: message, for example BELOW_MIN_NOTIONAL: order notional must be at least 1 USDT.PAX-METHOD / POLY-METHOD used to replace it, so a signature made for GET could be sent as POST on the same path. A PAX-METHOD header that names a different method now returns 401 AUTH_INVALID; clients that do not send it, or send the real method, are unaffected.403 ACCOUNT_SESSION_REQUIRED; withdrawals are also allowed to keys that hold withdrawals:create.503 SANCTIONS_SCREEN_UNAVAILABLE instead of being accepted.GET /v1/subaccounts/balances and GET /v1/subaccounts/transfers now require subaccounts:read, like every other subaccount endpoint (they accepted portfolio:read). Keys without subaccounts:read get 403 SCOPE_MISSING on these two routes.The audit log is now reproducible end to end, both SDKs work against the gateway again (3.0.0), and two gateway routes return live data for every market. Several fixes here came from security reports; thank you to the researchers.
GET /v1/audit/events/{seq} now returns canonical, the exact string that was hashed, plus hash_recipe: event_hash = sha256_hex(prev_event_hash + canonical). The payload field is a display copy (numbers can be stringified or rounded) and cannot be used to recompute the hash; canonical can.GET /v1/audit/proof/{seq} now returns leaf_index, leaf_count and expected_proof_length. A valid proof has exactly that many 32-byte siblings. A verifier that accepts any length can be shown an interior node of the tree as if it were a leaf; verify_algo, verify_snippet and the /verify page now check the length and bind the leaf to the event.MerkleProof.verify uses keccak256 and does not match. The Solidity sample on /verify uses SHA-256 and takes the expected length.pax-api, TypeScript @predictasiax/api)/v1/v1/… paths, sent the key as X-Api-Key (the gateway reads Authorization: Bearer), and signed HMAC requests with headers and a message format the gateway does not use. 3.0.0 targets https://api.predictasiax.com, sends Authorization: Bearer sk_live_…, and signs with PAX-ADDRESS / PAX-TIMESTAMP / PAX-NONCE / PAX-SIGNATURE exactly as described in Authentication.Idempotency-Key on every retry attempt, so a retried write could run twice. Both SDKs now use one key per call, and the order helpers fix client_order_id before the first attempt.verify_audit_event / pax.audit.verify).GET /v1/markets/{id}/orderbook and /price-history returned empty data for market ids without a hyphen (they read a retired table). They now return the live book and history for every id.GET /v1/markets/templates was answered by the market-detail route and returned not-found. It now reaches the templates endpoint (API key required, like GET /v1/markets).DELETE /v1/keys/self revokes the calling key, sandbox keys included.POST /api/v1/sandbox-keys and POST /api/v1/apply return 410 ENDPOINT_MOVED with the gateway URL to use. They used to fail with a 500 after creating a key the caller never received.https://mcp.predictasiax.com/mcp (streamable HTTP, JSON-RPC). Pages that pointed clients at the legacy REST path /mcp/call are corrected.security.txt carries the fingerprint of the current PGP key.Application status text now states the rules the API actually enforces, and both intake paths report the same tier. One response field value changed; the rest is response text and documentation.
POST /v1/access-requests reports tier: "self_serve""trade_capped", while POST /v1/apply returns "self_serve" for an identical key with identical caps ($100 / order · $1,000 / day). The handler's own comment already said the client should see self_serve; only its response disagreed. Both intake paths now report the same tier. The stored tier and every limit are unchanged.POST /v1/access-requests declines and GET /v1/access-requests/{req_id} said "you may re-apply after 90 days". The window intake actually enforces is 30 days, keyed on the contact handle. The text now says so.GET /v1/apply/{ba_id} repeated the same 90-day line, but POST /v1/apply has no re-application window at all. The line is removed.pending, under_review and nda_sent — statuses no code path has written since the review queue was retired. That text promised reviewer triage, a compliance review and an NDA, none of which exist.GET /v1/apply/{ba_id} as returning rejected when "intake triage declines an application". POST /v1/apply has no intake triage and declines nothing at submit; a rejected record can only come from an operator, after the fact.approved and rejected are reachable on both status endpoints. That holds for anything submitted today, but existing records can also read withdrawn. No current code path writes it, and both schemas now list it as a legacy value.Three decisions taken rather than deferred: counts stop being serialized as money, marketplace listing loses its reviewer, and the PAX-holding graduation discount is removed instead of published. v2.7.3 left these three open as product calls. All three are now resolved in code on the live edge, and two of them change a response this spec published earlier the same day.
total. Every total in this API is a row count, so GET /v1/marketplace/listings and GET /v1/marketplace/listings/mine were returning "total": "0" — a count typed as a currency amount. Both now return an integer, and v2.7.3's schema note describing them as decimal strings is corrected.total_count exempted only that exact spelling — total_referred_count fell straight through. Counts are now matched by suffix, so any *_count is excluded by construction rather than by remembering to add it.total_score shipped as a string beside a numeric my_score, and min_fill_size as a string beside a numeric size. Both are now numbers, matching the field they belong with. Genuine money is untouched and still serializes as a decimal string — fee_total, total_fee, total_paid_usdt, amount, volume_30d_usdt and the caps block all keep their existing type.POST /v1/marketplace/listings/apply no longer returns status: "pending_review" with "marketplace admin will review within 5 business days". It returns status: "approved". PAX runs with one operator, so that queue had nobody to clear it — the same dead end the application path had until v2.7.3 deleted its reviewed-track branch.GET /v1/marketplace/listings now also requires the listed app to have recorded at least one attributed fill. That is the automated admission test standing in for the reviewer: POST /v1/apply is unauthenticated and the names on an application are whatever the applicant typed, so publication waits on something that cannot be typed. Unlike the directory's rolling 30-day window this floor is permanent once crossed — a volume ranking should drop a quiet builder, a product marketplace should not delist a real integration for having a slow month.pending_review and draft remain legal values on the stored row for records created out of band, and disabled / delisted remain the abuse remedies. Only the submit path changed.benefits block the holder-tier API returns — no surface advertises a perk that no longer exists. The published $10,000 / 30 d for trade_full is now unconditional for every builder, which is what How Tiers Work has been saying all along. Live behaviour does not change; the discount was already zero.POST /v1/apply on the genesis track — the track that returned no key at all until v2.7.3 — now returns auto_provisioned: true, status: "approved", a live key, tier: "self_serve" and caps of {"max_order_usdt": "100", "daily_notional_usdt": "1000"}, matching the sample on Onboarding field for field. GET /v1/apply/{ba_id} reports approved for the same record, so the POST, the GET and the stored row agree. The probe's builder record was reclassified as a test record and its key revoked at both the edge and upstream immediately afterwards.Code, not docs: five published promises that the API did not actually keep are now kept. v2.7.1 and v2.7.2 corrected numbers the docs got wrong. This release goes the other way — auditing the docs against the handlers surfaced five places where the code was wrong, and those are fixed on the live edge. One response field set changed; everything else is additive or invisible.
POST /v1/apply, POST /v1/access-requests) hardcoded is_test = 1 on the builder record they created. The graduation tick only considers live records, so no builder created through public intake could ever reach trade_full — while the same handler's next_step promised exactly that at $10,000 / 30 d. Public intake is the only intake, so it now writes live records and the published ladder applies to the keys it hands out.org field on an application publicly consequential, so the two public surfaces that read live builder records grew their own admission test rather than trusting caller-supplied text. Builder Directory (GET /v1/builders/public) now requires at least one attributed fill in the 30-day window — a directory that ranks on volume has nothing to say about a builder with none. Marketplace listing became opt-in (below).genesis tier, so repairing that query without this pass would have turned an empty cohort straight into a cohort of 9 probe records.genesis and institutional really do auto-provision now (the v2.7.0 promise, actually shipped)auto_provisioned: false, status: "pending", "we'll email you within 5 business days", a row in a queue with no consumer, and no API key. The branch is now deleted — not flag-disabled — so it cannot be switched back on without also re-publishing the review promise. All 20 tracks fall through one auto-provision path.mm:quote scope the two reviewed tracks carried already shipped on two unreviewed tracks.POST /v1/apply 200 body now carries status: "approved". It previously had no status field at all — only the deleted review branch ever returned one — so the status: "auto_approved" published on six pages named a value this API has never returned. approved is the value stored on the application record and the value GET /v1/apply/{code} reports, so the POST, the GET, and the stored row now share one vocabulary.POST /v1/marketplace/listings/apply was a black hole. Its INSERT named two columns that do not exist and omitted both required ones, so it threw on every call — and the throw was swallowed, so the endpoint returned a listing_id and "approved within 5 business days" while writing nothing. GET /v1/marketplace/listings/mine selected the same nonexistent columns and so was always empty. Both now match the live table, and a failed write returns an error instead of a fake success.GET /v1/marketplace/listings did not read listings at all — it read the app registry, publishing every approved app with no opt-in from its builder, while genuinely submitted listings could never appear. It now reads approved listings only, which is what its own summary and For Builders always described. Response field set changed accordingly (listing fields plus the owning builder's public identity; previously app-registry fields). The former shape was never published in the spec — this endpoint shipped as a bare 200 OK stub — and both it and the submit, mine, genesis-roster and directory endpoints now carry full request/response schemas.product_name, name, product_url, tracks, volume_30d_usd, fills_30d, time_to_first_fill_hours and badge — so every card would have shown blanks and em dashes. Rewritten against the real contract (title / app_name, homepage_url, verified_badge, tier, jurisdiction, approved_at_ms), and the page no longer claims its metrics come from two endpoints it does not call. Its "cross $10k attributed volume" precondition for listing was also invented — there is no volume threshold on listing.GET /v1/marketplace/genesis filtered on status IN ('active','approved','pending'). Two of those are not legal values for that column — the CHECK allows pending / genesis / verified / partner / disabled — and migration 0007 normalised every lifecycle status to verified, so the one legal value could not match a granted builder either. filled was therefore always 0 and cohort always empty, regardless of who held the tier. It also counted partner — a different programme — against the 20 genesis slots. Now: genesis tier, live, verified.status: "auto_approved" → status: "approved" on For Builders, Request access (sample + the live success banner), Onboarding (sample + the every-track note), FAQ, and the v2.7.0 entry above.user_id as an app_* id; it is the bld_* builder id, and the samples were missing builder_id, app_id, api_key_id, client_id, tier, caps, portal_url and notice. Onboarding now shows the full body.POST /v1/apply description still said "Genesis + institutional applications are queued for human review (5 business days)" and its 200 said the key comes back only "if auto-provisioned". Directory claimed the endpoint returns three lifecycle values; it filters on one.< on builder-supplied text and interpolated a builder-supplied URL straight into an href. It now escapes the full set and requires an http(s) scheme client-side as well as on write.GET /v1/apply/{ba_id} and GET /v1/access-requests/{req_id} — were schema-less stubs. Both now document their real response bodies, their 30 / hour / IP limit, and the fact that only approved and rejected are reachable: intake resolves on submit, so there is nothing to wait for. The Postman collection carried the retired "queued for human review (5 business days)" blurb on POST /v1/apply and an nda_sent sample status that no code path can write; both are replaced.MMTier schema documented a four-rung market-maker tier system — with per-rung notional and inventory ceilings, two "admin-approved" rungs and a "signed agreement" rung — hung off POST /v1/mm/apply. That endpoint does not exist, no request or response on this API references the schema, and quote-sizing and inventory ceilings are per-key risk limits (GET / PUT /v1/mm/me/risk-limits), not a property of a tier. It is now marked reserved, pointing at the real entry point: POST /v1/mm/designation-request, which carries no tier and sets a fixed 20 bps rebate.Entry-tier caps corrected, and the POST /v1/sandbox-keys contract in the OpenAPI spec replaced with the one the endpoint actually serves. Documentation and spec corrections only; no request/response shape changed and no live limit moved. v2.7.1 fixed the sandbox-minted-as-self_serve mislabel on the sandbox path — this release fixes the mirror-image error on the application path, where the self_serve rung was published carrying sandbox's caps.
self_serve is $100/order · $1,000/day — not $10 · $100POST /v1/apply as landing on self_serve with "$10/order, $100/day caps", several of them adding that this is "the same tier as an anonymous sandbox key" with "the same conservative caps as sandbox". The caps attached to that key are the self_serve defaults — $100/order · $1,000/day, a 10× rung above sandbox — so applicants were told their key was 10× more restricted than it is.sandbox and self_serve split into separate rungsPOST /v1/sandbox-keys or any POST /v1/apply track". They are two different tiers with different caps. The ladder is now six linear rungs plus the genesis ranking overlay, with sandbox ($10 · $100, simulated fills, 30-day key expiry) and self_serve ($100 · $1,000, persistent org-tagged key) shown separately.sandbox.predictasiax.com mints sk_test_" — the separate-host sandbox retired in v2.0.0. POST /v1/sandbox-keys mints an sk_live_ key on the production host; the tier flag is what caps it.admin_signoff: false on every rung.POST /v1/sandbox-keys request, response, and quota rewritten from the handlerok, key_id (integer), key_prefix, api_key, user_id, org_name, expires_at (date-time) and limits. The endpoint returns the standard { data, meta } envelope with sk, api_key_id, builder_id, app_id, tier, caps, expires_at_ms, sandbox_url, docs_url, upgrade_url and notice. caps values are decimal strings, not numbers — the old schema typed them as number.org_name was marked required at maxLength: 80; it is optional (defaults to Sandbox Builder) and truncates at 100. The documented contact_email field does not exist — the handler reads contact_handle.Sandbox tag text said the mint returns tier=self_serve; it returns tier=sandbox. The bearerAuth security-scheme tier list was missing sandbox entirely. downloads/openapi.yaml, downloads/openapi.json and downloads/postman.json regenerated in step.TIER_LIMIT_EXCEEDED example on Error Codes showed "tier": "self_serve" beside a "cap": "10" (a cap only sandbox carries), and the SDK trade comment on Downloads labelled the $10 · $100 step self_serve when the snippet above it mints a sandbox key. The Sandbox sample response had a stale upgrade_url and omitted notice.Tier surface reconciled against the enforcing code — published thresholds, the genesis floor, and the BuilderTier spec text now match what actually gates an order. Documentation and spec corrections only; no request/response shape changed and no live limit moved.
trade_full graduates at $10,000 (corrects the $50,000 figure published in v2.7.0)max_order_usdt check on the API edge, and its graduation tick has always promoted trade_capped → trade_full at $10,000 of 30-day attributed volume. The docs and the Node-side ladder advertised $50,000, so builders were told to route 5× more volume than the enforcing code requires.trade_full graduation threshold, the admin-bridge copy of the same table, and the ladder[] returned by GET /v1/builders/me/tier-progress are now $10,000 — one number across the whole platform. Every rung stays admin_signoff: false; nothing about enforcement changed, only the published threshold and the Node-side ceiling that mirrors it.meta description tags and the worked tier-progress response example).trade_full threshold (the "floored at the trade_full threshold" wording in v2.7.0). With trade_full stated at $10,000 that coupling would have silently dropped the floor 5× and contradicted the genesis_program.floor_usdt already reported by GET /v1/builders/me/tier-progress.BUILDER_GENESIS_SLOTS (default 20) by 30-day attributed volume, auto-granted and auto-revoked past a 5-slot hysteresis band, logged as tier_genesis_grant / tier_genesis_revoke.BuilderTier — fabricated tier perks removedBuilderTier schema description in openapi/v1.yaml (and the downloads/ JSON + YAML artifacts) still carried claims with no implementation behind them: "admin operator approval required" on trade_full and genesis, "signed partner/institutional agreement" on partner, a 10× rate multiplier for genesis, "up to 20× rate multiplier, dedicated infra" for partner, "early access to unreleased endpoints", and an auto-graduation ceiling of trade_capped. None of these exist in code — the rate limiter takes no tier input, so request rate limits are identical at every tier, and the cron ceiling has defaulted to partner since v2.7.0.sandbox $10/order · $100/day, self_serve and trade_capped $100/order · $1,000/day, trade_full / genesis / partner uncapped), plus three facts the old text omitted: a per-key max_order_usdt / notional_cap_usdt_per_day overrides the tier default, read_live rejects orders with TIER_UPGRADE_REQUIRED, and POST /v1/sandbox-keys mints tier sandbox with a 30-day key expiry.genesis on seven guide pages (authentication, FAQ, builders, grants, onboarding, request-access, tier-progression) and is gone everywhere — genesis pays a 10 bps combined builder fee share, it does not unlock endpoints and it does not raise rate limits. No tier does. On For Builders the "Early access to unreleased APIs" comparison row was replaced with the one thing the tier actually lifts: uncapped notional.POST /v1/sandbox-keys example on Getting Started showed an internal response shape (ok / key_id / api_key / limits) and claimed the minted key came back on self_serve. The public endpoint returns the standard { data, meta } envelope with sk, api_key_id, builder_id, app_id, tier: "sandbox", caps and expires_at_ms — now reproduced verbatim, matching the example that Sandbox already carried. The TIER_LIMIT_EXCEEDED and attribution snippets on the same page were corrected to tier: "sandbox" to match.self_serve: those caps are the sandbox tier defaults, and the row now names the one route that mints it. The Unauthenticated reads paragraph made the same slip — minting a key moves you off the anonymous IP budget onto the standard per-key budget, and the key is tier=sandbox. There is no per-tier "baseline" to raise: the per-scope limits are the same at every tier.sandbox-minted-as-self_serve mislabel sat on six more pages and is fixed in every place it appeared: the home page quickstart ("sandbox is differentiated by tier=self_serve") and the API Key card beside it, the Postman import step and both SDK quickstart comments, the For Builders FAQ and the "Tier-flagged API keys" card on the same page, the API Terms definition of "Sandbox", the T0 lane and the "Cap enforcement" paragraph on Tier Progression, and the key-prefix answer on the FAQ. Several of them additionally attributed the $10/order · $100/day caps to self_serve — those caps belong to sandbox; self_serve is a separate rung at $100/order · $1,000/day, and the T0 lane now shows both sets.Single-operator automation — every access, tier, payout, and dispute path that used to wait on a human now clears itself. No wire-breaking changes: request and response shapes are unchanged. What changed is that the manual review / approval steps behind them are retired. PredictAsiaX runs as a one-operator venue, so a queue with no one to clear it is a permanent freeze — access is gated by on-chain-attributable volume downstream, never by a human sign-off.
POST /v1/apply returns a live sk_live_* key on submit for all 20 tracks. The genesis and institutional tracks — previously "routed to human review" — now auto-provision like every other track: auto_provisioned: true, starting on self_serve ($100 / order · $1,000 / day). There is no reviewed-track branch, no admin Telegram / email handoff, and no pending_review state on the apply path.genesis and institutional kept returning auto_provisioned: false with no key. The response also carried no status field at all, so the status: "auto_approved" originally quoted here was a value the endpoint never returned. Both are fixed as of v2.7.3; the live value is status: "approved". The self_serve caps quoted here were also sandbox's, corrected above per v2.7.2.POST /v1/apply, institutional is a label only — it provisions the same self_serve key as any other track. Capability comes from the volume-driven tier flag on the key, not from the track name. There is no separate negotiated-contract branch.partner (supersedes the trade_capped cap in v2.2.2)trade_capped to partner. The linear ladder now promotes the whole way on 30-day attributed trading volume with admin_signoff: false on every rung: self_serve → read_live ($100) → trade_capped ($1,000) → trade_full ($50,000) → partner ($1,000,000). The "higher tiers require admin operator approval" step from v2.2.2 is gone.builder_attribution_log with event='tier_auto_graduate'. Progress is observable at GET /v1/builders/me/tier-progress.BUILDER_GENESIS_SLOTS builders (default 20) by 30-day attributed volume, floored at the trade_full threshold so it is never granted on a quiet day. Grant and revoke are automatic, with a hysteresis band (BUILDER_GENESIS_REVOKE_SLACK, default 5 slots) to stop boundary flapping. Writes tier_genesis_grant / tier_genesis_revoke to builder_attribution_log. A genesis holder still auto-graduates to partner at $1,000,000.POST /v1/builders/me/settle (and the creator equivalent) aggregates unsettled financial_event rows, runs the hard-stop guardrails (KYT / OFAC / anomaly / cap checks) before anything is scheduled, then opens a withdrawal_state row that serves an amount-scaled hold (lib/amountScaledHold) and broadcasts on-chain automatically once hold_until passes. Larger amounts hold longer; they are never frozen for a human approver.withdrawal_state.status = 'pending' unconditionally; the pending_admin_review approve / reject queue is no longer written by any code path (left in place dormant, slated for removal).dispute_bond_ledger) — anyone can post a challenge bond, and the chain-watcher auto-marks receipt. the dispute-bond adjudicator then drives every received bond to a terminal outcome: escalate, then resolve. A dispute that cannot be auto-decided after the attempt / age cap resolves to a terminal 50/50 VOID rather than parking in a manual-freeze state. No disputed market waits on an operator.trade_capped auto-ceiling, and the ≥$10k multi-approver payout line. Genesis is described everywhere as the live top-20 volume ranking; partner as the top auto-graduated tier.PAF math clarity + MCP tool-count sync — spec doc updates, no behavior changes.
PAF_BASE × 4·p·(1−p) and 4·p·(1−p) peaks at 1 when p = 0.5, the raw curve mathematically cannot exceed PAF_BASE. With default PAF_BASE_BPS = 20, the effective per-fill taker fee is 8–20 bps, not "8–25 bps".fee-architecture, faq, index, creator-economy, grants, onboarding) + builder.predictasiax.com meta description and Fees section. PAF_CEILING_BPS = 25 is now clearly labelled as a dormant configurable safety cap — only active if PAF_BASE is raised above 20 in a future tuning.fee-architecture#trading-fee: the 7-actor split bps in the tier tables are shares at PAF centre; each actor's absolute allocation on a given fill scales proportionally with the effective clamped fee, so Σ actor_allocation = effective_taker_fee always. Verifiable via Σ financial_event.amount_usdt = fill.taker_fee_usdt per trade_id, or by calling POST /v1/fees/estimate.tools/listmanifest.json both report tools_count: 44; runtime tools/list also returns 44. Docs updated to match:
security.html: "41-tool MCP server" → "44-tool"builders.html: "7 tools" → "44 tools"onboarding.html: two "7 tools" refs → "44 tools"tool_categories array sums to 41 (3 tools missing from category labels), and the JSON-RPC initialize instructions string still says "41 tools". Runtime tools/list = 44 is authoritative; category breakdown + initialize instructions to be re-derived in a follow-up MCP release.OpenAPI completeness sweep — 20 new documented operations to close the gap between backend routes and the public spec. Additive only, zero breaking changes. Complements the same-day dual-secret webhook rollover ship + Idempotency-Key drift sweep.
GET /v1/webhooks/{id}, PATCH /v1/webhooks/{id}, DELETE /v1/webhooks/{id} (soft-disable), GET /v1/webhooks/{id}/deliveries, POST /v1/webhooks/{id}/deliveries/{evt_id}/replay, POST /v1/webhooks/{id}/test. Response shapes include secret_scheme, grace_expires_at_ms, in_grace for the v2_raw dual-signing path.GET /v1/markets/{id}/orderbook (depth 1-20, side yes/no/both), GET /v1/markets/{id}/price-history (range 1h/6h/1d/7d/30d/90d, ≤500 points).GET /v1/composer/proposals list, GET /v1/composer/proposals/{prp_id}, GET /v1/composer/templates/{tpl_id}.GET /v1/subaccounts/{id} (with balance + risk-limits join), GET/POST /v1/subaccounts/{id}/grants, DELETE /v1/subaccounts/{id}/grants/{grn_id}.DELETE /v1/mm/quotes/{id} (cancel resting/partial), GET /v1/rfq/{id} (requester full view, MM redacted view).DELETE /v1/orders/{id} canonical cancel (POST /v1/orders/{id}/cancel alias documented as equivalent).GET /v1/audit/proof/{evt_id} (chain-replay verification), GET /v1/access-requests/{req_id} (poll access-request status).GET /v1/apps/{id} — backend never had this handler; only GET /v1/apps list + POST /v1/apps/{id}/rotate-secret + /keys sub-routes exist./v1/apply/{code} → /v1/apply/{ba_id} to match backend regex ba_[0-9a-zA-Z]{6,32}. Cosmetic — same wire path.markets.html — legacy /api/creator/markets/* and /api/catalog/* references replaced with the real /v1/composer/markets + /v1/composer/proposals + /v1/composer/templates paths + full submit-body example matching createComposerProposal.grants.html — retired the "20 % of platform fee" legacy stub in favour of the tier-scaled acquisition + execution buckets under PAF; removed phantom "0-50 bps maker" additive (backend only supports 0-100 taker additive); 4-way LP/treasury/builder/creator description → 7-actor PAF; /v1/access-requests/{id} → /{req_id}.errors.html — INSUFFICIENT_BALANCE → BALANCE_INSUFFICIENT (backend spelling); added 4 real backend codes previously undocumented: MARKET_NOT_FOUND, SANCTIONS_HIT, CONFLICT, SERVICE_UNAVAILABLE; tagged HMAC codes as reserved · enterprise HMAC, MCP codes as reserved · MCP subsystem, receiver-side webhook codes as receiver-side (PAX doesn't emit these — the user's webhook receiver returns them).builder.predictasiax.com) meta description "5-actor revenue split" → 7-actor PAX Adaptive Fee Curve (initially phrased "8-25 bps taker + LQF 3-8 bps maker rebate"; the "8-25" wording was corrected to "8-20 bps effective taker" in v2.6.1). SEO / LLM crawlers had cached the old summary.downloads/openapi.json, downloads/openapi.yaml, openapi/v1.yaml (canonical), downloads/postman.json (all 76 ops), llms-full.txt (regenerated from HTMLs). Counts across index/downloads: 54 paths / 57 ops → 69 paths / 76 ops across 16 tag groups.PAX Adaptive Fee Curve (PAF) + Liquidity Quality Framework (LQF) — full replacement of the flat-fee + weekly-rollup model. Root-cause ship of the MM incentive redesign — snapshots become autonomous, payouts become daily, fees become price-adaptive.
taker_bps = clamp(PAF_BASE × 4 × price × (1-price), PAF_FLOOR, PAF_CEILING). Defaults: BASE=20 · FLOOR=8 · CEILING=25. Extreme prices (<0.10 or >0.90) hit the 8 bps floor — competitive with volume-cashback venues without giving away free trades.rebate_bps = 3 + 5 × lqf_score. Old flat 2 bps rebate retired.mm_stipend_pool bucket (5 bps at auto tier, 4 bps at genesis). Bucket funds daily LQF payouts; no longer routes through the LP holder cron.PAF_ENABLED=on (default on after v2.5.0), PAF_BASE_BPS=20, PAF_FLOOR_BPS=8, PAF_CEILING_BPS=25, PAF_MAKER_REBATE_BPS=3, PAF_MAKER_REBATE_MAX_BPS=8.user_share × market_liquidity_stipend, writes a payout record + a balance credit. At most one payout per account, market and day.FEE_MM_STIPEND events into per-market stipend pool.market_lqf_config (per-market max_qualifying_spread_bps, depth_floor_usdt, daily_stipend_usdt), mm_quality_snapshots, a payout record, mm_stipend_pool_ledger.GET /v1/mm/stipend/estimate (real-time forecast), GET /v1/mm/stipend/history, GET /v1/liquidity/leaderboard now returns lqf_score + continuity_pct + estimated_stipend_next_epoch.mm_lp_positions data preserved 90 days for audit.PAF_BASE_BPS = 20.MAKER_REBATE_BPS — replaced by quality-scaled 3-8 bps.Existing fee_ledger and financial_event rows preserved unchanged. New PAF/LQF entries carry fee_bps = effective PAF value (not flat 30). CF Worker apps/api/src/index.ts DEFAULT_FEE_BPS aligned from 400 (simulation) to 20 (mirrors VM PAF_BASE). Docs, SEO, and 14 locales updated in the same release.
100% top-tier polish — 8 remaining gaps closed after v2.4.0 fee-ledger ship.
@predictasiax/api@2.4.0 ships new pax.settle.me() / pax.settle.adminBuilder() / pax.settle.adminCreator().pax-api==2.4.0 ships new pax.settle_self() / pax.admin_settle_builder() / pax.admin_settle_creator(). Also auto-injects Idempotency-Key on POST/PUT/PATCH/DELETE and supports extra_headers./v1/builders/me/settle, /v1/admin/builders/{userId}/settle, /v1/admin/creators/{userId}/settle.components/LimitOrderForm.js feeEstimate 50 bps → 30 bps; three /learn pages (builder-tiers-comparison, attribution-and-builder-programs, prediction-market-vs-futures) updated in both English and Chinese to reflect 30 bps + progressive tier.Complete fee accounting — LP fee distribution, dynamic fee (env-gated). Closes architectural gaps found in the fee-flow audit.
FEE_LP events (12 bps at auto tier, 5-7 bps at higher) and distributes pro-rata to active lp_positions by shares. Updates total_earned per position + writes audit audit rows + marks the events settled with the distribution ID. Closes gap where the LP share accumulated in pool:lp but never reached actual LP holder accounts. Runs hourly; distributions under $0.10 wait for the next run. No active LP positions? that period's LP fees stay with the platform.rate × price × (1 - price) × 4 — industry-standard curve formula. Max fee (30 bps) at 50/50 markets; approaches 0 at extremes (near 0¢ / 100¢). Verified per-price at unit-test level: 50/50=30bps, 70/30=25.2bps, 90/10=10.8bps, 99/1=1.19bps effective. Applied identically on the charge and split paths. — fee-sync-guard boot check remains valid. Default OFF (flat 30 bps stays) — turn on after modeling revenue impact on live volume distribution.Taker fee cut 50 → 30 bps + progressive tier for builder share.
self_serve, read_live, trade_capped) — 6 acq + 6 exec = 12 bps combined builder share (40% of the 30 bps fee)trade_full — 7 acq + 7 exec = 14 bps (47% of fee)genesis, partner — 8 acq + 8 exec = 16 bps (53% of fee)operator + lp + market_creator, all splits still sum to 30. LP floor: 5 bps at genesis / partner (protects liquidity depth).
execution_builder's current tier from the builder registry for every trade batch (per-tick cache dedups repeated lookups) and passes to the fee split. Tier changes flow through to financial_event automatically.GET /v1/fees/estimate accepts builder_tier — preview any tier's split from any key. Backward-compatible; omit for auto tier.fee block shape — just different numeric values. Clients that hard-coded taker_fee_bps: 50 will see 30 now.ACTOR_BPS_* env vars still work; defaults now sum to 30 not 50. Env validator throws at load time if custom values don't sum to TAKER_FEE_BPS_TOTAL.financial_event rows preserved — historical splits at 50 bps stay as-is; new fills use 30 bps.Application flow — email notifications + tier auto-graduation.
POST /v1/apply with track genesis or institutional now fires three side-effects on submission: (1) admin Telegram alert via the existing tgAlert channel, (2) admin email to ADMIN_EMAIL with application details + direct approve/reject curl commands, (3) if the applicant provided an email, a confirmation email with their application_code and status-polling URL.execution_builder_id attribution, and auto-graduates builders across two tier steps: self_serve → read_live at $100 30d volume, and read_live → trade_capped at $1,000 30d volume. Caps at trade_capped; higher tiers (trade_full, genesis, partner) require admin operator approval. 24-hour dedup window per builder. Every graduation writes to builder_attribution_log with event='tier_auto_graduate' and sends the builder a notification email (if their contact_email is set).TRACK_INITIAL_TIER map in the platform — extension point for setting different initial tiers per track. All 18 auto-provisioning tracks currently start on self_serve (kept uniform for safety); the map makes future per-track differentiation a one-line change.Discoverability + SDK metadata sync — no behavior changes.
/verify is now a top-level entry in the docs navigation on every page (previously only reachable from the migration page). Also cross-linked from the home hero grid and the authentication guide's server-side-verification section.pax-api==2.2.1 — README rewritten to reflect the v2.2 API surface (sandbox key minting, batch orders, fee estimator, audit verifier). Prior 2.2.0 release included the older v1.0.0 quickstart content, which caused the PyPI project page to display outdated install and usage examples. No client code changes; upgrade with pip install --upgrade pax-api.@predictasiax/api@2.2.0 — unchanged (README already reflected current surface).Trust Layer — public Merkle verifier over the operational ledger.
GET /v1/audit/status — live counts of events + Merkle batches + anchored batches + anchor lag. Any third party can hit this to understand the shape of the operational audit chain in real time.GET /v1/audit/batches/latest — most recent Merkle batch metadata (batch_num, merkle_root, first_seq, last_seq, event_count, anchored_at, anchor_target, anchor_ref).GET /v1/audit/batches/{num} — inspect any historical batch by batch_num.GET /v1/audit/events/{seq} — inspect a single hash-chained event (event_hash + prev_event_hash + payload + batch linkage — the full hash-chain surface).GET /v1/audit/proof/{seq} — Merkle inclusion proof (sibling hashes) that proves the event is included in its batch's merkle_root. Algorithm: sorted-pair SHA-256 over raw 32-byte digests. Correction (2026-11-23): this entry originally said the roots were compatible with OpenZeppelin MerkleProof.verify; that verifier uses keccak256 and does not match. See /verify for a SHA-256 verifier.GET /v1/audit/anchor/{num} — resolve a batch number to its external anchor URL (Cloudflare R2 signed payload) for out-of-band verification.@predictasiax/api@2.2.0 ships pax.audit.* resource + static AuditResource.verifyProof() / .verifyProofAsync() helpers (Node crypto + WebCrypto). pax-api==2.2.0 ships pax.audit_*() methods + PaxClient.verify_merkle_proof() static.The event log has been hash-chained and Merkle-batched since v1 — this release exposes it publicly. See docs.predictasiax.com/verify for the full trust model: any auditor, investor, or third-party verifier can independently reconstruct the event chain, verify Merkle inclusion for any event, and check R2 anchor payloads out-of-band. Building on PAX means every fill your app routes carries a cryptographic receipt that outlives the PAX API itself.
Batch trading + pre-trade fee preview.
POST /v1/orders/batch — up to 25 orders per request. Sequential order processing (single-writer per market). Per-item results[].ok + top-level summary — one bad order does not fail the whole batch. Returns 413 BATCH_TOO_LARGE when over cap.DELETE /v1/orders/batch — up to 50 cancels per request.GET /v1/fees/estimate — returns identical fee block shape as post-trade responses (5-actor splits + attribution + breakdown + ledger_preview). Powered by lib/fiveActorFees — env-tunable bps (ACTOR_BPS_*) flow through automatically, so pre-trade estimates and post-trade settlements can never diverge.@predictasiax/api@2.1.0: pax.orders.placeBatch(), pax.orders.cancelBatch(), new pax.fees.estimate() namespace.pax-api==2.1.0: pax.place_orders_batch(), pax.cancel_orders_batch(), pax.estimate_fees().Builder Program v2.0 — full ecosystem infrastructure SHIPPED
Base URL: https://api.predictasiax.com/v1. All endpoints below are live and returning real D1-backed data.
GET /v1/builders/me, GET /v1/apps, GET/POST /v1/apps/{id}/keys, DELETE /v1/apps/{id}/keys/{kid}, POST /v1/apps/{id}/keys/{kid}/rotate. Raw secret shown once.self_serve / verified / trade_capped / trade_full / genesis / partner. Per-order and daily notional caps enforced at fill time. Error code TIER_LIMIT_EXCEEDED (429) with breach details.POST /v1/sandbox-keys — public, anonymous, returns sk_live_* tagged tier=self_serve with $10 per-order / $100 daily caps and 30-day expiry. Same host as production — promote to verified by upgrading tier, no code changes.POST /v1/builders/me/password, GET /v1/builders/me/sessions, POST /v1/builders/me/sessions/revoke-others.GET /v1/attribution/fills, GET /v1/revenue, GET /v1/revenue/ledger. Every fill writes idempotent financial_event rows on the platform ledger. Total taker fee 50 bps of notional, split five ways:
acquisition_builder — 10 bps (20% of taker fee; the builder who first onboarded the user)execution_builder — 10 bps (20%; the builder whose app the trade routed through)operator — 5 bps (10%; PAX operator running the venue)market_creator — 8 bps (16%; whoever composed the market)lp — 12 bps (24%; liquidity pool backstop)platform_net — 5 bps residual (10%; also absorbs any unfilled attribution role, protecting revenue)execution_builder_id/acquisition_builder_id at trade time, backed by the platform. Idempotency key format: fee_split:<trade_id>:<event_type>.
POST /v1/apply — accepts track + optional org / url / email / description. IP-rate-limited 5/hr. Auto-provisions a live sk_live_* API key on submit for 18 tracks (app / agent / data / distribution / market / liquidity / oracle / reviewer / operator / self_serve / 8× rfb-*); routes genesis and institutional to human review. Status polling via GET /v1/apply/{code}.https://connect.predictasiax.com — browser HTML login/consent, refresh-token reuse detection revokes entire family (REFRESH_TOKEN_REUSED 401).https://mcp.predictasiax.com — 7 tools: market_search, probability_movers, resolution_evidence, portfolio_read, place_order, cancel_order, sandbox_agent_examples. Bearer token forwarded to REST.POST/GET/PATCH/DELETE /v1/webhooks + POST /v1/webhooks/{id}/rotate-secret + GET /v1/webhooks/{id}/deliveries. 5 event types: trade.filled, market.resolved, payout.available, payout.paid, auth.token.revoked. HMAC signature, retry with exponential backoff./v1/subaccounts full CRUD, /v1/subaccounts/{id}/grants for signed delegation.GET /v1/composer/templates, POST /v1/composer/proposals./v1/mm/quotes, /v1/rfq, /v1/rfq/{id}/quotes, /v1/rfq/{id}/accept./v1/admin/access-requests, /v1/admin/tiers/graduate, /v1/admin/builders, /v1/admin/audit, /v1/admin/abuse-flags. Gated by X-Admin-Key header, timing-safe compared.GET /v1/markets, GET /v1/markets/{id}, GET /v1/markets/templates, GET /v1/healthGET /v1/data/history, GET /v1/data/movers, orderbook, trades, candlesPOST /v1/orders, POST /v1/orders/{id}/cancel, template-driven market creation with deterministic ID (m_<sha256[0:16]>), idempotent under same (template, params, creator) tuple{ok, data, meta} on every canonical response; meta includes request_id, server_ts_ms, duration_ms, server_region; deep snake_case keys; money as decimal string; *_at_ms sibling for every timestamp; full JSON Schema param validation with actionable error details (details.field, details.allowed, details.got)wss://predictasiax.com/ws with 4 client methods (SUBSCRIBE / UNSUBSCRIBE / AUTH / LOCALE) and 48 server event types — Redis Stream sequence numbers on the book stream for client gap-detection resynccom.predictasiax/mcp, GitHub starter kits, Builder Directory with volume leaderboardchain_data JSONB envelope on core tables carries on-chain settlement metadata without breaking client integrations<predictasiax-market> Web Component, attribution baked inplatform_mm mode remains the default counterparty for markets without an LP poolWhen an endpoint or field is deprecated:
Deprecation: <date> and Sunset: <date> (RFC 8594)The canonical spec + AsyncAPI spec + Postman environment files at Downloads are versioned along with each release above.