eToro

App · 20 actions

Read eToro market data and portfolios, track watchlists, and manage price alerts.

Actions

ActionWhat it does
Create a price alertCreate a price alert.
Delete a price alertDelete a price alert.
Get aggregated balancesGet aggregated balances.
Get authenticated user profileGet authenticated user profile.
Get curated listsGet curated lists.
Get demo portfolio breakdownGet demo portfolio breakdown.
Get in-app notificationsGet in-app notifications.
Get instrument candle historyGet instrument candle history.
Get portfolio breakdownGet portfolio breakdown.
Get price alertsGet price alerts.
Get single watchlistGet single watchlist.
Get stocks industriesGet stocks industries.
Get user watchlistsGet user watchlists.
List instrument typesList instrument types.
List supported exchangesList supported exchanges.
List trading historyList trading history.
Retrieve bid/ask rates for one or more instrumentsRetrieve bid/ask rates for one or more instruments.
Search for securities (instruments) by ID or symbolSearch for securities (instruments) by ID or symbol.
Search instruments by free-text querySearch instruments by free-text query.
Update a price alertUpdate a price alert.

Create a price alert

Create a price alert.

Inputs

SymbolsymboltextRequired
Trading symbol to identify the instrument (e.g. AAPL, TSLA)
Target pricetarget_pricenumberRequired
Target price at which the alert should trigger. Must be greater than 0.At least 0.

Outputs

dataobject
The response from eToro.
Example output
{
  "data": {
    "data": {
      "alertId": "example",
      "createdAt": "example",
      "currentPrice": 1,
      "instrumentId": 1,
      "symbol": "example",
      "targetPrice": 1,
      "updatedAt": "example"
    },
    "success": true
  }
}

Delete a price alert

Delete a price alert.

Inputs

Alert IDalert_idtextRequired
Unique identifier of the price alert to delete

Outputs

dataobject
The response from eToro.
Example output
{
  "data": {
    "data": {
      "alertId": "example"
    },
    "success": true
  }
}

Get aggregated balances

Get aggregated balances.

Inputs

Account typesaccount_typestext
Account types.
Display currencydisplay_currencytext
ISO 4217 currency code for totals and conversions. Defaults to USD.
Include zero balancesinclude_zero_balancestrue/false
Whether to include accounts with a zero balance in the response. Defaults to false.
Include sub accountsinclude_sub_accountstrue/false
Whether to also include the user's sub-account Trading balances. Only effective when Trading is in scope. That means when no accountTypes filter is supplied, or the filter includes trading. Sub-account entries are returned with accountType Trading and subType "subAccount". Defaults to false.
Expandexpandtext
Comma-separated list of optional sections to include in the response. Valid values: equityDetails.

Outputs

dataobject
The response from eToro.
Example output
{
  "data": {
    "balances": [
      {}
    ],
    "displayCurrency": "example",
    "gcid": 1,
    "totalBalance": 1
  }
}

Get authenticated user profile

Get authenticated user profile.

Inputs

None.

Outputs

dataobject
The response from eToro.
Example output
{
  "data": {
    "avatarUrl": "example",
    "dateOfBirth": "example",
    "demoCid": 1,
    "firstName": "example",
    "gcid": 1,
    "gender": 1,
    "language": 1,
    "lastName": "example",
    "middleName": "example",
    "playerLevel": 1,
    "realCid": 1,
    "username": "example"
  }
}

Get curated lists

Get curated lists.

Inputs

None.

Outputs

dataobject
The response from eToro.
Example output
{
  "data": {
    "curatedLists": [
      {}
    ]
  }
}

Get demo portfolio breakdown

Get demo portfolio breakdown.

Inputs

None.

Outputs

dataobject
The response from eToro.
Example output
{
  "data": {
    "clientPortfolio": {
      "bonusCredit": 1,
      "credit": 1,
      "entryOrders": [
        {}
      ],
      "exitOrders": [
        {}
      ],
      "mirrors": [
        {}
      ],
      "orders": [
        {}
      ],
      "ordersForClose": [
        {}
      ],
      "ordersForCloseMultiple": [
        {}
      ],
      "ordersForOpen": [
        {}
      ],
      "positions": [
        {}
      ],
      "stockOrders": [
        {}
      ]
    }
  }
}

