curl --request PUT \
--url https://public-api.etoro.com/api/v1/posts/{postId}/comments/{commentId} \
--header 'Authorization: Bearer <token>' \
--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 '
{
"message": "Great point, I updated my view after reading more.",
"attachments": [
{
"url": "https://cdn.etoro.com/rich-media/images/johndoe/abc-2025-01-15.jpg",
"title": "Tesla Q4 Earnings Chart",
"host": "cdn.etoro.com",
"description": "Tesla quarterly earnings breakdown",
"mediaType": "Image",
"media": {
"image": {
"width": 1200,
"height": 630,
"url": "https://cdn.etoro.com/rich-media/images/johndoe/abc-2025-01-15.jpg"
}
}
}
]
}
'{
"entity": {
"id": "7c9e6679-7425-40de-944b-e07fc1f90ae7",
"owner": {
"id": "7890",
"username": "johndoe",
"firstName": "John",
"lastName": "Doe",
"avatar": {
"small": "https://etoro-cdn.etorostatic.com/avatars/150X150/johndoe.jpg",
"medium": "https://etoro-cdn.etorostatic.com/avatars/200X200/johndoe.jpg",
"large": "https://etoro-cdn.etorostatic.com/avatars/300X300/johndoe.jpg",
"svg": {
"url": "https://etoro-cdn.etorostatic.com/avatars/svg/johndoe.svg",
"backgroundColor": "#2196F3",
"textColor": "#FFFFFF"
}
},
"roles": [
"Regular"
],
"isBlocked": false,
"isPrivate": false,
"countryCode": 840,
"piLevel": 0
},
"obsoleteId": "98765",
"created": "2025-01-15T10:30:00Z",
"updated": "2025-01-15T11:00:00Z",
"message": {
"text": "Excited about $TSLA earnings next week!",
"languageCode": "en"
},
"attachments": [
{
"url": "https://cdn.etoro.com/rich-media/images/johndoe/abc-2025-01-15.jpg",
"title": "Tesla Q4 Earnings Chart",
"host": "cdn.etoro.com",
"description": "Tesla quarterly earnings breakdown",
"mediaType": "Image",
"media": {
"image": {
"width": 1200,
"height": 630,
"url": "https://cdn.etoro.com/rich-media/images/johndoe/abc-2025-01-15.jpg"
},
"video": {
"videoSourceId": "dQw4w9WgXcQ",
"videoSource": "YouTube",
"image": {
"width": 1280,
"height": 720,
"url": "https://img.youtube.com/vi/dQw4w9WgXcQ/hqdefault.jpg"
}
}
}
}
],
"mentions": [
{
"user": {
"id": "7890",
"username": "johndoe",
"firstName": "John",
"lastName": "Doe",
"avatar": {
"small": "https://etoro-cdn.etorostatic.com/avatars/150X150/johndoe.jpg",
"medium": "https://etoro-cdn.etorostatic.com/avatars/200X200/johndoe.jpg",
"large": "https://etoro-cdn.etorostatic.com/avatars/300X300/johndoe.jpg",
"svg": {
"url": "https://etoro-cdn.etorostatic.com/avatars/svg/johndoe.svg",
"backgroundColor": "#2196F3",
"textColor": "#FFFFFF"
}
},
"roles": [
"Regular"
],
"isBlocked": false,
"isPrivate": false,
"countryCode": 840,
"piLevel": 0
},
"isDirect": true
}
],
"tags": [
{
"market": {
"id": "TSLA",
"symbolName": "TSLA",
"displayName": "Tesla",
"updated": "2025-01-15T00:00:00Z",
"assetType": "Stocks",
"internalId": 59114,
"avatar": {
"small": "https://cdn.etoro.com/assets/img/markets/TSLA/small.png",
"medium": "https://cdn.etoro.com/assets/img/markets/TSLA/medium.png",
"large": "https://cdn.etoro.com/assets/img/markets/TSLA/large.png",
"svg": {
"url": "https://cdn.etoro.com/assets/img/markets/TSLA/logo.svg",
"backgroundColor": "#CC0000",
"textColor": "#FFFFFF"
}
},
"application": "eToro",
"metadata": "{}",
"assetTypeId": 10,
"assetTypeSubCategoryId": 101
}
}
],
"isSpam": false,
"editStatus": "None",
"parent": {
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"obsoleteId": "12345",
"type": "Post"
}
},
"repliesCount": 2,
"replies": "<array>",
"emotionsData": {
"like": {
"paging": {
"totalCount": 42,
"offsetEntityId": "b2c3d4e5-f6a7-4890-bcde-f23456789012",
"next": "/api/v1/reactions/3fa85f64-5717-4562-b3fc-2c963f66afa6/emotions?offset=10&take=10"
},
"emotions": [
{
"type": "Like",
"id": "b2c3d4e5-f6a7-4890-bcde-f23456789012",
"owner": {
"id": "7890",
"username": "johndoe",
"firstName": "John",
"lastName": "Doe",
"avatar": {
"small": "https://etoro-cdn.etorostatic.com/avatars/150X150/johndoe.jpg",
"medium": "https://etoro-cdn.etorostatic.com/avatars/200X200/johndoe.jpg",
"large": "https://etoro-cdn.etorostatic.com/avatars/300X300/johndoe.jpg",
"svg": {
"url": "https://etoro-cdn.etorostatic.com/avatars/svg/johndoe.svg",
"backgroundColor": "#2196F3",
"textColor": "#FFFFFF"
}
},
"roles": [
"Regular"
],
"isBlocked": false,
"isPrivate": false,
"countryCode": 840,
"piLevel": 0
},
"obsoleteId": "54321",
"parent": {
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"obsoleteId": "12345",
"type": "Post"
},
"created": "2025-01-15T10:30:00Z"
}
]
}
},
"requesterContext": {
"isOwner": false,
"isFlaggingAsSpam": false,
"isSubscribed": false,
"isLiking": false,
"isSaved": false,
"isPinned": false,
"isRequesterBlocking": false,
"isInteractionRestricted": false
}
}Update a comment
Edits the authenticated user’s own comment in-place. Sets editStatus to Edited. Emotion counts, repliesCount, and created are preserved. Owner is derived from the auth token.
curl --request PUT \
--url https://public-api.etoro.com/api/v1/posts/{postId}/comments/{commentId} \
--header 'Authorization: Bearer <token>' \
--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 '
{
"message": "Great point, I updated my view after reading more.",
"attachments": [
{
"url": "https://cdn.etoro.com/rich-media/images/johndoe/abc-2025-01-15.jpg",
"title": "Tesla Q4 Earnings Chart",
"host": "cdn.etoro.com",
"description": "Tesla quarterly earnings breakdown",
"mediaType": "Image",
"media": {
"image": {
"width": 1200,
"height": 630,
"url": "https://cdn.etoro.com/rich-media/images/johndoe/abc-2025-01-15.jpg"
}
}
}
]
}
'{
"entity": {
"id": "7c9e6679-7425-40de-944b-e07fc1f90ae7",
"owner": {
"id": "7890",
"username": "johndoe",
"firstName": "John",
"lastName": "Doe",
"avatar": {
"small": "https://etoro-cdn.etorostatic.com/avatars/150X150/johndoe.jpg",
"medium": "https://etoro-cdn.etorostatic.com/avatars/200X200/johndoe.jpg",
"large": "https://etoro-cdn.etorostatic.com/avatars/300X300/johndoe.jpg",
"svg": {
"url": "https://etoro-cdn.etorostatic.com/avatars/svg/johndoe.svg",
"backgroundColor": "#2196F3",
"textColor": "#FFFFFF"
}
},
"roles": [
"Regular"
],
"isBlocked": false,
"isPrivate": false,
"countryCode": 840,
"piLevel": 0
},
"obsoleteId": "98765",
"created": "2025-01-15T10:30:00Z",
"updated": "2025-01-15T11:00:00Z",
"message": {
"text": "Excited about $TSLA earnings next week!",
"languageCode": "en"
},
"attachments": [
{
"url": "https://cdn.etoro.com/rich-media/images/johndoe/abc-2025-01-15.jpg",
"title": "Tesla Q4 Earnings Chart",
"host": "cdn.etoro.com",
"description": "Tesla quarterly earnings breakdown",
"mediaType": "Image",
"media": {
"image": {
"width": 1200,
"height": 630,
"url": "https://cdn.etoro.com/rich-media/images/johndoe/abc-2025-01-15.jpg"
},
"video": {
"videoSourceId": "dQw4w9WgXcQ",
"videoSource": "YouTube",
"image": {
"width": 1280,
"height": 720,
"url": "https://img.youtube.com/vi/dQw4w9WgXcQ/hqdefault.jpg"
}
}
}
}
],
"mentions": [
{
"user": {
"id": "7890",
"username": "johndoe",
"firstName": "John",
"lastName": "Doe",
"avatar": {
"small": "https://etoro-cdn.etorostatic.com/avatars/150X150/johndoe.jpg",
"medium": "https://etoro-cdn.etorostatic.com/avatars/200X200/johndoe.jpg",
"large": "https://etoro-cdn.etorostatic.com/avatars/300X300/johndoe.jpg",
"svg": {
"url": "https://etoro-cdn.etorostatic.com/avatars/svg/johndoe.svg",
"backgroundColor": "#2196F3",
"textColor": "#FFFFFF"
}
},
"roles": [
"Regular"
],
"isBlocked": false,
"isPrivate": false,
"countryCode": 840,
"piLevel": 0
},
"isDirect": true
}
],
"tags": [
{
"market": {
"id": "TSLA",
"symbolName": "TSLA",
"displayName": "Tesla",
"updated": "2025-01-15T00:00:00Z",
"assetType": "Stocks",
"internalId": 59114,
"avatar": {
"small": "https://cdn.etoro.com/assets/img/markets/TSLA/small.png",
"medium": "https://cdn.etoro.com/assets/img/markets/TSLA/medium.png",
"large": "https://cdn.etoro.com/assets/img/markets/TSLA/large.png",
"svg": {
"url": "https://cdn.etoro.com/assets/img/markets/TSLA/logo.svg",
"backgroundColor": "#CC0000",
"textColor": "#FFFFFF"
}
},
"application": "eToro",
"metadata": "{}",
"assetTypeId": 10,
"assetTypeSubCategoryId": 101
}
}
],
"isSpam": false,
"editStatus": "None",
"parent": {
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"obsoleteId": "12345",
"type": "Post"
}
},
"repliesCount": 2,
"replies": "<array>",
"emotionsData": {
"like": {
"paging": {
"totalCount": 42,
"offsetEntityId": "b2c3d4e5-f6a7-4890-bcde-f23456789012",
"next": "/api/v1/reactions/3fa85f64-5717-4562-b3fc-2c963f66afa6/emotions?offset=10&take=10"
},
"emotions": [
{
"type": "Like",
"id": "b2c3d4e5-f6a7-4890-bcde-f23456789012",
"owner": {
"id": "7890",
"username": "johndoe",
"firstName": "John",
"lastName": "Doe",
"avatar": {
"small": "https://etoro-cdn.etorostatic.com/avatars/150X150/johndoe.jpg",
"medium": "https://etoro-cdn.etorostatic.com/avatars/200X200/johndoe.jpg",
"large": "https://etoro-cdn.etorostatic.com/avatars/300X300/johndoe.jpg",
"svg": {
"url": "https://etoro-cdn.etorostatic.com/avatars/svg/johndoe.svg",
"backgroundColor": "#2196F3",
"textColor": "#FFFFFF"
}
},
"roles": [
"Regular"
],
"isBlocked": false,
"isPrivate": false,
"countryCode": 840,
"piLevel": 0
},
"obsoleteId": "54321",
"parent": {
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"obsoleteId": "12345",
"type": "Post"
},
"created": "2025-01-15T10:30:00Z"
}
]
}
},
"requesterContext": {
"isOwner": false,
"isFlaggingAsSpam": false,
"isSubscribed": false,
"isLiking": false,
"isSaved": false,
"isPinned": false,
"isRequesterBlocking": false,
"isInteractionRestricted": false
}
}Authorizations
eToro OAuth2. Each operation lists the scopes that grant access as separate security requirements (OpenAPI OR semantics): the caller's token only needs ONE of them — you do NOT need all of them. The same scopes back the x-api-key/x-user-key credential pair.
Headers
A unique request identifier.
"3ecd6da3-5962-4037-94be-53ed8eb83358"
API key for authentication.
"lhgfaslk21490FAScVPkdsb53F9dNkfHG4faZSG5vfjndfcfgdssdgsdHF4663"
User-specific authentication key.
"eyJlYW4iOiJVbnJlZ2lzdGVyZWRBcHBsaWNhdGlvbiIsImVrIjoiOE5sZ2cwcW5EUVdROUFNWGpXT2lmOWktZnpidG5KcUlqWGJ3WHJZZkpZcldrbG90ZEhvLVBjSWhQaU8xU1ZtMW84aU1WZGZqN2xWNzFjLXFxLmcybXE1dnh4Q1hUT25xaWRUaTFlcEhmVk1fIn0_"
Path Parameters
ID of the parent post (UUID)
ID of the comment (UUID)
Body
Updated comment content
Request body for updating a comment or reply. Owner is derived from the auth token — do not supply it.
Response
Updated comment
A comment (or reply) on a post, wrapped with interaction data
Core comment data
Show child attributes
Show child attributes
Number of direct replies to this comment
2
Inline reply preview. Each entry has the same shape as Comment; nested replies arrays are not populated at this level.
Aggregated emotions (likes) on an entity
Show child attributes
Show child attributes
Requester's relationship state with the comment
Show child attributes
Show child attributes