PredictAsiaX Sandbox API

Self-serve sandbox key mint + Builder track applications. Sandbox is a tier on production API (tier=sandbox), not a separate host — keys minted here are sk_live_ prefixed with $10/order + $100/day hard caps. A Builder application is a different mint — it returns tier=self_serve with $100/order + $1,000/day.

GitHub OpenAPI

Operations 5

POST /v1/sandbox-keys Mint a self-serve sandbox API key (anonymous, 30 sec, no email) #
POST /v1/apply Apply for a Builder track (Genesis, RFB, self-serve) #
GET /v1/apply/{ba_id} Check application status #
POST /v1/access-requests Submit access-request for a gated feature #
GET /v1/access-requests/{req_id} Poll access-request status #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/predictasiax-com:predictasiax-com-sandbox-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

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.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

predictasiax-com-sandbox-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: PredictAsiaX Network Sandbox 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: Sandbox
  description: Self-serve sandbox key mint + Builder track applications. Sandbox is a tier on production API (tier=sandbox), not a separate host — keys minted here are sk_live_ prefixed with $10/order + $100/day hard caps. A Builder application is a different mint — it returns tier=self_serve with $100/order + $1,000/day.
paths:
  /v1/sandbox-keys:
    post:
      tags:
      - Sandbox
      summary: Mint a self-serve sandbox API key (anonymous, 30 sec, no email)
      description: 'Returns an `sk_live_*` bearer tagged `tier=sandbox` with $10 per-order

        and $100 daily notional caps enforced at fill time. Quota: 1 mint / IP /

        day AND 1 mint / browser fingerprint / day — both must clear. Key valid for 30 days.'
      requestBody:
        required: false
        content:
          application/json:
            schema:
              type: object
              properties:
                org_name:
                  type: string
                  maxLength: 100
                  default: Sandbox Builder
                  example: my-test
                contact_handle:
                  type: string
                  maxLength: 100
                  nullable: true
      responses:
        '200':
          description: Sandbox key minted (`sk` is shown ONCE and is not recoverable)
          content:
            application/json:
              schema:
                allOf:
                - $ref: '#/components/schemas/Envelope'
                - type: object
                  properties:
                    data:
                      type: object
                      properties:
                        sk:
                          type: string
                          description: The bearer secret. Shown once, never retrievable again.
                          example: REDACTED_STRIPE_KEY_12b638913cadfbbd...
                        api_key_id:
                          type: string
                          example: api_sbx_9f2c41be70a3
                        builder_id:
                          type: string
                          example: bld_sbx_9f2c41be70a3
                        app_id:
                          type: string
                          example: app_sbx_9f2c41be70a3
                        tier:
                          $ref: '#/components/schemas/BuilderTier'
                        caps:
                          type: object
                          description: Decimal strings, not numbers.
                          properties:
                            max_order_usdt:
                              type: string
                              example: '10'
                            daily_notional_usdt:
                              type: string
                              example: '100'
                        expires_at_ms:
                          type: integer
                          description: Mint time + 30 days, epoch milliseconds.
                        sandbox_url:
                          type: string
                          example: https://api.predictasiax.com
                        docs_url:
                          type: string
                        upgrade_url:
                          type: string
                        notice:
                          type: string
        '429':
          description: TOO_MANY_REQUESTS — the 1/IP/day or 1/fingerprint/day mint quota is exhausted
      operationId: postV1SandboxKeys
      x-operation-id-source: derived
  /v1/apply:
    post:
      tags:
      - Sandbox
      summary: Apply for a Builder track (Genesis, RFB, self-serve)
      description: 'Auto-provisions a live `sk_live_*` key on submit for all 20 tracks, including

        `genesis` and `institutional` — there is no reviewed-track branch and no human-review

        queue. The 200 body carries `status: "approved"`, `auto_provisioned: true`, the key

        (returned ONCE), and `tier: "self_serve"` with $100/order + $1,000/day caps. Capability

        is lifted afterwards by the automatic volume ladder, never at application time.

        Rate-limited 5/hour/IP. Poll the stored record via GET /v1/apply/{code}.'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - track
              properties:
                track:
                  type: string
                  example: genesis
                  description: genesis, self_serve, rfb-japan-app, rfb-ai-agent, data, app, agent, distribution, market, liquidity, oracle, reviewer, operator, institutional
                email:
                  type: string
                  format: email
                  nullable: true
                org:
                  type: string
                  nullable: true
                url:
                  type: string
                  nullable: true
                description:
                  type: string
                  maxLength: 4096
                  nullable: true
      responses:
        '200':
          description: Application accepted — every track auto-provisions, so the body always carries api_key
      operationId: postV1Apply
      x-operation-id-source: derived
  /v1/apply/{ba_id}:
    get:
      tags:
      - Sandbox
      summary: Check application status
      description: 'Public, no auth. Looks up the application by the `application_code` returned from POST /v1/apply. Because every track auto-provisions, an application is already `approved` by the time this code exists — poll it to confirm receipt or to recover the track and timestamps, not to wait on a decision. The API key itself is returned only once, in the POST response, and is never re-exposed here. Rate limit: 30 / hour / IP.'
      parameters:
      - name: ba_id
        in: path
        required: true
        description: 'The `application_code` from POST /v1/apply. Format: `ba_` + 18 hex characters.'
        schema:
          type: string
          pattern: ^ba_[0-9a-zA-Z]{6,32}$
          example: ba_3f90a1c4e7b25d8f06
      responses:
        '200':
          description: Application status
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: object
                    properties:
                      application_code:
                        type: string
                        example: ba_3f90a1c4e7b25d8f06
                      status:
                        type: string
                        description: POST /v1/apply always writes `approved` - this path has no intake triage and rejects nothing at submit. `rejected` appears only if an operator rejects the record afterwards, and the applicant may submit again immediately. `withdrawn` appears only on legacy rows - no current code path writes it.
                        enum:
                        - approved
                        - rejected
                        - withdrawn
                        example: approved
                      track:
                        type: string
                        nullable: true
                        description: Track the application was filed under, recovered from the stored application metadata.
                        example: agent
                      submitted_at_ms:
                        type: integer
                        format: int64
                      approved_at_ms:
                        type: integer
                        format: int64
                        nullable: true
                      rejected_at_ms:
                        type: integer
                        format: int64
                        nullable: true
                      next_step:
                        type: string
                        description: Human-readable hint for the current status. Empty string if the status has no hint.
                        example: Approved — your API key was returned once, in the POST /v1/apply response.
        '404':
          description: NOT_FOUND — no application with that code.
      operationId: getV1ApplyByBaId
      x-operation-id-source: derived
  /v1/access-requests:
    post:
      tags:
      - Sandbox
      summary: Submit access-request for a gated feature
      requestBody:
        content:
          application/json:
            schema:
              type: object
      responses:
        '200':
          description: OK
      operationId: postV1AccessRequests
      x-operation-id-source: derived
  /v1/access-requests/{req_id}:
    get:
      tags:
      - Sandbox
      summary: Poll access-request status
      description: 'Public, no auth. Returns the coarse status and a next-steps hint for a request filed through POST /v1/access-requests. Deliberately omits admin notes, reject reason, and any echo of `contact_handle`, so a guessed `req_` id leaks nothing about who applied. Rate limit: 30 / hour / IP.'
      parameters:
      - name: req_id
        in: path
        required: true
        description: 'The `request_id` from POST /v1/access-requests. Format: `req_` + hex.'
        schema:
          type: string
          pattern: ^req_[0-9a-zA-Z]{6,20}$
          example: req_7c1e4a9b2d60
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: object
                    properties:
                      request_id:
                        type: string
                        example: req_7c1e4a9b2d60
                      status:
                        type: string
                        description: 'Intake triage resolves a request on submit, so it is already decided by the time you can poll it: `approved` (auto-provisioned) or `rejected`. An operator can also approve or reject a request afterwards. `withdrawn` appears only on legacy rows - no current code path writes it.'
                        enum:
                        - approved
                        - rejected
                        - withdrawn
                        example: approved
                      submitted_at_ms:
                        type: integer
                        format: int64
                      approved_at_ms:
                        type: integer
                        format: int64
                        nullable: true
                      rejected_at_ms:
                        type: integer
                        format: int64
                        nullable: true
                      next_steps:
                        type: string
                        description: Human-readable hint for the current status. Empty string if the status has no hint.
                        example: Not approved at this time. You may re-apply with the same contact handle after 30 days.
        '404':
          description: NOT_FOUND — no access request with that id.
      operationId: getV1AccessRequestsByReqId
      x-operation-id-source: derived
