POST https://api.cryptohopper.com/v1/social/post/{id}/comment

Adds a comment to a post. The response contains the parent post with the new comment in item, so you can refresh the thread from one call.

OAuth scope: manage About scopes

Accepts the same message, media, video and location fields as Create a social post. You can comment at most once every 10 seconds, and once every 20 seconds on the same post.

Example request

curl -X POST "https://api.cryptohopper.com/v1/social/post/POST_ID/comment" \
  -H "access-token: YOUR_ACCESS_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"message":"Same here, waiting for a breakout"}'

Parameters

Headers

NameTypeRequiredDescription
access-token string Required The OAuth access token of the user.

Path parameters

NameTypeRequiredDescription
id string Required Numeric ID of the post to comment on.

Response

Example response (illustrative values)

{
    "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,
        "profile_link": "/social/profile/trader-jane",
        "following": 0,
        "status": 1,
        "item": {
            "id": "778899",
            "post_id": "123456",
            "profile_id": "5678",
            "location": "",
            "message": "Same here, waiting for a breakout",
            "media_url": "",
            "created": 1790317800,
            "updated": 1790317800,
            "private_message": "0",
            "profile_alias": "hodl-henk",
            "profile_image": "https://cdn.example.com/images/social/uploads/avatar_4567.jpg",
            "profile_name": "Hodl Henk",
            "verified": "0",
            "total_likes": "2",
            "liked": 0,
            "profile_link": "/social/profile/hodl-henk",
            "reposted": 0,
            "commented": 0,
            "following": 0
        }
    }
}

Status codes: 200. Errors return JSON with status, error and message. See How the API works for response codes and rate limits.