GET
https://api.cryptohopper.com/v1/social/feed/{start}/{end}
Returns your social feed, in the same format as Get your social feed.
OAuth scope:
read About scopes
In the current code both start and end have no effect: the response is always the newest 30 posts, the same as Get your social feed.
Example request
curl "https://api.cryptohopper.com/v1/social/feed/START/END" \
-H "access-token: YOUR_ACCESS_TOKEN"
const response = await fetch('https://api.cryptohopper.com/v1/social/feed/START/END', {
method: 'GET',
headers: {
"access-token": "YOUR_ACCESS_TOKEN"
}
});
const data = await response.json();
import requests
response = requests.get(
"https://api.cryptohopper.com/v1/social/feed/START/END",
headers={
"access-token": "YOUR_ACCESS_TOKEN"
},
)
data = response.json()
$ch = curl_init('https://api.cryptohopper.com/v1/social/feed/START/END');
curl_setopt_array($ch, [
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => [
'access-token: YOUR_ACCESS_TOKEN',
],
]);
$data = json_decode(curl_exec($ch), true);
Parameters
Headers
| Name | Type | Required | Description |
|---|---|---|---|
access-token |
string | Required | The OAuth access token of the user. |
Path parameters
| Name | Type | Required | Description |
|---|---|---|---|
end |
string | Required | Forwarded to the handler, which does not read it. |
start |
string | Required | Intended as a paging cursor. Forwarded to the handler, which currently does not apply it to the feed query. |
Response
{
"data": [
{
"id": "123456",
"profile_id": "4567",
"location": "NL",
"message": "Watching BTC closely today #bitcoin",
"media_url": "",
"created": 1790316000,
"updated": 1790316000,
"private_message": "0",
"profile_alias": "trader-jane",
"profile_image": "https://cdn.example.com/images/social/uploads/avatar_4567.jpg",
"profile_name": "Trader Jane",
"verified": "0",
"total_likes": "12",
"total_comments": "3",
"total_reposts": "1",
"liked": 0,
"commented": 0,
"reposted": 0,
"following": 1,
"repost": "0",
"reposter_id": "0",
"reposter_name": "",
"reposter_alias": "",
"profile_link": "/social/profile/trader-jane"
}
]
}