PredictAsiaX · Schema

OrderIntent

Prediction-MarketMulti-ChainTradingCryptocurrencyFinanceSportsTechnologyEntertainment

Properties

Name Type Description
user_id object
subaccount_id object
market_id object
side string 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 object
size object
client_order_id string
execution_builder_id object
app_id object
campaign_id string
attribution_version integer
builder_fee_bps integer
expires_at_ms integer
View JSON Schema on GitHub

JSON Schema

predictasiax-com-order-intent-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/predictasiax-com/json-schema/predictasiax-com-order-intent-schema.json",
  "title": "OrderIntent",
  "x-generated": "2026-11-21",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/predictasiax-com-openapi.yml#/components/schemas/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": "#/$defs/Id"
    },
    "subaccount_id": {
      "$ref": "#/$defs/Id"
    },
    "market_id": {
      "$ref": "#/$defs/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": "#/$defs/Money"
    },
    "size": {
      "$ref": "#/$defs/Money"
    },
    "client_order_id": {
      "type": "string"
    },
    "execution_builder_id": {
      "$ref": "#/$defs/Id"
    },
    "app_id": {
      "$ref": "#/$defs/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"
    }
  },
  "$defs": {
    "Id": {
      "type": "string",
      "pattern": "^[a-z]{2,4}_[0-9a-zA-Z]{12}$"
    },
    "Money": {
      "type": "string",
      "description": "Decimal string with up to 6 fractional digits"
    },
    "URN": {
      "type": "string",
      "pattern": "^pax:[a-z]+:[a-z0-9][a-z0-9:-]*$"
    }
  }
}

Work with this as data

Every JSON Schema 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 schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • 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 JSON Schema
curl "https://apis.io/api/v1/json-schemas/predictasiax-com-order-intent"
All schemas
curl "https://apis.io/api/v1/json-schemas?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.