Send a weekly email digest

A weekly email for your team or your users with the market mood, the top assets and a short recap.

You need: an API key (opens in a new tab), an email tool where you can fill a template and a scheduler.

  1. 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.

    The API keys page
  2. Read the three things once a week

    Call get_market_index with 7 days, get_trending and get_market_recap.

    A Python example of a request to the API
  3. Fill a template

    Put the mood at the start and end of the week, the top five assets and two lines of the recap into your email template.

  4. Send it on a schedule

    Send it on the same day every week. Add a link to the Sentiment index (opens in a new tab) at the bottom.

  • What you will see

    A weekly email with the mood, the top assets and a short recap.

  • Data used

    get_market_index, get_trending and get_market_recap through the API (opens in a new tab).

  • Limits

    • Do not present the digest as advice.
    • Check the recap text before it goes out.