Put attention charts on a watchlist page
Show a small mention chart next to each asset on your own watchlist page.
You need: an API key (opens in a new tab), a list of assets and a small chart library.
Get an API key
Create a key on the API keys (opens in a new tab) page and keep it in an environment variable, not in your code. Each request uses credits.


Request the daily mentions
For each asset call
get_chart_datawith kindmentionsand 30 days. Cache the answers, since the values change once a day.

Draw a small chart per row
Draw a small line next to each asset, without axes. Show the last value as a number beside it.
Link to the asset
Link each row to the asset page on AssetFeed, so readers can see the details.
What you will see
A watchlist page where each asset has a small chart of its daily mentions.
Data used
get_chart_datawith kindmentionsthrough the API (opens in a new tab).Limits
- Cache the values: asking for the same day again gives the same number.
- Mentions are not prices.
More use cases
Compare mood and attention
Attention rising while the mood falls may point to worry building around an asset.
Compare assets by attention
See which assets the market talks about most and how that changes over time.
Watch the assets you hold
Notice when the talk around your holdings picks up.
Use attention as a model input
Add mention counts as a feature in a forecasting or classification model.