# Template 02: Bitcoin Price & News Daily Brief

> One short morning message: where bitcoin's price is, what's happening on-chain, and the 3–5 news stories actually worth your time.

## Who it's for

Bitcoiners, miners and investors who want to stay informed in two minutes a day, without doom-scrolling X or opening ten news sites.

## What it does

Every morning it sends a brief with:

1. **Price snapshot**: BTC price in USD (and your local currency if you want), 24h change, 7-day change, market cap.
2. **Network snapshot**: recommended fees (sat/vB), current hashrate, and the next difficulty adjustment estimate.
3. **Top stories**: 3–5 headlines from the last 24 hours, de-duplicated, each with a one-line "why it matters" and a link.
4. **Watch today**: anything scheduled (e.g. a difficulty adjustment landing today, an ETF flow report, a big conference) that came up in the news.

It only reports what it actually fetched, links every story, and keeps opinion out of the facts.

## Required connectors & data sources

All free and public.

| What | Source | Endpoint / link |
|---|---|---|
| Price, 24h change, market cap | CoinGecko | `GET https://api.coingecko.com/api/v3/simple/price?ids=bitcoin&vs_currencies=usd&include_24hr_change=true&include_market_cap=true` |
| 7-day price history | CoinGecko | `GET https://api.coingecko.com/api/v3/coins/bitcoin/market_chart?vs_currency=usd&days=7` |
| Fees | mempool.space | `GET https://mempool.space/api/v1/fees/recommended` |
| Hashrate | mempool.space | `GET https://mempool.space/api/v1/mining/hashrate/3d` |
| Difficulty adjustment | mempool.space | `GET https://mempool.space/api/v1/difficulty-adjustment` |
| News (RSS) | CoinDesk | `https://www.coindesk.com/arc/outboundfeeds/rss` |
| News (RSS) | Cointelegraph | `https://cointelegraph.com/rss` |
| News (RSS) | The Block | `https://www.theblock.co/rss.xml` |
| News (RSS) | Decrypt | `https://decrypt.co/feed` |
| News (search) | Google News RSS | `https://news.google.com/rss/search?q=bitcoin&hl=en-US&gl=US&ceid=US:en` |
| Social pulse (optional) | X | Grok Bot's built-in X search only. The X API has no free tier (it's pay-per-use), so the n8n version skips X and uses RSS only. |
| Delivery | Your choice | Grok Bot chat, email, Telegram or Slack |

**Everything above is free.** CoinGecko works without a key but is rate-limited; a once-a-day brief is well within it. For steadier access, get a free CoinGecko Demo API key (10,000 calls/month). RSS feeds are free but occasionally change address or block automated readers. If a feed fails, the brief just uses the others.

---

## Grok Bot version

**Suggested schedule:** every day at 7:00 AM your local time. Optional: a short "evening close" at 9:00 PM with just price and any big breaking story.

Copy-paste this to your Grok Bot assistant:

```text
Set up a recurring routine for me called "Bitcoin Daily Brief".

SCHEDULE: Every day at 7:00 AM my local time.

EACH RUN:
1. PRICE: Fetch
   https://api.coingecko.com/api/v3/simple/price?ids=bitcoin&vs_currencies=usd&include_24hr_change=true&include_market_cap=true
   and https://api.coingecko.com/api/v3/coins/bitcoin/market_chart?vs_currency=usd&days=7
   Report price, 24h %, 7d % (first vs last price in the 7-day data), and market cap.
2. NETWORK: Fetch
   https://mempool.space/api/v1/fees/recommended (fastestFee, halfHourFee, hourFee),
   https://mempool.space/api/v1/mining/hashrate/3d (currentHashrate, convert H/s to EH/s),
   https://mempool.space/api/v1/difficulty-adjustment (difficultyChange %, remainingBlocks).
3. NEWS: Read the last 24 hours of these feeds:
   https://www.coindesk.com/arc/outboundfeeds/rss
   https://cointelegraph.com/rss
   https://www.theblock.co/rss.xml
   https://decrypt.co/feed
   Also do a web search and an X search for the biggest bitcoin stories of the last 24h.
   Pick the 3–5 most important bitcoin-specific stories (skip altcoin-only news and
   sponsored/press-release posts). Merge duplicates covering the same event.
   For each: headline, one sentence on why it matters, source name, link.
4. WATCH TODAY: List anything happening today that came up in the news or data
   (e.g. a difficulty adjustment landing within ~144 blocks). Skip this section if nothing.

FORMAT: Title line with the date. Then sections: Price, Network, Top Stories, Watch Today.
Under 250 words. Plain English, no hype, no price predictions, no financial advice.

RULES:
- Use only numbers you actually fetched. If a source fails, say "unavailable" for that
  line rather than guessing.
- Every news item must have a real link from the feed or search result.
- Clearly separate facts from opinion. If a story is a rumor or a single-source claim, say so.
```

