eToro · Schema

GetOrderInfoResponse

Detailed information about a specific order retrieved via the orders lookup endpoint.

Social TradingCopy TradingInvestingMarket DataPortfolio-ManagementFintechTradingStocksCryptocurrencyETFs

Properties

Name Type Description
accountId integer The account identifier associated with this order.
gcid integer The global customer identifier.
portfolioId integer The portfolio identifier.
orderId integer The unique identifier of the order.
action string The order action. Possible values: open, close.
transaction string The transaction direction. Possible values: buy, sell, sellShort, buyToCover.
type string The order type. Possible values: mkt, mit.
etoroOrderTypeId integer The internal eToro order type identifier.
status object
asset object
orderCurrency string The currency used for the order.
requestedAmount number The requested monetary amount for the order.
requestedUnits number The requested number of units for the order.
requestedContracts number The requested number of contracts for the order.
frozenAmount number The amount frozen/reserved for the order including costs.
requestedTriggerRate number The trigger rate for limit or stop orders.
openStopLossRate number The stop-loss rate at order open.
openTakeProfitRate number The take-profit rate at order open.
stopLossType string The stop-loss type. Possible values: fixed, trailing.
totalCosts number Total costs associated with the order.
positionsToClose array List of position IDs to close as part of a close order.
positionExecutions array List of position executions resulting from this order.
requestTime string The timestamp when the order was requested.
lastUpdate string The timestamp of the last update to the order.
openActionType string The action type that initiated the order.
requestType string The request sizing type. Possible values: byAmount, byUnits, byContracts.
View JSON Schema on GitHub

JSON Schema

GetOrderInfoResponse.json Raw ↑
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/etoro/refs/heads/main/json-schema/GetOrderInfoResponse.json",
  "title": "GetOrderInfoResponse",
  "type": "object",
  "description": "Detailed information about a specific order retrieved via the orders lookup endpoint.",
  "properties": {
    "accountId": {
      "type": "integer",
      "format": "int64",
      "description": "The account identifier associated with this order."
    },
    "gcid": {
      "type": "integer",
      "format": "int64",
      "description": "The global customer identifier."
    },
    "portfolioId": {
      "type": "integer",
      "format": "int32",
      "description": "The portfolio identifier."
    },
    "orderId": {
      "type": "integer",
      "format": "int64",
      "description": "The unique identifier of the order."
    },
    "action": {
      "type": "string",
      "description": "The order action. Possible values: open, close."
    },
    "transaction": {
      "type": "string",
      "description": "The transaction direction. Possible values: buy, sell, sellShort, buyToCover."
    },
    "type": {
      "type": "string",
      "description": "The order type. Possible values: mkt, mit."
    },
    "etoroOrderTypeId": {
      "type": "integer",
      "format": "int32",
      "description": "The internal eToro order type identifier."
    },
    "status": {
      "$ref": "#/components/schemas/GetOrderInfoStatus"
    },
    "asset": {
      "$ref": "#/components/schemas/GetOrderInfoAsset"
    },
    "orderCurrency": {
      "type": "string",
      "description": "The currency used for the order."
    },
    "requestedAmount": {
      "type": "number",
      "format": "double",
      "nullable": true,
      "description": "The requested monetary amount for the order."
    },
    "requestedUnits": {
      "type": "number",
      "format": "double",
      "nullable": true,
      "description": "The requested number of units for the order."
    },
    "requestedContracts": {
      "type": "number",
      "format": "double",
      "nullable": true,
      "description": "The requested number of contracts for the order."
    },
    "frozenAmount": {
      "type": "number",
      "format": "double",
      "nullable": true,
      "description": "The amount frozen/reserved for the order including costs."
    },
    "requestedTriggerRate": {
      "type": "number",
      "format": "double",
      "nullable": true,
      "description": "The trigger rate for limit or stop orders."
    },
    "openStopLossRate": {
      "type": "number",
      "format": "double",
      "nullable": true,
      "description": "The stop-loss rate at order open."
    },
    "openTakeProfitRate": {
      "type": "number",
      "format": "double",
      "nullable": true,
      "description": "The take-profit rate at order open."
    },
    "stopLossType": {
      "type": "string",
      "nullable": true,
      "description": "The stop-loss type. Possible values: fixed, trailing."
    },
    "totalCosts": {
      "type": "number",
      "format": "double",
      "description": "Total costs associated with the order."
    },
    "positionsToClose": {
      "type": "array",
      "items": {
        "type": "integer",
        "format": "int64"
      },
      "description": "List of position IDs to close as part of a close order."
    },
    "positionExecutions": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/GetOrderInfoPositionExecution"
      },
      "description": "List of position executions resulting from this order."
    },
    "requestTime": {
      "type": "string",
      "format": "date-time",
      "description": "The timestamp when the order was requested."
    },
    "lastUpdate": {
      "type": "string",
      "format": "date-time",
      "description": "The timestamp of the last update to the order."
    },
    "openActionType": {
      "type": "string",
      "description": "The action type that initiated the order."
    },
    "requestType": {
      "type": "string",
      "description": "The request sizing type. Possible values: byAmount, byUnits, byContracts."
    }
  }
}

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