PredictAsiaX Liquidity API

MM quotes + RFQ + incentive scoring

GitHub OpenAPI

Operations 30

POST /v1/orders Submit order (may include on_behalf_of + signature headers) #
POST /v1/orders/batch Place multiple orders in one request (v2.1+, up to 25) #
POST /v1/mm/quote Post an MM quote #
POST /v1/rfq Submit RFQ #
POST /v1/rfq/{id}/quotes MM responds to an RFQ with a firm quote (canonical, plural) #
GET /v1/mm/quotes Live MM quotes for a market #
POST /v1/mm/quotes Publish an MM quote (canonical, plural) #
GET /v1/liquidity/leaderboard MM leaderboard by LQF score #
POST /v1/mm/designation-request Submit MM designation application #
GET /v1/mm/designation-status Check MM designation application status #
GET /v1/mm/stipend/estimate Estimate MM stipend accrual #
GET /v1/mm/stipend/history MM stipend payout history #
GET /v1/rfq/{id} Get RFQ + all quotes #
POST /v1/rfq/{id}/accept Accept an RFQ quote #
GET /v1/combo/rfq/{quote_req_id} Get combo RFQ by ID #
GET /v1/lqf/config LQF global config (base/floor/ceiling/rebate bps) #
GET /v1/lqf/config/{market_id} LQF per-market config overrides #
GET /v1/lqf/leaderboard LQF leaderboard by score #
GET /v1/lqf/mma-tier MM tier bands and thresholds #
GET /v1/lqf/pool/{market_id} LQF rebate pool state for a market #
POST /v1/combo/rfq Submit combo (parlay) RFQ #
GET /v1/mm/me/inventory MM inventory across all markets #
GET /v1/mm/me/inventory/{marketId} MM inventory for a specific market #
GET /v1/mm/me/lp-positions MM LP positions #
GET /v1/mm/me/rebates MM accrued rebate history #
GET /v1/mm/me/risk-limits MM risk limits (notional/per-market caps) #
PUT /v1/mm/me/risk-limits Update MM risk limits #
GET /v1/mm/status MM designation status + obligation metrics #
GET /v1/mm/quotes/{id} Live MM quotes for a market #
DELETE /v1/mm/quotes/{id} Cancel your MM quote #

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-liquidity-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-liquidity-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: PredictAsiaX Network Liquidity 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: Liquidity
  description: MM quotes + RFQ + incentive scoring
