Skip to main content
POST
/
api
/
stocktwits
/
messages
/
comments
/stocktwits/messages/comments
curl --request POST \
  --url https://api.anysite.io/api/stocktwits/messages/comments \
  --header 'Content-Type: application/json' \
  --header 'access-token: <api-key>' \
  --data '
{
  "message_id": 2,
  "count": 2,
  "timeout": 300
}
'
[
  {
    "id": 123,
    "@type": "@stocktwits_message_thread",
    "text": "<string>",
    "created_at": "<string>",
    "source": "<string>",
    "sentiment": "<string>",
    "user": {
      "id": 123,
      "alias": "<string>",
      "@type": "@stocktwits_user",
      "name": "<string>",
      "image": "<string>",
      "identity": "<string>",
      "home_country": "<string>",
      "joined_at": "<string>",
      "follower_count": 123,
      "following_count": 123,
      "idea_count": 123,
      "watchlist_stock_count": 123,
      "like_count": 123,
      "is_official": false
    },
    "symbols": [],
    "mentioned_users": [],
    "links": [],
    "media": [],
    "prices": [],
    "reply_count": 123,
    "reshare_count": 123,
    "is_reshare": false,
    "replies": []
  }
]

Authorizations

access-token
string
header
required

API token from the dashboard

Headers

access-token
string
required

Body

application/json
message_id
integer
required

Message ID

Required range: x >= 1
Example:

655453283

count
integer
required

Max number of replies to return

Required range: x >= 1
Example:

30

timeout
integer
default:300

Max scrapping execution timeout (in seconds)

Required range: 20 <= x <= 1500

Response

Successful Response

id
integer
required
@type
string
default:@stocktwits_message_thread
text
string | null
created_at
string | null
source
string | null
sentiment
string | null
user
StocktwitsUser · object
symbols
StocktwitsSymbol · object[]
mentioned_users
string[]
media
StocktwitsMedia · object[]
prices
StocktwitsMessagePrice · object[]
reply_count
integer | null
reshare_count
integer | null
is_reshare
boolean
default:false
replies
StocktwitsMessage · object[]