Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. By signing up you are subscribing to the APIs.io and API Evangelist
newsletters — you can unsubscribe from any issue. See our
Privacy Policy and Terms.
openapi: 3.2.0
info:
title: PredictAsiaX Network Data API
version: v1
description: 'The canonical REST surface for the PredictAsiaX Network. Most /v1/*
response is wrapped in an envelope `{ data, meta: { ts_ms, trace_id, is_simulated? } }`.
All timestamps are `*_at_ms` integer milliseconds; all money is decimal string.'
contact:
email: support@predictasiax.com
license:
name: PredictAsiaX Builder License
url: https://docs.predictasiax.com/legal/builder-license
servers:
- url: https://api.predictasiax.com
description: Production
security:
- bearerAuth: []
tags:
- name: Data
description: Historical probability, movers, aggregates
paths:
/v1/data/history:
get:
tags:
- Data
summary: OHLC / probability history
responses:
'200':
description: OK
operationId: getV1DataHistory
x-operation-id-source: derived
/v1/data/movers:
get:
tags:
- Data
summary: Top probability movers over a window
responses:
'200':
description: OK
operationId: getV1DataMovers
x-operation-id-source: derived
/v1/markets/{id}/orderbook:
get:
tags:
- Data
summary: Order book snapshot
parameters:
- name: id
in: path
required: true
schema:
type: string
responses:
'200':
description: OK
operationId: getV1MarketsByIdOrderbook
x-operation-id-source: derived
/v1/markets/{id}/price-history:
get:
tags:
- Data
summary: Probability time series (range=1h|6h|1d|7d|30d|90d)
parameters:
- name: id
in: path
required: true
schema:
type: string
responses:
'200':
description: OK
operationId: getV1MarketsByIdPriceHistory
x-operation-id-source: derived
components:
securitySchemes:
bearerAuth:
type: http
scheme: bearer
description: 'Send `Authorization: Bearer sk_live_*` or an OAuth 2.1 access token. `sk_live_` and OAuth tokens go through the same authenticator; capability is differentiated by tier (`sandbox` / `self_serve` / `read_live` / `trade_capped` / `trade_full` / `genesis` / `partner`). Sandbox and production share the same host and key prefix — the tier flag caps sandbox at $10/order + $100/day.'
oracleApiKey:
type: apiKey
in: header
name: X-API-Key
description: 'Oracle api-key minted via POST /v1/provider/keys. Equivalently sent as `Authorization: Bearer <api-key>`. Write endpoints additionally require the `oracle:write` scope.'
platformSession:
type: apiKey
in: header
name: X-PAX-Session
description: 'Platform login session (consumer app) or builder-portal OAuth token. Equivalently sent as `Authorization: Bearer <token>`. Used only by the /v1/provider/keys endpoints to mint, list, or revoke oracle api-keys.'