# Crypto Fear & Greed Index, Market Cap & Trending Coins (`scrapemint/crypto-fear-greed-index`) Actor

The Crypto Fear & Greed Index (0-100 sentiment gauge), current and historical, plus a market overview (total market cap, BTC and ETH dominance, 24h volume and change) and the coins trending right now. Keyless, no account. Schedule it to build a sentiment history. Pay per row.

- **URL**: https://apify.com/scrapemint/crypto-fear-greed-index.md
- **Developed by:** [Ken M](https://apify.com/scrapemint) (community)
- **Categories:** Business, News
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

Pay per usage

This Actor is paid per platform usage. The Actor is free to use, and you only pay for the Apify platform usage, which gets cheaper the higher subscription plan you have.

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

## What's an Apify Actor?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
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.
Actors are written with capital "A".

## 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.
The best way to integrate Actors is as follows.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).

# README

## Crypto Fear & Greed Index, Market Cap & Trending Coins

The **Crypto Fear & Greed Index** — the most-watched sentiment gauge in crypto — current and historical, plus a whole-market overview and the coins trending right now. Keyless, no account.

- **Fear & Greed history** — the 0–100 index (Extreme Fear → Extreme Greed) with a row per day. Traders use it to time entries and to backtest sentiment.
- **Market overview** — total crypto market cap, BTC and ETH dominance, 24h volume, and 24h market-cap change, alongside the current Fear & Greed reading.
- **Trending coins** — the coins people are searching most right now, with rank and price.

### Who uses it

- **Crypto traders & investors** — the daily "what's the market doing" check; buy fear, sell greed.
- **Newsletters & dashboards** — auto-generate a sentiment/market section.
- **Quants** — pull the Fear & Greed history as a sentiment factor for models.

Pairs with our Crypto Market Data, Funding Rates, and Deribit Options actors.

### Input

| Field | Description |
|-------|-------------|
| `mode` | `fear_greed` (history), `overview` (market snapshot), or `trending` (trending coins). |
| `fearGreedDays` | Days of Fear & Greed history to return (fear\_greed mode). |
| `maxRows` | Row cap. |

### Output

- **fear\_greed**: `date`, `value` (0–100), `classification`.
- **overview**: `totalMarketCapUsd`, `total24hVolumeUsd`, `marketCapChange24hPct`, `btcDominancePct`, `ethDominancePct`, `activeCryptocurrencies`, `markets`, `fearGreedValue`, `fearGreedClassification`.
- **trending**: `trendingRank`, `name`, `symbol`, `marketCapRank`, `priceUsd`, `change24hPct`.

Schedule `fear_greed` daily to build your own sentiment time series.

### Pricing

Pay per event: **$0.002 per row**. The first 2 rows of every run are free.

Data sources: alternative.me (Fear & Greed Index) and CoinGecko (`api.coingecko.com`).

# Actor input Schema

## `mode` (type: `string`):

fear\_greed = the Fear & Greed Index over time (one row per day). overview = a single market snapshot (market cap, dominance, volume, and the current Fear & Greed reading). trending = the coins trending right now.

## `fearGreedDays` (type: `integer`):

How many days of Fear & Greed Index history to return.

## `maxRows` (type: `integer`):

Cap on rows returned. Controls total cost.

## Actor input object example

```json
{
  "mode": "fear_greed",
  "fearGreedDays": 30,
  "maxRows": 500
}
```

# 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("scrapemint/crypto-fear-greed-index").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("scrapemint/crypto-fear-greed-index").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
for item in client.dataset(run["defaultDatasetId"]).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 scrapemint/crypto-fear-greed-index --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=scrapemint/crypto-fear-greed-index",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/hOswIe6He1hUrn9Ep/builds/OO8xL7xXBeorlQCWL/openapi.json