Get in-app notifications

Get in-app notifications.

Inputs

None.

Outputs

dataobject
The response from eToro.
Example output
{
  "data": {
    "messages": [
      {}
    ],
    "meta": {
      "notSeen": 1
    }
  }
}

Get instrument candle history

Get instrument candle history.

Inputs

DirectiondirectiontextRequired
Sorting direction of the candles data. Use 'asc' for oldest to newest, or 'desc' for newest to oldest.One of: asc, desc.
IntervalintervaltextRequired
Time interval for each candle. Determines the granularity of the price data. Shorter intervals provide more detailed price action but require more data points.One of: OneMinute, FiveMinutes, TenMinutes, FifteenMinutes, ThirtyMinutes, OneHour, FourHours, OneDay, OneWeek.
Candles countcandles_countnumberRequired
Number of candles to retrieve. Maximum value is 1000. For longer historical periods, consider using a larger time interval or making multiple requests.At most 1000.
Instrument IDinstrument_idnumberRequired
Unique identifier of the financial instrument to retrieve candles for. This ID is consistent across all etoro systems.

Outputs

dataobject
The response from eToro.
Example output
{
  "data": {
    "candles": [
      {}
    ],
    "interval": "example"
  }
}

Get portfolio breakdown

Get portfolio breakdown.

Inputs

None.

Outputs

dataobject
The response from eToro.
Example output
{
  "data": {
    "clientPortfolio": {
      "bonusCredit": 1,
      "credit": 1,
      "entryOrders": [
        {}
      ],
      "exitOrders": [
        {}
      ],
      "mirrors": [
        {}
      ],
      "orders": [
        {}
      ],
      "ordersForClose": [
        {}
      ],
      "ordersForCloseMultiple": [
        {}
      ],
      "ordersForOpen": [
        {}
      ],
      "positions": [
        {}
      ],
      "stockOrders": [
        {}
      ]
    }
  }
}

Get price alerts

Get price alerts.

Inputs

Alert IDSalert_idstext
Comma-separated list of alert IDs to filter by. AND-combined with the instrument filter when both are present.
Instrument IDSinstrument_idstext
Comma-separated list of instrument IDs to filter by. Treated as the same dimension as symbols. Results matching either instrumentIds or symbols are returned.
Symbolssymbolstext
Comma-separated list of trading symbols to filter by. Treated as the same dimension as instrumentIds. Results matching either symbols or instrumentIds are returned.

Outputs

dataobject
The response from eToro.
Example output
{
  "data": {
    "results": [
      {}
    ]
  }
}

Get single watchlist

Get single watchlist.

Inputs

Watchlist IDwatchlist_idtextRequired
Unique identifier of the watchlist
Page numberpage_numbernumber
Page number for paginationAt least 0.
Items per pageitems_per_pagenumber
Number of items per pageFrom 1 to 1000.

Outputs

dataobject
The response from eToro.
Example output
{
  "data": {
    "exception": {
      "invalidItems": [
        "example"
      ],
      "message": "example",
      "reason": "example"
    },
    "isSucceeded": true,
    "meta": {
      "itemsPerPage": 1,
      "maxItemsInWatchlistLimit": 1,
      "maxWatchlistsLimit": 1,
      "pageNumber": 1
    },
    "status": 1,
    "watchlists": [
      {}
    ]
  }
}

Get stocks industries

Get stocks industries.

Inputs

Stocks industry IDSstocks_industry_idslist
A comma seperated list of stock industry ids to retrieves

Outputs

dataobject
The response from eToro.
Example output
{
  "data": {
    "stocksIndustries": [
      {}
    ]
  }
}

Get user watchlists

Get user watchlists.

Inputs

Items per page for singleitems_per_page_for_singlenumber
Number of items to include per watchlist for paginationFrom 1 to 1000.
Ensure builtin watchlistsensure_builtin_watchliststrue/false
Whether to ensure built-in watchlists are included
Add related assetsadd_related_assetstrue/false
Whether to include related assets in the response

