{
"messages": [
{
"topic": "instrument:100000",
"content": "{\"InstrumentID\":100000,\"Status\":\"Open\",\"IsTradable\":true,\"AsOf\":\"2025-04-01T08:00:00Z\"}",
"id": "a3b1c2d4-5e6f-7081-92a3-b4c5d6e7f809",
"type": "Trading.Instrument.MarketStatus"
}
]
}{
"messages": [
{
"topic": "instrument:100000",
"content": "{\"Ask\":\"84917.73\",\"Bid\":\"83232.21\",\"LastExecution\":\"84072.94\",\"Date\":\"2025-04-01T08:36:02.8305456Z\",\"PriceRateID\":\"106439224591\"}",
"id": "f1992278-2c4a-4b8f-92d6-8b99f5e1cb00",
"type": "Trading.Instrument.Rate"
}
]
}{
"id": "ed72693c-1545-4fa1-8a10-aca7cf5419a6",
"operation": "Authenticate",
"data": {
"userKey": "eyJlYW4iOiJVbnJlZ2lzdGVyZWRBcHBsaWNhdGlvbiIsImVrIjoiOE5sZ2cwcW5EUVdROUFNWGpXT2lmOWktZnpidG5KcUlqWGJ3WHJZZkpZcldrbG90ZEhvLVBjSWhQaU8xU1ZtMW84aU1WZGZqN2xWNzFjLXFxLmcybXE1dnh4Q1hUT25xaWRUaTFlcEhmVk1fIn0_",
"apiKey": "lhgfaslk21490FAScVPkdsb53F9dNkfHG4faZSG5vfjndfcfgdssdgsdHF4663"
}
}{
"id": "ed72693c-1545-4fa1-8a10-aca7cf5419a6",
"operation": "Subscribe",
"data": {
"topics": [
"instrument:100000"
],
"snapshot": false
}
}{
"id": "ed72693c-1545-4fa1-8a10-aca7cf5419a6",
"operation": "Unsubscribe",
"data": {
"topics": [
"instrument:100000"
]
}
}Instrument rates
Subscribe with topic instrument:<instrumentId> (e.g. instrument:100000). Each push carries a content field that is a JSON-encoded string of a Trading.Instrument.Rate object (see schema).
{
"messages": [
{
"topic": "instrument:100000",
"content": "{\"InstrumentID\":100000,\"Status\":\"Open\",\"IsTradable\":true,\"AsOf\":\"2025-04-01T08:00:00Z\"}",
"id": "a3b1c2d4-5e6f-7081-92a3-b4c5d6e7f809",
"type": "Trading.Instrument.MarketStatus"
}
]
}{
"messages": [
{
"topic": "instrument:100000",
"content": "{\"Ask\":\"84917.73\",\"Bid\":\"83232.21\",\"LastExecution\":\"84072.94\",\"Date\":\"2025-04-01T08:36:02.8305456Z\",\"PriceRateID\":\"106439224591\"}",
"id": "f1992278-2c4a-4b8f-92d6-8b99f5e1cb00",
"type": "Trading.Instrument.Rate"
}
]
}{
"id": "ed72693c-1545-4fa1-8a10-aca7cf5419a6",
"operation": "Authenticate",
"data": {
"userKey": "eyJlYW4iOiJVbnJlZ2lzdGVyZWRBcHBsaWNhdGlvbiIsImVrIjoiOE5sZ2cwcW5EUVdROUFNWGpXT2lmOWktZnpidG5KcUlqWGJ3WHJZZkpZcldrbG90ZEhvLVBjSWhQaU8xU1ZtMW84aU1WZGZqN2xWNzFjLXFxLmcybXE1dnh4Q1hUT25xaWRUaTFlcEhmVk1fIn0_",
"apiKey": "lhgfaslk21490FAScVPkdsb53F9dNkfHG4faZSG5vfjndfcfgdssdgsdHF4663"
}
}{
"id": "ed72693c-1545-4fa1-8a10-aca7cf5419a6",
"operation": "Subscribe",
"data": {
"topics": [
"instrument:100000"
],
"snapshot": false
}
}{
"id": "ed72693c-1545-4fa1-8a10-aca7cf5419a6",
"operation": "Unsubscribe",
"data": {
"topics": [
"instrument:100000"
]
}
}eToro instrument id, e.g. 100000 (BTC).
eToro API credentials, sent as a pair inside the Authenticate request's data object -- userKey (the user identifier) and apiKey (the secret) -- not as an HTTP header. Required before subscribing to the private topic; public market topics (instrument:<instrumentId>) need no authentication. Both values come from the API key section of eToro account settings, which appears once the account is verified.
GET
Pushed when an instrument's market opens, closes or is halted. (Illustrative example type.)
A batch of one or more instrument rate updates.
Authenticate the WebSocket session with your API credentials.
Subscribe to one or more topics.
Stop receiving messages for one or more topics.