Paradex · Schema

requests.BlockTradeRequest

CompanyCryptocurrencyExchangeDerivativesTradingPerpetual FuturesDeFiWebSocketMCP

Properties

Name Type Description
block_expiration integer Unix timestamp in milliseconds when block expires
nonce string Unique nonce for this block trade request
required_signers array List of accounts that can participate in the block trade
signatures object Map of account addresses to their signatures. Can be empty or partial.
trades object Map of market symbol to trade info (one per market)
View JSON Schema on GitHub

JSON Schema

paradex-requests-block-trade-request-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/paradex/json-schema/paradex-requests-block-trade-request-schema.json",
  "title": "requests.BlockTradeRequest",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/paradex-blocktrades-api-openapi.yml#/components/schemas/requests.BlockTradeRequest",
  "type": "object",
  "required": [
    "block_expiration",
    "nonce",
    "required_signers",
    "signatures",
    "trades"
  ],
  "properties": {
    "block_expiration": {
      "description": "Unix timestamp in milliseconds when block expires",
      "type": "integer"
    },
    "nonce": {
      "description": "Unique nonce for this block trade request",
      "type": "string"
    },
    "required_signers": {
      "description": "List of accounts that can participate in the block trade",
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "signatures": {
      "description": "Map of account addresses to their signatures. Can be empty or partial.",
      "type": "object",
      "additionalProperties": {
        "$ref": "#/$defs/responses.BlockTradeSignature"
      }
    },
    "trades": {
      "description": "Map of market symbol to trade info (one per market)",
      "type": "object",
      "additionalProperties": {
        "$ref": "#/$defs/requests.BlockTradeInfo"
      }
    }
  },
  "$defs": {
    "requests.BlockTradeInfo": {
      "type": "object",
      "properties": {
        "maker_order": {
          "description": "Maker order details (empty if requiring offers)",
          "allOf": [
            {
              "$ref": "#/$defs/responses.BlockTradeOrder"
            }
          ]
        },
        "price": {
          "description": "Agreed price for this trade. Required when both maker_order and taker_order are set, may be empty on a trade requiring offers",
          "type": "string"
        },
        "size": {
          "description": "Agreed size for this trade. Required when both maker_order and taker_order are set, may be empty on a trade requiring offers",
          "type": "string"
        },
        "taker_order": {
          "description": "Taker order details (empty if requiring offers)",
          "allOf": [
            {
              "$ref": "#/$defs/responses.BlockTradeOrder"
            }
          ]
        },
        "trade_constraints": {
          "description": "Constraints for this trade when requiring offers",
          "allOf": [
            {
              "$ref": "#/$defs/responses.BlockTradeConstraints"
            }
          ]
        }
      }
    },
    "responses.BlockTradeConstraints": {
      "type": "object",
      "properties": {
        "max_price": {
          "description": "Maximum price allowed",
          "type": "string"
        },
        "max_size": {
          "description": "Maximum trade size allowed",
          "type": "string"
        },
        "min_price": {
          "description": "Minimum price allowed",
          "type": "string"
        },
        "min_size": {
          "description": "Minimum trade size allowed",
          "type": "string"
        }
      }
    },
    "responses.BlockTradeOrder": {
      "type": "object",
      "required": [
        "side",
        "type"
      ],
      "properties": {
        "account": {
          "description": "Paradex account address of the order owner",
          "type": "string"
        },
        "client_id": {
          "description": "Client-provided identifier",
          "type": "string"
        },
        "flags": {
          "description": "Order flags. Requests may set only REDUCE_ONLY; MMP is set from the owner's protect_block_trades config. Returned only to the leg's owner",
          "type": "array",
          "items": {
            "$ref": "#/$defs/responses.OrderFlag"
          }
        },
        "market": {
          "description": "Trading pair for this order",
          "type": "string"
        },
        "price": {
          "description": "Order price (omitted for market orders)",
          "type": "string"
        },
        "side": {
          "description": "Order side",
          "allOf": [
            {
              "$ref": "#/$defs/responses.OrderSide"
            }
          ]
        },
        "signature": {
          "description": "Order signature",
          "type": "string"
        },
        "signature_timestamp": {
          "description": "Ignored on requests. In responses, the signature_timestamp the leg's account sent with its block signature (client-reported, not signed); omitted when 0",
          "type": "integer"
        },
        "size": {
          "description": "Order size",
          "type": "string"
        },
        "type": {
          "description": "Order type",
          "allOf": [
            {
              "$ref": "#/$defs/responses.OrderType"
            }
          ]
        }
      }
    },
    "responses.BlockTradeSignature": {
      "type": "object",
      "required": [
        "nonce",
        "signature_data",
        "signature_expiration",
        "signature_timestamp",
        "signature_type",
        "signer_account"
      ],
      "properties": {
        "nonce": {
          "description": "Unique nonce to prevent replay attacks",
          "type": "string"
        },
        "signature_data": {
          "description": "Order signature in as a string \"[r,s]\" signed by account's paradex private key",
          "type": "string"
        },
        "signature_expiration": {
          "description": "Unix timestamp in milliseconds when signature expires",
          "type": "integer"
        },
        "signature_timestamp": {
          "description": "Unix timestamp in milliseconds when signature was created",
          "type": "integer"
        },
        "signature_type": {
          "description": "Type of cryptographic signature used",
          "type": "string",
          "enum": [
            "STARKNET"
          ]
        },
        "signer_account": {
          "description": "Paradex account address of the signer",
          "type": "string"
        },
        "signer_public_key": {
          "description": "Hex pubkey used to sign (main account key or active subkey). Empty defaults to account main key.",
          "type": "string"
        }
      }
    },
    "responses.OrderFlag": {
      "type": "string",
      "enum": [
        "REDUCE_ONLY",
        "STOP_CONDITION_BELOW_TRIGGER",
        "STOP_CONDITION_ABOVE_TRIGGER",
        "INTERACTIVE",
        "TARGET_STRATEGY_VWAP",
        "MMP"
      ],
      "x-enum-varnames": [
        "FlagsReduceOnly",
        "FlagsStopConditionBelowTrigger",
        "FlagsStopConditionAboveTrigger",
        "FlagsInteractive",
        "FlagsTargetStrategyVWAP",
        "FlagsMMP"
      ]
    },
    "responses.OrderSide": {
      "type": "string",
      "enum": [
        "BUY",
        "SELL"
      ],
      "x-enum-varnames": [
        "OrderSideBuy",
        "OrderSideSell"
      ]
    },
    "responses.OrderType": {
      "type": "string",
      "enum": [
        "MARKET",
        "LIMIT",
        "STOP_LIMIT",
        "STOP_MARKET",
        "TAKE_PROFIT_LIMIT",
        "TAKE_PROFIT_MARKET",
        "STOP_LOSS_MARKET",
        "STOP_LOSS_LIMIT"
      ],
      "x-enum-varnames": [
        "OrderTypeMarket",
        "OrderTypeLimit",
        "OrderTypeStopLimit",
        "OrderTypeStopMarket",
        "OrderTypeTakeProfitLimit",
        "OrderTypeTakeProfitMarket",
        "OrderTypeStopLossMarket",
        "OrderTypeStopLossLimit"
      ]
    }
  }
}

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/paradex-requests-block-trade-request"
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.