# Fear & Greed Index Weekly History Since 2018

**Use case:** 

The Crypto Fear & Greed Index bucketed into weeks from its first day, 2018-02-01, to today: average, minimum, maximum, open and close value per week plus the classification of the average. For quant researchers and backtesters who need a long-range sentiment series without averaging daily rows themselves. Switch aggregate to monthly for a coarser series, or set your own from/to window.

## Input

```json
{
  "mode": "history",
  "days": 30,
  "from": "2018-02-01",
  "aggregate": "weekly",
  "includeGlobal": true,
  "includeTrending": true,
  "includeDefi": false,
  "coinIds": [
    "bitcoin",
    "ethereum",
    "solana"
  ],
  "vsCurrency": "usd",
  "fields": []
}
```

## Output

```json
{
  "period": {
    "label": "Period",
    "format": "text"
  },
  "from": {
    "label": "From",
    "format": "text"
  },
  "to": {
    "label": "To",
    "format": "text"
  },
  "days": {
    "label": "Days",
    "format": "number"
  },
  "avg": {
    "label": "Avg",
    "format": "number"
  },
  "min": {
    "label": "Min",
    "format": "number"
  },
  "max": {
    "label": "Max",
    "format": "number"
  },
  "open": {
    "label": "Open",
    "format": "number"
  },
  "close": {
    "label": "Close",
    "format": "number"
  },
  "classification": {
    "label": "Class (avg)",
    "format": "text"
  },
  "aggregate": {
    "label": "Step",
    "format": "text"
  }
}
```

## About this Actor

This example demonstrates how to use [Crypto Fear & Greed Index + Market Sentiment](https://apify.com/yadroo/crypto-sentiment.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/yadroo/crypto-sentiment.md) to learn more, explore other use cases, and run it yourself.


## How to integrate an Actor?

This Task's input is already configured above. Use it as-is rather than inventing a new one.

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 full API examples (JavaScript, Python, CLI, MCP, OpenAPI), see this Task's Actor page: https://apify.com/yadroo/crypto-sentiment.md

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`).
