eToro · Schema

Order

Social TradingCopy TradingInvestingMarket DataPortfolio-ManagementFintechTradingStocksCryptocurrencyETFs

Properties

Name Type Description
orderId integer Unique identifier for the order
cid integer Customer ID associated with the order
openDateTime string Date and time when the order was created
instrumentId integer Identifier of the instrument being traded
isBuy boolean Direction of the position. true - Long, false - Short
takeProfitRate number Rate at which TakeProfit will trigger and send MarketOrder to close the position once it is open
stopLossRate number Rate at which StopLoss will trigger and send MarketOrder to close the position once it is open
rate number Asset rate at which to send market order to the market
amount number USD amount to invest in the position
leverage integer Leverage multiplier to apply to the position
units number Units to open the position. If this value is greater than zero the position will open on the requested units, and not amount
isTslEnabled boolean Indication if to enable TSL feature on the position once it is open
executionType integer Type of order execution
isDiscounted boolean Obsolete
isNoTakeProfit boolean Indication if TakeProfit is enabled for the order. false = enabled, true = disabled
isNoStopLoss boolean Indication if StopLoss is enabled for the order. false = enabled, true = disabled
View JSON Schema on GitHub

JSON Schema

Order.json Raw ↑
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/etoro/refs/heads/main/json-schema/Order.json",
  "title": "Order",
  "type": "object",
  "properties": {
    "orderId": {
      "type": "integer",
      "description": "Unique identifier for the order"
    },
    "cid": {
      "type": "integer",
      "description": "Customer ID associated with the order"
    },
    "openDateTime": {
      "type": "string",
      "format": "date-time",
      "description": "Date and time when the order was created"
    },
    "instrumentId": {
      "type": "integer",
      "description": "Identifier of the instrument being traded"
    },
    "isBuy": {
      "type": "boolean",
      "description": "Direction of the position. true - Long, false - Short"
    },
    "takeProfitRate": {
      "type": "number",
      "format": "float",
      "description": "Rate at which TakeProfit will trigger and send MarketOrder to close the position once it is open"
    },
    "stopLossRate": {
      "type": "number",
      "format": "float",
      "description": "Rate at which StopLoss will trigger and send MarketOrder to close the position once it is open"
    },
    "rate": {
      "type": "number",
      "format": "float",
      "description": "Asset rate at which to send market order to the market"
    },
    "amount": {
      "type": "number",
      "format": "float",
      "description": "USD amount to invest in the position"
    },
    "leverage": {
      "type": "integer",
      "description": "Leverage multiplier to apply to the position"
    },
    "units": {
      "type": "number",
      "format": "float",
      "description": "Units to open the position. If this value is greater than zero the position will open on the requested units, and not amount"
    },
    "isTslEnabled": {
      "type": "boolean",
      "description": "Indication if to enable TSL feature on the position once it is open"
    },
    "executionType": {
      "type": "integer",
      "description": "Type of order execution"
    },
    "isDiscounted": {
      "type": "boolean",
      "description": "Obsolete"
    },
    "isNoTakeProfit": {
      "type": "boolean",
      "description": "Indication if TakeProfit is enabled for the order. false = enabled, true = disabled"
    },
    "isNoStopLoss": {
      "type": "boolean",
      "description": "Indication if StopLoss is enabled for the order. false = enabled, true = disabled"
    }
  }
}

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/Order"
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.