components:
  schemas:
    Envelope:
      type: object
      required:
      - data
      - meta
      properties:
        data: {}
        meta:
          type: object
          required:
          - ts_ms
          - trace_id
          properties:
            ts_ms:
              type: integer
            trace_id:
              type: string
            request_id:
              type: string
            is_simulated:
              type: boolean
    BuilderTier:
      type: string
      enum:
      - sandbox
      - self_serve
      - read_live
      - trade_capped
      - trade_full
      - genesis
      - partner
      example: self_serve
      description: 'Progressive-trust tier controlling per-order + daily notional caps. Request rate limits are identical at every tier — a tier only lifts notional ceilings. The figures below are the tier default caps (`TIER_DEFAULT_CAPS`); an explicit `max_order_usdt` / `notional_cap_usdt_per_day` on the key row takes precedence. Graduation thresholds are 30-day attributed trading volume:

        - `sandbox` — $10/order + $100/day. Minted by `POST /v1/sandbox-keys` (anonymous, no review, 30-day key expiry).

        - `self_serve` — $100/order + $1,000/day.

        - `read_live` — read-only: an order attempt returns `TIER_UPGRADE_REQUIRED`. Auto-graduated at $100 30d volume.

        - `trade_capped` — $100/order + $1,000/day. Auto-graduated at $1,000 30d volume.

        - `trade_full` — uncapped notional. Auto-graduated at $10,000 30d volume.

        - `genesis` — uncapped notional. Rank overlay: auto-granted to the top 20 builders by 30-day attributed volume (dedicated $50,000 floor), auto-revoked on exit past a 5-slot hysteresis band. Never an application destination.

        - `partner` — uncapped notional. Auto-graduated at $1,000,000 30d volume; no signed agreement (`institutional` is only an application label on this same automatic ladder).


        Every rung carries `admin_signoff: false`. The auto-graduation cron ceiling defaults to `partner` (env `BUILDER_AUTO_GRADUATION_MAX_TIER`); the `sandbox` value remains accepted by all backend routes for backward compatibility.'
  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.'