Skip to content

News digest

A plain-text digest of the latest scored news for each coin on your list: every headline with its tone and the coins it mentions, ready for email, Slack, or RSS.

Inform Crypto 1 tool 9 tokens / run Python · Node.js

What this recipe solves

Staying on top of crypto news means scanning dozens of sources. This script pulls the latest items Guavy has read and scored for each coin and formats them for email, Slack, or RSS.

Copy, run, ship

Drop this script into your project and run it locally or on a cron. Set GUAVY_KEY in your environment, swap the symbols, and go.

Python
# digest.py
import os, requests

API     = "https://guavy.com/api/v1"
H       = {"Authorization": f"Bearer {os.environ['GUAVY_KEY']}"}
SYMBOLS = ["BTC", "ETH", "SOL"]

for sym in SYMBOLS:
    briefs = requests.get(
        f"{API}/newsroom/get-recent-briefs/{sym}",
        headers=H,
        params={"limit": 3}
    ).json()["briefs"]
    for b in briefs:
        print(f"- [{b['tone']}] {b['title']}")
        print(f"  coins: {', '.join(b.get('symbols', []))}")

1 tool, one script

This script calls 1 endpoint from the Guavy REST API. Every data point maps back to the endpoint it came from.

What the script prints

Output from a real run of this script.

news-digest.out REST
- [neutral] Saylor: 100 Million People Now Indirectly Own Bitcoin Through Strategy Stock
  coins: BTC, crypto
- [formal] JP Morgan Warns Retail Holders of Strategy's STRC Face Deepening Losses
  coins: BTC
- [neutral] Bitcoin Plunges to 2024 Lows Amid Regulatory Uncertainty
  coins: BTC, NFP, crypto

Run this recipe on the free plan

Grab a free API key, set it as an env var, and run the script. Free sandbox forever.