使用 streams/symbols 检索超过 30 条消息

Retrieving more than 30 messages using streams/symbols

背景

给定一个符号(即现金标签),我需要检索从 2015 年到 2019 年的推文,以便对研究项目进行情绪分析。

问题

public API 仅限于最后 30 条消息,如 https://api.stocktwits.com/developers/docs/api#streams-symbols-docs 中所述。

https://api.stocktwits.com/api/2/streams/symbol/NVDA.json

我以经过身份验证的方式尝试了相同的请求,但我遇到了相同的限制。

https://api.stocktwits.com/api/2/streams/symbol/NVDA.json?access_token=<access_token>

问题

有没有办法解决这个限制?

是的,有。您应该联系他们的支持团队,以获得合作伙伴级别的访问权限来下载历史数据。

"There are some endpoints and data that are not available in the public Stocktwits API, including the full firehose data stream of our content. You may also have an application that requires higher usage limits (rate, message or other limits) than the public API. These additional capabilities are highlighted in the API documentation. If your application requires access to these capabilities, please contact our team to discuss."

https://api.stocktwits.com/developers/contact