Outputs

dataobject
The response from eToro.
Example output
{
  "data": {
    "exception": {
      "invalidItems": [
        "example"
      ],
      "message": "example",
      "reason": "example"
    },
    "isSucceeded": true,
    "meta": {
      "itemsPerPage": 1,
      "maxItemsInWatchlistLimit": 1,
      "maxWatchlistsLimit": 1,
      "pageNumber": 1
    },
    "status": 1,
    "watchlists": [
      {}
    ]
  }
}

List instrument types

List instrument types.

Inputs

Instrument type IDSinstrument_type_idslist
A comma seperated list of instrument type ids to retrieve

Outputs

dataobject
The response from eToro.
Example output
{
  "data": {
    "instrumentTypes": [
      {}
    ]
  }
}

List supported exchanges

List supported exchanges.

Inputs

Exchange IDSexchange_idslist
A comma seperated list of exchange ids to retrieve

Outputs

dataobject
The response from eToro.
Example output
{
  "data": {
    "exchangeInfo": [
      {}
    ]
  }
}

List trading history

List trading history.

Inputs

Min datemin_datedateRequired
The start date of the period you would like to view.
Pagepagenumber
The page number.
Page sizepage_sizenumber
The amount of trades in each page.

Outputs

datalist
The response from eToro.
Example output
{
  "data": [
    {
      "closeRate": 1,
      "closeTimestamp": "example",
      "instrumentId": 1,
      "isBuy": true,
      "leverage": 1,
      "netProfit": 1,
      "openRate": 1,
      "openTimestamp": "example",
      "positionId": 1,
      "stopLossRate": 1,
      "takeProfitRate": 1,
      "trailingStopLoss": true
    }
  ]
}

Retrieve bid/ask rates for one or more instruments

Retrieve bid/ask rates for one or more instruments.

Inputs

Instrument IDSinstrument_idslistRequired
List of instrument IDs to fetch rates for (max 1000).

Outputs

dataobject
The response from eToro.
Example output
{
  "data": {
    "results": [
      {}
    ]
  }
}

Search for securities (instruments) by ID or symbol

Search for securities (instruments) by ID or symbol.

Inputs

Instruments IDSinstruments_idslist
Filter by instrument IDs. Mutually exclusive with symbols.
Symbolssymbolslist
Filter by trading symbols (e.g. AAPL). Mutually exclusive with instrumentsIds.
Page sizepage_sizenumber
Maximum number of results per page. Defaults to 100 when omitted.
Page tokenpage_tokentext
Pagination cursor from the previous response's pagination.nextPageToken.
Exchange IDexchange_idnumber
Filter by exchange ID.
Typetypetext
Filter by instrument type.One of: Forex, Commodity, CFD, Indices, Stocks, ETF, Bonds, TrustFunds, Options, Crypto.

Outputs

dataobject
The response from eToro.
Example output
{
  "data": {
    "pagination": {
      "hasNext": true,
      "nextPageToken": "example",
      "pageSize": 1
    },
    "results": [
      {}
    ]
  }
}

Search instruments by free-text query

Search instruments by free-text query.

Inputs

QueryquerytextRequired
Free-text query to match instruments by name or symbol (1-100 chars).
Limitlimitnumber
Maximum number of results (1-50, default 10).From 1 to 50.

Outputs

dataobject
The response from eToro.
Example output
{
  "data": {
    "results": [
      {}
    ]
  }
}

Update a price alert

Update a price alert.

Inputs

Alert IDalert_idtextRequired
Unique identifier of the price alert
Target pricetarget_pricenumberRequired
New target price for the alert. Must be greater than 0.At least 0.

Outputs

dataobject
The response from eToro.
Example output
{
  "data": {
    "data": {
      "alertId": "example",
      "createdAt": "example",
      "currentPrice": 1,
      "instrumentId": 1,
      "symbol": "example",
      "targetPrice": 1,
      "updatedAt": "example"
    },
    "success": true
  }
}

On this page