Properties
| Name | Type | Description |
|---|---|---|
| defaults | object | Values every leg inherits: symbol, operation, volume, price, slippage, stop_loss, take_profit, stop_limit_price, expiration, comment, expert_id. |
| orders | array | One entry per order. |
| orders[].account_id | string | One of your accounts, as returned by GET /v1/accounts. |
| orders[].operation | string | buy, sell, buyLimit, sellLimit, buyStop, sellStop, buyStopLimit or sellStopLimit (case‑insensitive). |
| orders[].volume | number | Lots. Must be greater than 0. |
| orders[].symbol | string | Symbol for the leg, overrides defaults. |
| orders[].price | number | Price for the leg. |
| orders[].slippage | integer | Slippage for the leg. |
| orders[].stop_loss | number | Stop loss for the leg. |
| orders[].take_profit | number | Take profit for the leg. |
| orders[].stop_limit_price | number | Stop limit price for the leg. |
| orders[].expiration | string | Expiration for the leg. |
| orders[].comment | string | Comment for the leg. |
| orders[].expert_id | string | Expert ID for the leg. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/fxsocket-com/json-schema/fxsocket-com-post-v1-orders-request-schema.json",
"title": "PostV1OrdersRequest",
"x-generated": "2026-10-29",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/_ae-authored/fxsocket-com-openapi-generated.yml#/components/schemas/PostV1OrdersRequest",
"type": "object",
"properties": {
"defaults": {
"type": "object",
"description": "Values every leg inherits: symbol, operation, volume, price, slippage, stop_loss, take_profit, stop_limit_price, expiration, comment, expert_id."
},
"orders": {
"type": "array",
"description": "One entry per order."
},
"orders[].account_id": {
"type": "string",
"description": "One of your accounts, as returned by GET /v1/accounts."
},
"orders[].operation": {
"type": "string",
"description": "buy, sell, buyLimit, sellLimit, buyStop, sellStop, buyStopLimit or sellStopLimit (case‑insensitive)."
},
"orders[].volume": {
"type": "number",
"description": "Lots. Must be greater than 0."
},
"orders[].symbol": {
"type": "string",
"description": "Symbol for the leg, overrides defaults."
},
"orders[].price": {
"type": "number",
"description": "Price for the leg."
},
"orders[].slippage": {
"type": "integer",
"description": "Slippage for the leg."
},
"orders[].stop_loss": {
"type": "number",
"description": "Stop loss for the leg."
},
"orders[].take_profit": {
"type": "number",
"description": "Take profit for the leg."
},
"orders[].stop_limit_price": {
"type": "number",
"description": "Stop limit price for the leg."
},
"orders[].expiration": {
"type": "string",
"description": "Expiration for the leg."
},
"orders[].comment": {
"type": "string",
"description": "Comment for the leg."
},
"orders[].expert_id": {
"type": "string",
"description": "Expert ID for the leg."
}
},
"required": [
"orders",
"orders[].account_id"
]
}
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.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/fxsocket-com-post-v1-orders-request"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
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. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.