Machine-readable specs + Postman collection. Codegen your own SDK, or import into any HTTP tool.
Complete REST specification — 18 endpoints across Discovery, Market Data, Account, Trading, Sandbox, Keys. Codegen with openapi-generator (50+ target languages).
| Format | File | Size | Use |
|---|---|---|---|
| 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
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).
| Format | File | Size | Use |
|---|---|---|---|
| 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
Ready-to-import collection with all endpoints pre-configured. Includes 2 environments (sandbox + production) with placeholder variables — fill in your key and go.
| File | Purpose | Size |
|---|---|---|
| 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 |
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
apiKey = your sk_test_* key. Save.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.
| Language | Package | Status |
|---|---|---|
| Python | pax-api (pypi.org, coming) | Q4 2026 |
| TypeScript / JavaScript | @predictasiax/api (npmjs.com, coming) | Q4 2026 |
| Go | Codegen only for now | 2027 |
| Rust | Codegen only for now | 2027 |
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.