GET
https://api.cryptohopper.com/v1/social/feed
Returns the newest 30 posts from you and the profiles you follow, including posts that you or the profiles you follow reposted. Profiles you blocked and banned profiles are left out.
OAuth scope:
read About scopes
created and updated are Unix timestamps. For a repost, repost is "1" and the reposter fields describe who reposted it.
Example request
curl "https://api.cryptohopper.com/v1/social/feed" \
-H "access-token: YOUR_ACCESS_TOKEN"
const response = await fetch('https://api.cryptohopper.com/v1/social/feed', {
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",
headers={
"access-token": "YOUR_ACCESS_TOKEN"
},
)
data = response.json()
$ch = curl_init('https://api.cryptohopper.com/v1/social/feed');
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. |
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"
}
]
}