Skip to main content
PUT
/
api
/
v1
/
watchlists
/
rank
/
{watchlistId}
Change watchlist rank
curl --request PUT \
  --url https://public-api.etoro.com/api/v1/watchlists/rank/{watchlistId} \
  --header 'x-api-key: <x-api-key>' \
  --header 'x-request-id: <x-request-id>' \
  --header 'x-user-key: <x-user-key>'

Headers

x-request-id
string<uuid>
required

A unique request identifier.

Example:

"64a24a06-190c-4f00-80c8-bc206c427d6d"

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

Query Parameters

newRank
integer<int32>
required

New rank position for the watchlist

Example:

500

Response

204

Watchlist rank updated successfully