Send a daily message to a chat
A small bot posts the market mood and the trending assets to Telegram, Slack or Discord every morning.
You need: an API key (opens in a new tab), a chat where a bot may post and a place to run a scheduled script.
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.


Read the index and the trending list
In your script call
get_market_indexandget_trending.

Build one short message
Write one message: the index value, the change over a day and the top three assets. Add a link to the Sentiment index (opens in a new tab).
Schedule it
Run the script every morning with a scheduler, after the index for the previous day is ready. Send the message to your chat.
What you will see
One message in your chat every morning with the mood and the top assets.
Data used
get_market_indexandget_trendingthrough the API (opens in a new tab).Limits
- Send one message a day, not one for every change.
- Do not post advice: describe what people talk about.
More use cases
Start the day with a briefing
Ask your AI assistant what moved the market yesterday and what people talk about most.
Write a weekly market mood note
Summarize how the market mood changed during the week for your team or your clients.
Check the whole market each morning
Start the day with one short look at the market: the mood, the overview and the top assets.
Answer questions with sources
When someone asks what the market says about an asset, your assistant can answer and list links to the public posts.