Downloads

Machine-readable specs + Postman collection. Codegen your own SDK, or import into any HTTP tool.

OpenAPI 3.1 (REST)

Complete REST specification — 18 endpoints across Discovery, Market Data, Account, Trading, Sandbox, Keys. Codegen with openapi-generator (50+ target languages).

FormatFileSizeUse
YAML openapi.yaml 30 KB Human-readable, easy diff
JSON openapi.json 48 KB Redoc / Swagger UI / codegen tools
# Codegen Python client
openapi-generator generate -i https://docs.predictasiax.com/downloads/openapi.json -g python -o pax-python-client

# Codegen TypeScript axios client
openapi-generator generate -i https://docs.predictasiax.com/downloads/openapi.json -g typescript-axios -o pax-ts-client

# Codegen Go client
openapi-generator generate -i https://docs.predictasiax.com/downloads/openapi.json -g go -o pax-go-client

AsyncAPI 2.6 (WebSocket)

Complete WebSocket specification — 48 event types (5 meta, 9 market data, 4 fast round, 6 signals/AI, 12 account private, 6 security, 8 ops public, 3 admin) + 4 client methods (SUBSCRIBE / UNSUBSCRIBE / AUTH / LOCALE).

FormatFileSizeUse
YAML asyncapi.yaml 24 KB Human-readable, easy diff
JSON asyncapi.json 34 KB AsyncAPI Studio, codegen tools
# Codegen Node.js WebSocket client from AsyncAPI
npm i -g @asyncapi/generator
ag https://docs.predictasiax.com/downloads/asyncapi.json @asyncapi/nodejs-ws-template -o pax-ws-client

Postman Collection

Ready-to-import collection with all endpoints pre-configured. Includes 2 environments (sandbox + production) with placeholder variables — fill in your key and go.

FilePurposeSize
postman.json Collection — all 18 REST endpoints + example bodies 220 KB
pax-sandbox.postman_environment.json Sandbox environment — baseUrl, apiKey, HMAC secrets <1 KB
pax-production.postman_environment.json Production environment — same structure, prod URLs <1 KB

Import into Postman

  1. Open Postman → Import (top-left).
  2. Drag all 3 files (collection + 2 environments), or paste the URLs:
    https://docs.predictasiax.com/downloads/postman.json
    https://docs.predictasiax.com/downloads/pax-sandbox.postman_environment.json
    https://docs.predictasiax.com/downloads/pax-production.postman_environment.json
  3. Top-right environment selector → pick PAX Sandbox.
  4. Environment tab → fill in apiKey = your sk_test_* key. Save.
  5. Open any request → hit Send. Done.
Postman → cURL: After configuring a request in Postman, click the Code button (top-right of request panel) to copy the equivalent cURL, Python, Node, or Go snippet.

SDKs (coming)

Native SDKs are on the roadmap for v1.1 (Q4 2026). Meanwhile use openapi-generator (above) or hand-roll REST clients — the API is intentionally simple to consume without SDK.

LanguagePackageStatus
Pythonpax-api (pypi.org, coming)Q4 2026
TypeScript / JavaScript@predictasiax/api (npmjs.com, coming)Q4 2026
GoCodegen only for now2027
RustCodegen only for now2027

Mock server (Prism)

Spin up a local mock server against the OpenAPI spec for offline development:

npm i -g @stoplight/prism-cli
prism mock https://docs.predictasiax.com/downloads/openapi.json
# → mock server on http://localhost:4010

Prism generates fake responses per the OpenAPI examples — great for CI or client development before sandbox access is provisioned.