curl --request GET \
--url https://public-api.etoro.com/api/v1/watchlists/{watchlistId} \
--header 'x-api-key: <api-key>' \
--header 'x-request-id: <x-request-id>' \
--header 'x-user-key: <api-key>'import requests
url = "https://public-api.etoro.com/api/v1/watchlists/{watchlistId}"
headers = {
"x-request-id": "<x-request-id>",
"x-api-key": "<api-key>",
"x-user-key": "<api-key>"
}
response = requests.get(url, headers=headers)
print(response.text)const options = {
method: 'GET',
headers: {
'x-request-id': '<x-request-id>',
'x-api-key': '<api-key>',
'x-user-key': '<api-key>'
}
};
fetch('https://public-api.etoro.com/api/v1/watchlists/{watchlistId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://public-api.etoro.com/api/v1/watchlists/{watchlistId}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"x-api-key: <api-key>",
"x-request-id: <x-request-id>",
"x-user-key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://public-api.etoro.com/api/v1/watchlists/{watchlistId}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("x-request-id", "<x-request-id>")
req.Header.Add("x-api-key", "<api-key>")
req.Header.Add("x-user-key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://public-api.etoro.com/api/v1/watchlists/{watchlistId}")
.header("x-request-id", "<x-request-id>")
.header("x-api-key", "<api-key>")
.header("x-user-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://public-api.etoro.com/api/v1/watchlists/{watchlistId}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["x-request-id"] = '<x-request-id>'
request["x-api-key"] = '<api-key>'
request["x-user-key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"status": 200,
"watchlists": [
{
"watchlistId": "12345",
"name": "Tech Watchlist",
"Gcid": 12345,
"watchlistType": "Static",
"totalItems": 100,
"isDefault": true,
"isUserSelectedDefault": true,
"watchlistRank": 1,
"dynamicUrl": "<string>",
"items": [
{
"itemId": 12345,
"itemType": "Instrument",
"itemRank": 1
}
],
"relatedAssets": [
12345,
67890
]
}
],
"exception": {
"invalidItems": [
"<string>"
],
"reason": "<string>",
"message": "<string>"
},
"meta": {
"pageNumber": 0,
"itemsPerPage": 100,
"maxItemsInWatchlistLimit": 1000,
"maxWatchlistsLimit": 10
},
"isSucceeded": true
}Get single watchlist
Rate limit: 60 requests per 60 seconds. This is a shared quota — the same budget is consumed by a group of related endpoints, so calling any of them reduces what is left for the others (you cannot call each at the full rate independently). Endpoints sharing this quota:
GET /api/v1/watchlistsGET /api/v1/watchlists/default-watchlists/itemsGET /api/v1/watchlists/public/{userId}GET /api/v1/watchlists/public/{userId}/{watchlistId}
Retrieves a specific watchlist with its items using pagination.
curl --request GET \
--url https://public-api.etoro.com/api/v1/watchlists/{watchlistId} \
--header 'x-api-key: <api-key>' \
--header 'x-request-id: <x-request-id>' \
--header 'x-user-key: <api-key>'import requests
url = "https://public-api.etoro.com/api/v1/watchlists/{watchlistId}"
headers = {
"x-request-id": "<x-request-id>",
"x-api-key": "<api-key>",
"x-user-key": "<api-key>"
}
response = requests.get(url, headers=headers)
print(response.text)const options = {
method: 'GET',
headers: {
'x-request-id': '<x-request-id>',
'x-api-key': '<api-key>',
'x-user-key': '<api-key>'
}
};
fetch('https://public-api.etoro.com/api/v1/watchlists/{watchlistId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://public-api.etoro.com/api/v1/watchlists/{watchlistId}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"x-api-key: <api-key>",
"x-request-id: <x-request-id>",
"x-user-key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://public-api.etoro.com/api/v1/watchlists/{watchlistId}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("x-request-id", "<x-request-id>")
req.Header.Add("x-api-key", "<api-key>")
req.Header.Add("x-user-key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://public-api.etoro.com/api/v1/watchlists/{watchlistId}")
.header("x-request-id", "<x-request-id>")
.header("x-api-key", "<api-key>")
.header("x-user-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://public-api.etoro.com/api/v1/watchlists/{watchlistId}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["x-request-id"] = '<x-request-id>'
request["x-api-key"] = '<api-key>'
request["x-user-key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"status": 200,
"watchlists": [
{
"watchlistId": "12345",
"name": "Tech Watchlist",
"Gcid": 12345,
"watchlistType": "Static",
"totalItems": 100,
"isDefault": true,
"isUserSelectedDefault": true,
"watchlistRank": 1,
"dynamicUrl": "<string>",
"items": [
{
"itemId": 12345,
"itemType": "Instrument",
"itemRank": 1
}
],
"relatedAssets": [
12345,
67890
]
}
],
"exception": {
"invalidItems": [
"<string>"
],
"reason": "<string>",
"message": "<string>"
},
"meta": {
"pageNumber": 0,
"itemsPerPage": 100,
"maxItemsInWatchlistLimit": 1000,
"maxWatchlistsLimit": 10
},
"isSucceeded": true
}Authorizations
API key of the application. Only valid together with the x-user-key header — the pair is an alternative to OAuth bearer authentication, never sent alongside it. The pair is granted the same permissions the operation's OAuth scopes describe.
Demo credential for trying the API from these docs: lhgfaslk21490FAScVPkdsb53F9dNkfHG4faZSG5vfjndfcfgdssdgsdHF4663
User-specific authentication key. Only valid together with the x-api-key header — the pair is an alternative to OAuth bearer authentication, never sent alongside it.
Demo credential for trying the API from these docs: eyJlYW4iOiJVbnJlZ2lzdGVyZWRBcHBsaWNhdGlvbiIsImVrIjoiOE5sZ2cwcW5EUVdROUFNWGpXT2lmOWktZnpidG5KcUlqWGJ3WHJZZkpZcldrbG90ZEhvLVBjSWhQaU8xU1ZtMW84aU1WZGZqN2xWNzFjLXFxLmcybXE1dnh4Q1hUT25xaWRUaTFlcEhmVk1fIn0_
Headers
A unique request identifier.
"babf6954-dd14-4e3d-bb54-69b50ed4fc9b"
Path Parameters
Unique identifier of the watchlist
Query Parameters
Page number for pagination
x >= 0Number of items per page
1 <= x <= 1000Response
Successfully retrieved watchlist
Response containing multiple watchlists with metadata
HTTP status code of the response
200
List of user watchlists
Show child attributes
Show child attributes
Exception details when the request partially failed
Show child attributes
Show child attributes
Response metadata including pagination info
Show child attributes
Show child attributes
Whether the request succeeded
true