PredictAsiaX Auth API

The Auth API from PredictAsiaX — 6 operation(s) for auth.

GitHub OpenAPI

Operations 7

POST /v1/builders/me/2fa/enroll Begin 2FA enrollment (TOTP seed) #
POST /v1/builders/me/2fa/verify Verify 2FA enrollment code #
GET /v1/builders/me/2fa 2FA status (enrolled, backup codes remaining) #
DELETE /v1/builders/me/2fa Disable 2FA (requires fresh code) #
POST /v1/builders/me/password Change builder password #
GET /v1/builders/me/sessions List active sessions #
POST /v1/builders/me/sessions/revoke-others Revoke all sessions except current #

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-auth-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-auth-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: PredictAsiaX Network Auth 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: Auth
paths:
  /v1/builders/me/2fa/enroll:
    post:
      tags:
      - Auth
      summary: Begin 2FA enrollment (TOTP seed)
      description: Starts TOTP enrollment and returns the seed plus one-time recovery codes. If 2FA is already active, replacing it requires the current 6-digit code as `code` or a `recovery_code`. Withdrawals stay locked for 24h after a factor is activated or replaced.
      requestBody:
        content:
          application/json:
            schema:
              type: object
      responses:
        '200':
          description: OK
      operationId: postV1BuildersMe2faEnroll
      x-operation-id-source: derived
  /v1/builders/me/2fa/verify:
    post:
      tags:
      - Auth
      summary: Verify 2FA enrollment code
      requestBody:
        content:
          application/json:
            schema:
              type: object
      responses:
        '200':
          description: OK
      operationId: postV1BuildersMe2faVerify
      x-operation-id-source: derived
  /v1/builders/me/2fa:
    get:
      tags:
      - Auth
      summary: 2FA status (enrolled, backup codes remaining)
      responses:
        '200':
          description: OK
      operationId: getV1BuildersMe2fa
      x-operation-id-source: derived
    delete:
      tags:
      - Auth
      summary: Disable 2FA (requires fresh code)
      responses:
        '200':
          description: OK
      operationId: deleteV1BuildersMe2fa
      x-operation-id-source: derived
  /v1/builders/me/password:
    post:
      tags:
      - Auth
      summary: Change builder password
      requestBody:
        content:
          application/json:
            schema:
              type: object
      responses:
        '200':
          description: OK
      operationId: postV1BuildersMePassword
      x-operation-id-source: derived
  /v1/builders/me/sessions:
    get:
      tags:
      - Auth
      summary: List active sessions
      responses:
        '200':
          description: OK
      operationId: getV1BuildersMeSessions
      x-operation-id-source: derived
  /v1/builders/me/sessions/revoke-others:
    post:
      tags:
      - Auth
      summary: Revoke all sessions except current
      responses:
        '200':
          description: OK
      operationId: postV1BuildersMeSessionsRevokeOthers
      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.'