eToro · Example Payload

Openmarketpositionbyunits Response 200

Social TradingCopy TradingInvestingMarket DataPortfolio-ManagementFintechTradingStocksCryptocurrencyETFs

Openmarketpositionbyunits Response 200 is an example object payload from eToro, with 5 top-level fields. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

pathmethodstatustypeexample

Example Payload

Raw ↑
{
  "path": "/api/v1/trading/execution/market-open-orders/by-units",
  "method": "post",
  "status": "200",
  "type": "response",
  "example": {
    "orderForOpen": {
      "instrumentID": 100000,
      "amount": 0,
      "amountInUnits": 0.001,
      "isBuy": true,
      "leverage": 1,
      "stopLossRate": 0,
      "takeProfitRate": 0,
      "isTslEnabled": false,
      "mirrorID": 0,
      "totalExternalCosts": 0,
      "lotCount": 0,
      "orderID": 13906629,
      "orderType": 18,
      "statusID": 1,
      "CID": 7765437,
      "openDateTime": "2025-04-02T15:56:50.7496838Z",
      "lastUpdate": "2025-04-02T15:56:50.7496838Z"
    },
    "token": "43ceb769-cff6-45ec-8ad7-292b7401353f"
  }
}

Work with this as data

Every example 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 examples

4 MCP tools reach this
  • find_examplesBrowse and filter every example 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 example
curl "https://apis.io/api/v1/examples/openMarketPositionByUnits-response-200"
All examples
curl "https://apis.io/api/v1/examples?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

A second provider on the same verified email joins the account you already have.