curl --request GET \
--url https://public-api.etoro.com/api/v1/feeds/user/{userId} \
--header 'x-api-key: <x-api-key>' \
--header 'x-request-id: <x-request-id>' \
--header 'x-user-key: <x-user-key>'{
"discussions": [
{
"id": "<string>",
"post": {
"id": "<string>",
"owner": {
"id": "<string>",
"username": "<string>",
"firstName": "<string>",
"lastName": "<string>",
"avatar": {
"small": "<string>",
"medium": "<string>",
"large": "<string>"
},
"roles": [
"<string>"
],
"isBlocked": true,
"isPrivate": true,
"countryCode": 123,
"piLevel": 123
},
"obsoleteId": "<string>",
"message": {
"text": "<string>",
"languageCode": "<string>"
},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"type": "<string>",
"isDeleted": true,
"isSpam": true,
"editStatus": "None",
"attachments": [
{
"type": "image",
"url": "<string>",
"thumbnailUrl": "<string>",
"host": "<string>",
"mediaType": "None",
"media": {},
"metadata": {
"width": 123,
"height": 123,
"duration": 123
}
}
],
"tags": [
{
"market": {
"id": "<string>",
"symbolName": "<string>",
"displayName": "<string>",
"updated": "<string>",
"assetType": "<string>",
"internalId": 123,
"avatar": {
"small": "<string>",
"medium": "<string>",
"large": "<string>",
"svg": {
"url": "<string>",
"backgroundColor": "<string>",
"textColor": "<string>"
}
},
"application": "<string>",
"metadata": "<string>",
"assetTypeId": 123,
"assetTypeSubCategoryId": 123
}
}
],
"mentions": [
{
"user": {
"id": "<string>",
"username": "<string>",
"firstName": "<string>",
"lastName": "<string>",
"avatar": {
"small": "<string>",
"medium": "<string>",
"large": "<string>"
},
"roles": [
"<string>"
],
"isBlocked": true,
"isPrivate": true,
"countryCode": 123,
"piLevel": 123
},
"isDirect": true
}
],
"metadata": {
"share": {
"sharedPost": "<string>",
"sharedOriginPost": "<string>"
},
"poll": {
"id": 123,
"title": "<string>",
"gcid": 123,
"options": [
{
"id": 123,
"index": 123,
"text": "<string>",
"isUserVoted": true,
"votesCount": 123
}
]
}
}
},
"commentsData": {
"reactionPaging": {
"totalCount": 123
},
"comments": [
{
"entity": {
"message": {
"text": "<string>",
"languageCode": "<string>"
},
"id": "<string>",
"owner": {
"id": "<string>",
"username": "<string>",
"firstName": "<string>",
"lastName": "<string>",
"avatar": {
"small": "<string>",
"medium": "<string>",
"large": "<string>"
},
"roles": [
"<string>"
],
"isBlocked": true,
"isPrivate": true,
"countryCode": 123,
"piLevel": 123
},
"created": "2023-11-07T05:31:56Z",
"obsoleteId": "<string>",
"attachments": [
{
"type": "image",
"url": "<string>",
"thumbnailUrl": "<string>",
"host": "<string>",
"mediaType": "None",
"media": {},
"metadata": {
"width": 123,
"height": 123,
"duration": 123
}
}
],
"isSpam": true,
"editStatus": "None",
"parent": {
"id": "<string>",
"obsoleteId": "<string>",
"type": "<string>"
}
},
"repliesCount": 123,
"replies": [
{}
],
"emotionsData": {
"like": {
"paging": {
"totalCount": 123
},
"emotions": [
{
"type": "<string>",
"id": "<string>",
"owner": {
"id": "<string>",
"username": "<string>",
"firstName": "<string>",
"lastName": "<string>",
"avatar": {
"small": "<string>",
"medium": "<string>",
"large": "<string>"
},
"roles": [
"<string>"
],
"isBlocked": true,
"isPrivate": true,
"countryCode": 123,
"piLevel": 123
},
"obsoleteId": "<string>",
"parent": {
"id": "<string>",
"obsoleteId": "<string>",
"type": "<string>"
},
"created": "2023-11-07T05:31:56Z"
}
]
}
},
"requesterContext": {
"isFlaggingAsSpam": true,
"isSubscribed": true,
"isLiking": true,
"isSaved": true,
"isPinned": true,
"isRequesterBlocking": true,
"isInteractionRestricted": true,
"isFollowing": true
}
}
]
},
"emotionsData": {
"like": {
"paging": {
"totalCount": 123
},
"emotions": [
{
"type": "<string>",
"id": "<string>",
"owner": {
"id": "<string>",
"username": "<string>",
"firstName": "<string>",
"lastName": "<string>",
"avatar": {
"small": "<string>",
"medium": "<string>",
"large": "<string>"
},
"roles": [
"<string>"
],
"isBlocked": true,
"isPrivate": true,
"countryCode": 123,
"piLevel": 123
},
"obsoleteId": "<string>",
"parent": {
"id": "<string>",
"obsoleteId": "<string>",
"type": "<string>"
},
"created": "2023-11-07T05:31:56Z"
}
]
}
},
"requesterContext": {
"isFlaggingAsSpam": true,
"isSubscribed": true,
"isLiking": true,
"isSaved": true,
"isPinned": true,
"isRequesterBlocking": true,
"isInteractionRestricted": true,
"isFollowing": true
},
"summary": {
"totalCommentsAndReplies": 123,
"sharedCount": 123
},
"reason": "<unknown>"
}
],
"paging": {
"next": "<string>",
"offSet": 123,
"take": 123,
"version": "<string>"
},
"metadata": {
"experimentName": "<string>",
"streamType": "<string>",
"designatedStreamType": "<string>"
}
}Retrieves feed posts associated with a specific user. The feed includes the user’s discussions, analyses, and other content they have posted.
curl --request GET \
--url https://public-api.etoro.com/api/v1/feeds/user/{userId} \
--header 'x-api-key: <x-api-key>' \
--header 'x-request-id: <x-request-id>' \
--header 'x-user-key: <x-user-key>'{
"discussions": [
{
"id": "<string>",
"post": {
"id": "<string>",
"owner": {
"id": "<string>",
"username": "<string>",
"firstName": "<string>",
"lastName": "<string>",
"avatar": {
"small": "<string>",
"medium": "<string>",
"large": "<string>"
},
"roles": [
"<string>"
],
"isBlocked": true,
"isPrivate": true,
"countryCode": 123,
"piLevel": 123
},
"obsoleteId": "<string>",
"message": {
"text": "<string>",
"languageCode": "<string>"
},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"type": "<string>",
"isDeleted": true,
"isSpam": true,
"editStatus": "None",
"attachments": [
{
"type": "image",
"url": "<string>",
"thumbnailUrl": "<string>",
"host": "<string>",
"mediaType": "None",
"media": {},
"metadata": {
"width": 123,
"height": 123,
"duration": 123
}
}
],
"tags": [
{
"market": {
"id": "<string>",
"symbolName": "<string>",
"displayName": "<string>",
"updated": "<string>",
"assetType": "<string>",
"internalId": 123,
"avatar": {
"small": "<string>",
"medium": "<string>",
"large": "<string>",
"svg": {
"url": "<string>",
"backgroundColor": "<string>",
"textColor": "<string>"
}
},
"application": "<string>",
"metadata": "<string>",
"assetTypeId": 123,
"assetTypeSubCategoryId": 123
}
}
],
"mentions": [
{
"user": {
"id": "<string>",
"username": "<string>",
"firstName": "<string>",
"lastName": "<string>",
"avatar": {
"small": "<string>",
"medium": "<string>",
"large": "<string>"
},
"roles": [
"<string>"
],
"isBlocked": true,
"isPrivate": true,
"countryCode": 123,
"piLevel": 123
},
"isDirect": true
}
],
"metadata": {
"share": {
"sharedPost": "<string>",
"sharedOriginPost": "<string>"
},
"poll": {
"id": 123,
"title": "<string>",
"gcid": 123,
"options": [
{
"id": 123,
"index": 123,
"text": "<string>",
"isUserVoted": true,
"votesCount": 123
}
]
}
}
},
"commentsData": {
"reactionPaging": {
"totalCount": 123
},
"comments": [
{
"entity": {
"message": {
"text": "<string>",
"languageCode": "<string>"
},
"id": "<string>",
"owner": {
"id": "<string>",
"username": "<string>",
"firstName": "<string>",
"lastName": "<string>",
"avatar": {
"small": "<string>",
"medium": "<string>",
"large": "<string>"
},
"roles": [
"<string>"
],
"isBlocked": true,
"isPrivate": true,
"countryCode": 123,
"piLevel": 123
},
"created": "2023-11-07T05:31:56Z",
"obsoleteId": "<string>",
"attachments": [
{
"type": "image",
"url": "<string>",
"thumbnailUrl": "<string>",
"host": "<string>",
"mediaType": "None",
"media": {},
"metadata": {
"width": 123,
"height": 123,
"duration": 123
}
}
],
"isSpam": true,
"editStatus": "None",
"parent": {
"id": "<string>",
"obsoleteId": "<string>",
"type": "<string>"
}
},
"repliesCount": 123,
"replies": [
{}
],
"emotionsData": {
"like": {
"paging": {
"totalCount": 123
},
"emotions": [
{
"type": "<string>",
"id": "<string>",
"owner": {
"id": "<string>",
"username": "<string>",
"firstName": "<string>",
"lastName": "<string>",
"avatar": {
"small": "<string>",
"medium": "<string>",
"large": "<string>"
},
"roles": [
"<string>"
],
"isBlocked": true,
"isPrivate": true,
"countryCode": 123,
"piLevel": 123
},
"obsoleteId": "<string>",
"parent": {
"id": "<string>",
"obsoleteId": "<string>",
"type": "<string>"
},
"created": "2023-11-07T05:31:56Z"
}
]
}
},
"requesterContext": {
"isFlaggingAsSpam": true,
"isSubscribed": true,
"isLiking": true,
"isSaved": true,
"isPinned": true,
"isRequesterBlocking": true,
"isInteractionRestricted": true,
"isFollowing": true
}
}
]
},
"emotionsData": {
"like": {
"paging": {
"totalCount": 123
},
"emotions": [
{
"type": "<string>",
"id": "<string>",
"owner": {
"id": "<string>",
"username": "<string>",
"firstName": "<string>",
"lastName": "<string>",
"avatar": {
"small": "<string>",
"medium": "<string>",
"large": "<string>"
},
"roles": [
"<string>"
],
"isBlocked": true,
"isPrivate": true,
"countryCode": 123,
"piLevel": 123
},
"obsoleteId": "<string>",
"parent": {
"id": "<string>",
"obsoleteId": "<string>",
"type": "<string>"
},
"created": "2023-11-07T05:31:56Z"
}
]
}
},
"requesterContext": {
"isFlaggingAsSpam": true,
"isSubscribed": true,
"isLiking": true,
"isSaved": true,
"isPinned": true,
"isRequesterBlocking": true,
"isInteractionRestricted": true,
"isFollowing": true
},
"summary": {
"totalCommentsAndReplies": 123,
"sharedCount": 123
},
"reason": "<unknown>"
}
],
"paging": {
"next": "<string>",
"offSet": 123,
"take": 123,
"version": "<string>"
},
"metadata": {
"experimentName": "<string>",
"streamType": "<string>",
"designatedStreamType": "<string>"
}
}A unique request identifier.
"65b2e446-c20b-4e1e-84fd-e367009c083e"
API key for authentication.
"lhgfaslk21490FAScVPkdsb53F9dNkfHG4faZSG5vfjndfcfgdssdgsdHF4663"
User-specific authentication key.
"eyJlYW4iOiJVbnJlZ2lzdGVyZWRBcHBsaWNhdGlvbiIsImVrIjoiOE5sZ2cwcW5EUVdROUFNWGpXT2lmOWktZnpidG5KcUlqWGJ3WHJZZkpZcldrbG90ZEhvLVBjSWhQaU8xU1ZtMW84aU1WZGZqN2xWNzFjLXFxLmcybXE1dnh4Q1hUT25xaWRUaTFlcEhmVk1fIn0_"
ID of the user whose feed posts should be retrieved
ID of the user making the request. Used for personalization and permission checks.
Number of feed posts to retrieve. Used for pagination.
1 <= x <= 100Flag indicating whether to include user badges in the response. Part of badges feature experiment.
Number of feed posts to skip. Used for pagination in combination with take parameter.
x >= 0Number of reactions to include per post. Controls the pagination of post reactions.
1 <= x <= 50