paths:
  /v1/orders:
    post:
      tags:
      - Liquidity
      summary: Submit order (may include on_behalf_of + signature headers)
      parameters:
      - name: Idempotency-Key
        in: header
        required: true
        schema:
          type: string
      - name: X-PAX-Order-Sig
        in: header
        required: false
        schema:
          type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/OrderIntent'
      responses:
        '200':
          description: OK
      operationId: postV1Orders
      x-operation-id-source: derived
  /v1/orders/batch:
    post:
      tags:
      - Liquidity
      summary: Place multiple orders in one request (v2.1+, up to 25)
      description: 'Sequential order processing (single-writer per market). Returns per-item

        `results` + `summary`. One bad order does not fail the whole batch —

        inspect `results[i].ok` per item. Cap env-tunable server-side

        (`BATCH_ORDERS_MAX`, default 25); exceeding returns `413 BATCH_TOO_LARGE`.'
      parameters:
      - name: Idempotency-Key
        in: header
        required: true
        schema:
          type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - orders
              properties:
                orders:
                  type: array
                  minItems: 1
                  maxItems: 25
                  items:
                    $ref: '#/components/schemas/OrderIntent'
      responses:
        '200':
          description: Batch processed (inspect per-item results)
        '413':
          description: BATCH_TOO_LARGE
      operationId: postV1OrdersBatch
      x-operation-id-source: derived
  /v1/mm/quote:
    post:
      tags:
      - Liquidity
      summary: Post an MM quote
      parameters:
      - name: Idempotency-Key
        in: header
        required: false
        schema:
          type: string
          pattern: ^[A-Za-z0-9_\-]{8,128}$
        description: 'Optional. Backend accepts POST without this header for this endpoint (only POST /v1/orders and POST /v1/orders/batch strictly enforce). Portal SDKs auto-inject a UUID for safe retry. Format: [A-Za-z0-9_\-]{8,128}.'
      responses:
        '200':
          description: OK
      operationId: postV1MmQuote
      x-operation-id-source: derived
  /v1/rfq:
    post:
      tags:
      - Liquidity
      summary: Submit RFQ
      parameters:
      - name: Idempotency-Key
        in: header
        required: false
        schema:
          type: string
          pattern: ^[A-Za-z0-9_\-]{8,128}$
        description: 'Optional. Backend accepts POST without this header for this endpoint (only POST /v1/orders and POST /v1/orders/batch strictly enforce). Portal SDKs auto-inject a UUID for safe retry. Format: [A-Za-z0-9_\-]{8,128}.'
      responses:
        '200':
          description: OK
      operationId: postV1Rfq
      x-operation-id-source: derived
  /v1/rfq/{id}/quotes:
    post:
      tags:
      - Liquidity
      summary: MM responds to an RFQ with a firm quote (canonical, plural)
      parameters:
      - name: id
        in: path
        required: true
        schema:
          $ref: '#/components/schemas/Id'
      responses:
        '200':
          description: OK
      operationId: postV1RfqByIdQuotes
      x-operation-id-source: derived
  /v1/mm/quotes:
    get:
      tags:
      - Liquidity
      summary: Live MM quotes for a market
      parameters:
      - name: market_id
        in: query
        required: true
        schema:
          type: string
      responses:
        '200':
          description: OK
      operationId: getV1MmQuotes
      x-operation-id-source: derived
    post:
      tags:
      - Liquidity
      summary: Publish an MM quote (canonical, plural)
      description: The canonical publish endpoint. `POST /v1/mm/quote` is retained as a singular alias for backward compatibility.
      parameters:
      - name: Idempotency-Key
        in: header
        required: true
        schema:
          type: string
          pattern: ^[A-Za-z0-9_-]{8,128}$
      responses:
        '200':
          description: OK
        '401':
          description: AUTH_REQUIRED
      operationId: postV1MmQuotes
      x-operation-id-source: derived
  /v1/liquidity/leaderboard:
    get:
      tags:
      - Liquidity
      summary: MM leaderboard by LQF score
      responses:
        '200':
          description: OK
      operationId: getV1LiquidityLeaderboard
      x-operation-id-source: derived
  /v1/mm/designation-request:
    post:
      tags:
      - Liquidity
      summary: Submit MM designation application
      requestBody:
        content:
          application/json:
            schema:
              type: object
      responses:
        '200':
          description: OK
      operationId: postV1MmDesignationRequest
      x-operation-id-source: derived
  /v1/mm/designation-status:
    get:
      tags:
      - Liquidity
      summary: Check MM designation application status
      responses:
        '200':
          description: OK
      operationId: getV1MmDesignationStatus
      x-operation-id-source: derived
  /v1/mm/stipend/estimate:
    get:
      tags:
      - Liquidity
      summary: Estimate MM stipend accrual
      responses:
        '200':
          description: OK
      operationId: getV1MmStipendEstimate
      x-operation-id-source: derived
  /v1/mm/stipend/history:
    get:
      tags:
      - Liquidity
      summary: MM stipend payout history
      responses:
        '200':
          description: OK
      operationId: getV1MmStipendHistory
      x-operation-id-source: derived
  /v1/rfq/{id}:
    get:
      tags:
      - Liquidity
      summary: Get RFQ + all quotes
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: OK
      security:
      - BearerAuth:
        - portfolio:read
      - ApiKeyAuth:
        - portfolio:read
      operationId: getV1RfqById
      x-operation-id-source: derived
  /v1/rfq/{id}/accept:
    post:
      tags:
      - Liquidity
      summary: Accept an RFQ quote
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              type: object
      responses:
        '200':
          description: OK
      security:
      - BearerAuth:
        - orders:create
      - ApiKeyAuth:
        - orders:create
      operationId: postV1RfqByIdAccept
      x-operation-id-source: derived
  /v1/combo/rfq/{quote_req_id}:
    get:
      tags:
      - Liquidity
      summary: Get combo RFQ by ID
      parameters:
      - name: quote_req_id
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: OK
      operationId: getV1ComboRfqByQuoteReqId
      x-operation-id-source: derived
  /v1/lqf/config:
    get:
      tags:
      - Liquidity
      summary: LQF global config (base/floor/ceiling/rebate bps)
      responses:
        '200':
          description: OK
      operationId: getV1LqfConfig
      x-operation-id-source: derived
  /v1/lqf/config/{market_id}:
    get:
      tags:
      - Liquidity
      summary: LQF per-market config overrides
      parameters:
      - name: market_id
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: OK
      operationId: getV1LqfConfigByMarketId
      x-operation-id-source: derived
  /v1/lqf/leaderboard:
    get:
      tags:
      - Liquidity
      summary: LQF leaderboard by score
      responses:
        '200':
          description: OK
      operationId: getV1LqfLeaderboard
      x-operation-id-source: derived
  /v1/lqf/mma-tier:
    get:
      tags:
      - Liquidity
      summary: MM tier bands and thresholds
      responses:
        '200':
          description: OK
      operationId: getV1LqfMmaTier
      x-operation-id-source: derived
  /v1/lqf/pool/{market_id}:
    get:
      tags:
      - Liquidity
      summary: LQF rebate pool state for a market
      parameters:
      - name: market_id
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: OK
      operationId: getV1LqfPoolByMarketId
      x-operation-id-source: derived
  /v1/combo/rfq:
    post:
      tags:
      - Liquidity
      summary: Submit combo (parlay) RFQ
      requestBody:
        content:
          application/json:
            schema:
              type: object
      responses:
        '200':
          description: OK
      security:
      - BearerAuth:
        - orders:create
      - ApiKeyAuth:
        - orders:create
      operationId: postV1ComboRfq
      x-operation-id-source: derived
  /v1/mm/me/inventory:
    get:
      tags:
      - Liquidity
      summary: MM inventory across all markets
      responses:
        '200':
          description: OK
      security:
      - BearerAuth:
        - portfolio:read
      - ApiKeyAuth:
        - portfolio:read
      operationId: getV1MmMeInventory
      x-operation-id-source: derived
  /v1/mm/me/inventory/{marketId}:
    get:
      tags:
      - Liquidity
      summary: MM inventory for a specific market
      parameters:
      - name: marketId
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: OK
      security:
      - BearerAuth:
        - portfolio:read
      - ApiKeyAuth:
        - portfolio:read
      operationId: getV1MmMeInventoryByMarketId
      x-operation-id-source: derived
  /v1/mm/me/lp-positions:
    get:
      tags:
      - Liquidity
      summary: MM LP positions
      responses:
        '200':
          description: OK
      security:
      - BearerAuth:
        - portfolio:read
      - ApiKeyAuth:
        - portfolio:read
      operationId: getV1MmMeLpPositions
      x-operation-id-source: derived
  /v1/mm/me/rebates:
    get:
      tags:
      - Liquidity
      summary: MM accrued rebate history
      responses:
        '200':
          description: OK
      security:
      - BearerAuth:
        - portfolio:read
      - ApiKeyAuth:
        - portfolio:read
      operationId: getV1MmMeRebates
      x-operation-id-source: derived
  /v1/mm/me/risk-limits:
    get:
      tags:
      - Liquidity
      summary: MM risk limits (notional/per-market caps)
      responses:
        '200':
          description: OK
      security:
      - BearerAuth:
        - portfolio:read
      - ApiKeyAuth:
        - portfolio:read
      operationId: getV1MmMeRiskLimits
      x-operation-id-source: derived
    put:
      tags:
      - Liquidity
      summary: Update MM risk limits
      requestBody:
        content:
          application/json:
            schema:
              type: object
      responses:
        '200':
          description: OK
      security:
      - BearerAuth:
        - subaccounts:manage
      - ApiKeyAuth:
        - subaccounts:manage
      operationId: putV1MmMeRiskLimits
      x-operation-id-source: derived
  /v1/mm/status:
    get:
      tags:
      - Liquidity
      summary: MM designation status + obligation metrics
      responses:
        '200':
          description: OK
      security:
      - BearerAuth:
        - portfolio:read
      - ApiKeyAuth:
        - portfolio:read
      operationId: getV1MmStatus
      x-operation-id-source: derived
  /v1/mm/quotes/{id}:
    get:
      tags:
      - Liquidity
      summary: Live MM quotes for a market
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
        description: Market id/URN whose live MM quotes to return.
      responses:
        '200':
          description: OK
      security:
      - BearerAuth:
        - portfolio:read
      - ApiKeyAuth:
        - portfolio:read
      operationId: getV1MmQuotesById
      x-operation-id-source: derived
    delete:
      tags:
      - Liquidity
      summary: Cancel your MM quote
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
        description: MM quote id to cancel (e.g. qt_xxxxxxxx).
      responses:
        '200':
          description: OK
      security:
      - BearerAuth:
        - builder:apps:write
      - ApiKeyAuth:
        - builder:apps:write
      operationId: deleteV1MmQuotesById
      x-operation-id-source: derived
