# Crypto Market Report — CoinMarketCap Fear & Greed Brief (`noblest_skarn/cmc-market-weather-brief`) Actor

Daily crypto market report from live CoinMarketCap data: Fear & Greed index, market cap, BTC dominance, top movers and anomaly flags, classified Storm to Heatwave by fixed rules - no LLM. English + Japanese briefs and an HTML dashboard. $0.10 per brief. Not financial advice.

- **URL**: https://apify.com/noblest_skarn/cmc-market-weather-brief.md
- **Developed by:** [Pibot Dog](https://apify.com/noblest_skarn) (community)
- **Categories:** AI, Business
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$0.10 / brief generated

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## Crypto Market Report — CoinMarketCap Fear & Greed Brief

**One run = one finished crypto market report.** This Actor reads live
CoinMarketCap (CMC) data — the **Fear and Greed index**, total market cap,
BTC dominance, top-100 breadth and top movers — classifies the market into
a "weather" regime with deterministic rules, and returns a structured
dataset item plus ready-to-read daily briefs in **English and Japanese**
and a single-file **HTML dashboard**.

### What you get

- **Market weather** — Storm / Rain / Overcast / Sunny / Heatwave, derived
  from the Fear & Greed index by fixed bands (0–24 Storm … 75–100 Heatwave),
  with the 7-day trend and delta.
- **Key figures** — total market cap and 24h change, BTC / ETH dominance,
  total 24h volume, Altcoin Season Index, CMC100.
- **Breadth** — share of the top 100 coins that rose in 24h.
- **Top movers** — gainers and losers over 24h, filtered to liquid coins
  only (24h volume ≥ $1M), so illiquid spikes don't pollute the brief.
- **Anomaly flags** — rule-based alerts, e.g. Fear & Greed swinging ≥ 10
  points in 7 days, total market cap moving ≥ 3% in 24h, BTC dominance at
  an extreme (≥ 60% or ≤ 40%).
- **Evidence** — every figure in the brief carries the CMC endpoint it came
  from, and the run lists the endpoints actually called.

Outputs:

| Output | Where |
|---|---|
| Structured result (1 item) | Default dataset |
| `brief.md` (English) | Default key-value store |
| `brief_ja.md` (Japanese) | Default key-value store |
| `dashboard.html` | Default key-value store (if enabled) |

### Why not just use a raw CMC scraper?

Raw scrapers hand you rows; you still have to interpret them. This Actor
sells the **finished analysis**:

- **Deterministic, no LLM** — the regime classification, breadth, movers
  and anomaly detection are fixed rules over the data. Run it twice on the
  same data and you get the same brief. Nothing is hallucinated.
- **Evidence-linked** — each claim carries its figure and its source
  endpoint, so you (or your own agent) can audit every line.
- **Bilingual** — the same brief in English and Japanese, plus a dashboard,
  in a single run.
- **Agent-friendly** — one structured JSON item per run makes it trivial
  to pipe into an MCP workflow, a cron job, a newsletter, or a chat bot.

### Input

All inputs are optional.

| Field | Type | Default | Description |
|---|---|---|---|
| `language` | string (`en` / `ja` / `both`) | `both` | Which markdown brief(s) to generate |
| `includeDashboard` | boolean | `true` | Also render `dashboard.html` |
| `cmcApiKey` | string (secret) | — | Optional, bring your own CMC Pro API key. If set, plan-gated extras (e.g. trending) are attempted. If empty, the free **keyless public API** is used. The key is never logged or stored in outputs |
| `moversLimit` | integer (1–20) | `5` | Top gainers / losers per side |

Example input:

```json
{
  "language": "both",
  "includeDashboard": true,
  "moversLimit": 5
}
```

### Sample output

Real output from a live run on 2026-11-18 07:52 UTC (keyless mode). The English brief opened:

> ## Today's weather: Storm (Extreme fear)
>
> Fear & Greed is **13** (Extreme fear), trend deteriorating (7d delta: -13).
>
> ## Key figures
>
> - Total market cap: **$2.20T** (+0.23% vs yesterday)
> - BTC dominance: **59.18%** / ETH 10.09%
> - Total volume 24h: $75.0B
> - Breadth: **52.0%** of top 100 coins up in 24h (52 up / 48 down)
> - Altcoin Season Index: **53/100** (Mixed season)
> - CMC100: **125.96** (+0.13% 24h)
>
> Top gainer that day: PIEVERSE +11.46% ($2.17, $58.6M volume). Anomaly flagged: "Fear & Greed swung -13 points in 7 days (26 -> 13)."

The same run's dataset item (abridged, exact values):

```json
{
  "weather": "Storm",
  "regimeLabel": "Extreme fear",
  "fearGreed": { "value": 13, "value7dAgo": 26, "delta7d": -13, "trend": "deteriorating" },
  "totalMarketCapUsd": 2198443838820,
  "btcDominancePct": 59.18,
  "altcoinSeason": { "index": 53, "season": "Mixed season" },
  "cmc100": { "value": 125.96, "change24hPct": 0.13 },
  "breadth": { "count": 100, "up": 52, "down": 48, "pct_up": 52.0 },
  "topGainers": [ { "symbol": "PIEVERSE", "pct_change_24h": 11.46, "price_usd": 2.17 } ],
  "anomalies": [ { "text": "Fear & Greed swung -13 points in 7 days (26 -> 13)." } ],
  "generatedAt": "2026-11-18T07:52:44+00:00"
}
```

### Pricing

**Pay per event: $0.10 per brief generated** (the `brief-generated`
event). One run produces exactly one brief, so one run costs $0.10 plus
Apify platform usage. Raw per-result scrapers charge fractions of a cent
per row because they sell unprocessed data; this Actor sells one complete,
analysed, bilingual brief.

### Data sources

CoinMarketCap public API (keyless by default):
`/v3/fear-and-greed/latest`, `/v3/fear-and-greed/historical`,
`/v1/global-metrics/quotes/latest`, `/v1/cryptocurrency/listings/latest`,
`/v1/altcoin-season-index/latest`, `/v3/index/cmc100-latest`.
If a section is unavailable in a run, the brief is still generated and the
missing sections are listed explicitly.

### Disclaimer

This Actor provides market data summaries for informational purposes
only. **It is not financial advice.** Cryptocurrency markets are volatile;
do your own research before making any decision.

***

### 日本語

**1回の実行で、暗号資産市場の「天気予報」ブリーフが完成品で返ります。**

CoinMarketCapの実データ（恐怖・強欲指数、時価総額、BTCドミナンス、
上位100銘柄の騰落、アルトコインシーズン指数、CMC100）を読み取り、
LLMを使わない決定的なルールで市場を「嵐／雨／曇り／晴れ／猛暑」に分類。
構造化JSON 1件に加え、英語と日本語のブリーフ（Markdown）と
HTMLダッシュボードを出力します。

生データを返すだけのスクレイパーとの違いは3点です。

- **分析済みの完成品** — 分類・地合い・値動き上位・異常検知まで済んだ状態で届きます
- **根拠つき** — すべての数字に出典のCMCエンドポイントが付きます
- **再現可能** — ルールベースなので、同じデータからは同じブリーフが出ます

CMC APIキーは任意です（お持ちのキーを入力する方式）。未入力でも
無料のキーレス公開APIで動作します。キーがログや出力に残ることはありません。

価格は **1ブリーフあたり $0.10**（pay-per-event）です。

※ 本Actorは市場データの要約であり、投資助言ではありません。

# Actor input Schema

## `cmcApiKey` (type: `string`):

Optional. If you supply your own CoinMarketCap Pro API key, plan-gated extras (e.g. trending) are attempted with it. Leave empty to use the free keyless public API. The key is never logged or stored in any output.

## `includeDashboard` (type: `boolean`):

Also render a single-file HTML dashboard and store it as dashboard.html in the default key-value store.

## `language` (type: `string`):

Which markdown brief(s) to generate and include in the dataset item: English, Japanese, or both.

## `moversLimit` (type: `integer`):

How many top gainers and top losers (24h, 24h volume >= $1M only) to include.

## Actor input object example

```json
{
  "includeDashboard": true,
  "language": "both",
  "moversLimit": 5
}
```

# Actor output Schema

## `dataset` (type: `string`):

Default dataset containing exactly one item: the structured market weather brief (regime, Fear & Greed, movers, anomalies, and the EN/JA brief texts).

## `keyValueStore` (type: `string`):

Default key-value store holding the rendered files: brief.md (English), brief_ja.md (Japanese), and dashboard.html.

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {};

// Run the Actor and wait for it to finish
const run = await client.actor("noblest_skarn/cmc-market-weather-brief").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {}

# Run the Actor and wait for it to finish
run = client.actor("noblest_skarn/cmc-market-weather-brief").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{}' |
apify call noblest_skarn/cmc-market-weather-brief --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,noblest_skarn/cmc-market-weather-brief"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/7MiAPS5T0TW4tA6GS/builds/FyeojPfbfCB3RcBGR/openapi.json
