Skip to main content
POST
/
api
/
v1
/
feeds
/
post
Create a new discussion post
curl --request POST \
  --url https://public-api.etoro.com/api/v1/feeds/post \
  --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": "Just opened a long position on $TSLA — strong earnings ahead!",
  "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"
        }
      }
    }
  ]
}
'
{
  "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
  "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": "12345",
  "created": "2025-01-15T10:30:00Z",
  "message": {
    "text": "Excited about $TSLA earnings next week!",
    "languageCode": "en"
  },
  "updated": "2025-01-16T08:00:00Z",
  "isDeleted": false,
  "type": "Default",
  "metadata": {
    "share": {
      "sharedPost": "<unknown>",
      "sharedOriginPost": "<unknown>"
    },
    "marketEvent": {
      "earningReportId": 1042,
      "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
      },
      "stocksIndustryId": 15,
      "earningsDate": "2025-01-15T10:30:00Z",
      "isBeforeMarketOpen": true,
      "earningsYear": 2025,
      "earningsQuarter": 1,
      "verified": true,
      "marketCap": 800000000000,
      "estimatedEps": 1.42,
      "estimatedSales": 25000000000,
      "tagName": "Reports",
      "textKey": 3
    },
    "trade": {
      "type": "Open",
      "positionId": 987654321,
      "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
      },
      "gain": 12.5,
      "rate": 245.3,
      "direction": "Long"
    },
    "order": {
      "type": "Open",
      "orderId": 123456789,
      "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
      },
      "rate": 240,
      "direction": "Long"
    },
    "copy": {
      "type": "Start",
      "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
      }
    },
    "poll": {
      "id": 55,
      "title": "Where do you see $TSLA by year-end?",
      "gcid": 7890,
      "options": [
        {
          "id": 1,
          "index": 1,
          "text": "Bullish",
          "isUserVoted": false,
          "votesCount": 128
        }
      ]
    },
    "article": {
      "id": 9001,
      "title": "Why TSLA Could Hit $500 This Year",
      "url": "https://etoro.com/news/markets/articles/why-tsla-could-hit-500",
      "rating": "Bullish",
      "featuredImage": {
        "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"
            }
          }
        }
      },
      "body": "<p>Tesla has shown strong fundamentals...</p>",
      "bodyPreview": "Tesla has shown strong fundamentals this quarter...",
      "aiSummary": "Analyst argues Tesla's pipeline supports a $500 target by year-end.",
      "languageCode": "en",
      "status": "Published",
      "editStatus": "None",
      "ownerId": 7890,
      "created": "2025-01-15T10:30:00Z",
      "updated": "2025-01-16T08:00:00Z",
      "published": "2025-01-16T09:00:00Z",
      "readingTimeMinutes": 3.5,
      "wordCount": 750
    }
  },
  "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"
          }
        }
      }
    }
  ],
  "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
      }
    }
  ],
  "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
    }
  ],
  "isSpam": false,
  "editStatus": "None"
}

Headers

x-request-id
string<uuid>
required

A unique request identifier.

Example:

"9e0c08a1-afcd-4234-87b8-47de3438bda5"

x-api-key
string<password>
required

API key for authentication.

Example:

"lhgfaslk21490FAScVPkdsb53F9dNkfHG4faZSG5vfjndfcfgdssdgsdHF4663"

x-user-key
string<password>
required

User-specific authentication key.

Example:

"eyJlYW4iOiJVbnJlZ2lzdGVyZWRBcHBsaWNhdGlvbiIsImVrIjoiOE5sZ2cwcW5EUVdROUFNWGpXT2lmOWktZnpidG5KcUlqWGJ3WHJZZkpZcldrbG90ZEhvLVBjSWhQaU8xU1ZtMW84aU1WZGZqN2xWNzFjLXFxLmcybXE1dnh4Q1hUT25xaWRUaTFlcEhmVk1fIn0_"

Body

application/json

Discussion post creation details

Request body for creating a new discussion post

message
string

Post text content (max 1000 chars)

Example:

"Just opened a long position on $TSLA — strong earnings ahead!"

attachments
object[]

List of attachments for a post or comment (request body format)

Response

201 - application/json

Post accepted successfully

A feed post returned by create / update / get-by-ID

id
string

Unique post ID

Example:

"3fa85f64-5717-4562-b3fc-2c963f66afa6"

owner
object

eToro user profile (slim projection)

obsoleteId
string

Legacy numeric post ID

Example:

"12345"

created
string<date-time>

Creation timestamp

Example:

"2025-01-15T10:30:00Z"

message
object

Post/comment text content

updated
string<date-time> | null

Last-edited timestamp

Example:

"2025-01-16T08:00:00Z"

isDeleted
boolean

True when the post has been soft-deleted

Example:

false

type
enum<string>

Post type

Available options:
Default,
Share,
MarketEvent,
Trade,
Order,
Copy,
Poll,
Article
Example:

"Default"

metadata
object

Post type–specific metadata — only the relevant key is populated

attachments
object[]
tags
object[]
mentions
object[]
isSpam
boolean

True when the post is classified as spam

Example:

false

editStatus
enum<string>

Edit lifecycle status

Available options:
None,
Edited,
Moderated
Example:

"None"