Use Stocktwits Trending API
Maxime Dupré
Stocktwits Scraper
Use Stocktwits Trending API to collect up to 30 current trending messages. Include posts with any trader sentiment, with or without a price target.
Input
Output fields
Sign up on Apify or log in
The Stocktwits Scraper Actor is ready to run with the inputs already set for "Use Stocktwits Trending API". Sign up or log in and you'll land in Apify Console with a copy of this exact task.
Start the "Use Stocktwits Trending API" task
The Stocktwits Scraper Actor will start running based on the input automatically. You can also change all the input fields, like result type, message limit per input or feed, and more, to match your specific use case.
Receive the "Use Stocktwits Trending API" output
Monitor the progress in real time. You will be notified as soon as your dataset is complete and ready for review. Each result includes data such as result type, message id, matched input, and more.
Integrate into your workflow
The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow. You can also run the "Use Stocktwits Trending API" task via API.

The Use Stocktwits Trending API task returns up to 30 public Stocktwits messages for the trending feed. Each row can hold the message ID, text, date, author, likes, cashtags, and the author's sentiment label.
The Use Stocktwits Trending API task can keep only messages that the author marked Bullish or Bearish. Set sentiment to bullish or bearish. The value all keeps every message.
The Use Stocktwits Trending API task returns only posts with a price target when you turn on onlyPriceTargets. Leave it off to get posts with or without a price target.
The Use Stocktwits Trending API task can collect older messages with olderThanMessageId. It saves only messages with a lower ID. Use newerThanMessageId to get only messages that are newer than an ID.
The Use Stocktwits Trending API task uses maxMessagesPerTarget, now set to 30. Change it to read more or fewer messages. Set 0 to read until the public feed has no more messages.
The Use Stocktwits Trending API task charges once for each row saved to the dataset: $0.00045 on the Apify Free plan and $0.00005 on paid plans. Author like counts cost extra and are off by default.
The Use Stocktwits Trending API task can run from the Apify API. Start the task with your Apify token, then read the results from its dataset as JSON.
The Use Stocktwits Trending API task works with the Apify Python client. Call the task by its ID, wait for the run, and then read the dataset items in your Python code.
The Use Stocktwits Trending API task can run on an Apify schedule, such as every hour or every day. Each run saves a new dataset.
The Use Stocktwits Trending API task saves rows to an Apify dataset. You can download it as JSON, CSV, Excel, XML, or HTML.