components:
  schemas:
    Id:
      type: string
      pattern: ^[a-z]{2,4}_[0-9a-zA-Z]{12}$
      example: bld_abc123def456
    Money:
      type: string
      description: Decimal string with up to 6 fractional digits
      example: '1234.5678'
    OrderIntent:
      type: object
      required:
      - user_id
      - market_id
      - side
      - price
      - size
      - client_order_id
      - execution_builder_id
      - app_id
      - attribution_version
      properties:
        user_id:
          $ref: '#/components/schemas/Id'
        subaccount_id:
          $ref: '#/components/schemas/Id'
        market_id:
          $ref: '#/components/schemas/URN'
        side:
          type: string
          enum:
          - 'yes'
          - 'no'
          - buy
          - sell
          description: Trade side. `yes`/`no` picks the outcome; `buy`/`sell` picks the action against the current outcome. Both forms accepted for backward compatibility (see apps/api/src/index.ts validate).
        price:
          $ref: '#/components/schemas/Money'
        size:
          $ref: '#/components/schemas/Money'
        client_order_id:
          type: string
        execution_builder_id:
          $ref: '#/components/schemas/Id'
        app_id:
          $ref: '#/components/schemas/Id'
        campaign_id:
          type: string
        attribution_version:
          type: integer
          minimum: 1
        builder_fee_bps:
          type: integer
          minimum: 0
          maximum: 10000
        expires_at_ms:
          type: integer
    URN:
      type: string
      pattern: ^pax:[a-z]+:[a-z0-9][a-z0-9:-]*$
      example: pax:market:btc-above-150k-20261231
  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.'