Skip to main content
POST
/
api
/
v1
/
watchlists
/
{watchlistId}
/
items
Add items to watchlist
curl --request POST \
  --url https://public-api.etoro.com/api/v1/watchlists/{watchlistId}/items \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <x-api-key>' \
  --header 'x-request-id: <x-request-id>' \
  --header 'x-user-key: <x-user-key>' \
  --data '
[
  {
    "ItemId": 12345,
    "ItemType": "Instrument",
    "ItemRank": 1
  }
]
'

Headers

x-request-id
string<uuid>
required

A unique request identifier.

Example:

"cc34475e-603d-43b7-b0d4-0e30e5c71ae3"

x-api-key
string<password>
required

API key for authentication.

Example:

"lhgfaslk21490FAScVPkdsb53F9dNkfHG4faZSG5vfjndfcfgdssdgsdHF4663"

x-user-key
string<password>
required

User-specific authentication key.

Example:

"eyJlYW4iOiJVbnJlZ2lzdGVyZWRBcHBsaWNhdGlvbiIsImVrIjoiOE5sZ2cwcW5EUVdROUFNWGpXT2lmOWktZnpidG5KcUlqWGJ3WHJZZkpZcldrbG90ZEhvLVBjSWhQaU8xU1ZtMW84aU1WZGZqN2xWNzFjLXFxLmcybXE1dnh4Q1hUT25xaWRUaTFlcEhmVk1fIn0_"

Path Parameters

watchlistId
string
required

Unique identifier of the watchlist

Body

application/json

Items to add to the watchlist

ItemId
integer<int32>
required

Unique identifier of the financial instrument

Example:

12345

ItemType
string
required

Type of the financial instrument (e.g., 'Instrument', 'Person')

Example:

"Instrument"

ItemRank
integer<int32>
default:0

Ranking position of the item in the watchlist

Example:

1

Response

201

Items added successfully