Add a mood chart to an article
A chart of the market mood or of an asset's mentions makes a market article easier to follow. Here is how to get the numbers and mark the dates your text talks about.
You need: an API key (opens in a new tab) and any charting tool you like. Each request uses credits.
Choose what to show
Decide whether the article is about the whole market or one asset. The first needs the index, the second the mentions of the asset.
Pull the series
Call
get_market_indexfor the mood, orget_chart_datawith kindmentionsfor one asset. Use 30 or 90 days.

Draw the chart
Draw it in your own tool. Mark the dates the article talks about and give the chart a plain title.
Link the source
Under the chart, link the Sentiment index (opens in a new tab) or the asset page, so readers can look at the latest values.
What you will see
A clean chart with the dates of your story marked, and a link to the source.
Data used
get_market_indexorget_chart_datawith kindmentions, through the API (opens in a new tab).Limits
- A chart shows mood or attention, not prices.
- Say which days the chart covers.
More use cases
Compare mood and attention
Attention rising while the mood falls may point to worry building around an asset.
Show the mood in your own app
Display the AssetFeed Sentiment Index in a dashboard, a widget or an app.
Look at the market mood over a year
A long view shows how the market mood moved through different periods, not only this week.
Compare a coin's mood with the whole market
See whether the mood around one coin moves with the mood of the whole market, or on its own.