**Customize it:** add *"Also show the price in EUR"* (add `eur` to `vs_currencies`), or *"Add a section on mining news"* (Grok Bot can add `https://news.google.com/rss/search?q=bitcoin+mining&hl=en-US&gl=US&ceid=US:en`).

---

## Portable version

### ChatGPT / Claude (free plans work)

Paste this into ChatGPT's Custom Instructions, or a Project if your plan has one, or just at the start of a new chat. Free plans have daily message limits, and web browsing/search may be limited or slower on free plans. If it can't browse, paste the data in.

Use with web browsing / search turned on. Each morning, open the project and type **"brief"**.

```text
You write my Bitcoin Daily Brief. When I say "brief":

1. Price: get BTC/USD price, 24h change and market cap from
   https://api.coingecko.com/api/v3/simple/price?ids=bitcoin&vs_currencies=usd&include_24hr_change=true&include_market_cap=true
2. Network: fees from https://mempool.space/api/v1/fees/recommended and the next difficulty
   adjustment from https://mempool.space/api/v1/difficulty-adjustment
3. News: search the last 24 hours (CoinDesk, Cointelegraph, The Block, Decrypt) and pick the
   3–5 most important bitcoin stories. Merge duplicates. One line each on why it matters, with a link.
4. Watch today: anything scheduled today, if any.

Under 250 words. Plain English, no hype, no predictions, no financial advice.
Never invent a number or a link. If you can't fetch something, say "unavailable".
If you can't browse, tell me and I'll paste the data.
```

### n8n workflow outline (nodes in order)

> **$0 n8n:** use **self-hosted n8n Community Edition** (free) on your own computer, e.g. `npx n8n` or Docker. n8n Cloud is a paid product, so skip it. Limit: workflows only run while that computer is on and awake.

1. **Schedule Trigger**: daily, 7:00 AM.
2. **HTTP Request**: CoinGecko `simple/price` (with `include_24hr_change` and `include_market_cap`).
3. **HTTP Request**: CoinGecko `coins/bitcoin/market_chart?vs_currency=usd&days=7`.
4. **HTTP Request**: mempool.space `fees/recommended`.
5. **HTTP Request**: mempool.space `difficulty-adjustment` (and `mining/hashrate/3d`).
6. **RSS Feed Read** ×4: CoinDesk, Cointelegraph, The Block, Decrypt.
7. **Merge** (append) the RSS items → **Filter**: keep items with `pubDate` in the last 24h.
8. **Code**: compute 7d % change, convert hashrate to EH/s, trim each news item to title + link + first 300 chars.
9. **AI node** (free options: the **Google Gemini Chat Model** node using a free-tier Gemini API key, or the **Ollama Chat Model** node running a free local model on your own computer, either one plugged into a **Basic LLM Chain**): prompt = the portable instructions above + the JSON from steps 2–8. Ask it to pick 3–5 stories and write the brief, using only the provided data.
10. **Send**: **Send Email**, **Telegram**, or **Slack** node.

---

## 2-minute setup guide

1. **Copy the Grok Bot prompt** above and paste it into your Grok Bot assistant.
2. **Change the time** if 7:00 AM isn't right, and say where you want it delivered (chat or email).
3. **Ask for a test run:** *"Send me today's brief now."*
4. **Tune it once:** reply with what you'd change (*"shorter," "add EUR," "more mining news"*). Your assistant will update the routine.

---

## Example output

> ⚠️ **EXAMPLE DATA. Made-up numbers and headlines to show the format. Not real prices or news.**

```text
₿ Bitcoin Daily Brief: Thu, Oct 15 (example)

PRICE
• $100,000  (24h: +1.2% · 7d: −3.4%)
• Market cap: $1.99T

NETWORK
• Fees: 12 sat/vB fast · 8 half-hour · 5 hour
• Hashrate: ~1,000 EH/s
• Next difficulty adjustment: est. +1.8% in ~3 days

TOP STORIES
1. Example Corp adds BTC to its treasury. Another public company joins the trend;
   watch for copycats. (Example News, link)
2. Example Mining Co. reports Q3 output. Useful read on how miners are coping with
   current hashprice. (Example Wire, link)
3. Example bill introduced on self-custody. Early stage; single source so far.
   (Example Times, link)

WATCH TODAY
• Nothing scheduled. Difficulty adjustment lands this weekend.
```
