# Crypto Sentiment History by Ticker

> Crypto Sentiment History by Ticker is a paid API for AI agents from crypto-sentiment-x402.onrender.com, paid per call via x402, $0.05/call, status unknown (last checked 2026-10-17).

Returns hourly crypto news-sentiment readings for a given ticker symbol, including compound sentiment scores, Fear & Greed values, and top driving headlines, for a specified time window up to 30 days.

## Facts

- Endpoint: GET https://crypto-sentiment-x402.onrender.com/history/:symbol?utm_source=zero.xyz
- Price: $0.05/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-17
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/crypto-sentiment-history-by-ticker-45676a46
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_f5vX5DB1z3NLde_IaLTlf

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability crypto-sentiment-history-by-ticker-45676a46
```

Example prompt: Pull me the hourly sentiment history for BTC from 2025-01-01T00:00:00Z to 2025-01-15T00:00:00Z, including the Fear & Greed readings and the top headlines driving each hour's score.

## When to prefer this

Use this endpoint when you need a time-series of hourly sentiment readings for a specific crypto ticker over a historical window (up to 30 days). It is ideal for trend analysis, backtesting sentiment-based signals, or correlating news sentiment with price action. Prefer this over real-time-only endpoints when you need multiple hours or days of context rather than a single current reading. Note that data is never backfilled, so coverage starts from when the service began logging.

## Known failure modes

- Unsupported ticker symbol — symbol not in /archive coverage returns empty rows or error
- Date range exceeding 30 days returns an error or truncated results
- Invalid ISO 8601 datetime format for start/end causes a 400 error
- No data available for a symbol during the requested window (service only records live, never backfills)
- Payment failure or missing x402 payment header causes 402 Payment Required
- Render.com cold start may cause first-request latency spike or timeout

## How this service works

Hourly crypto news-sentiment readings for a ticker (e.g. BTC, ETH), recorded live at the top of every UTC hour and never backfilled. Each row: observed_at, average_compound (-1 to 1), sample_size, Fear & Greed value, matcher and the top 3 headlines behind it (title, link). Query start/end as ISO 8601; default last 7 days, max 30 days per call. See /archive for symbols and coverage.

## Output

A JSON object containing the requested symbol, start/end timestamps, total row count, and an array of hourly rows. Each row includes: observed_at (ISO 8601 timestamp), average_compound sentiment score (-1 to 1), sample_size, fear_greed_value (integer), matcher identifier, effective_sample_size, unweighted_compound_72h, newest_headline_age_hours, and a drivers array of up to 5 top headlines with title, source, link, published timestamp, score, weight, and effect fields.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "pathParams": {
     "type": "object",
     "required": [
      "symbol"
     ],
     "properties": {
      "symbol": {
       "type": "string",
       "description": "Uppercase ticker symbol in the URL path, e.g. BTC in /history/BTC. See /archive for which symbols are logged."
      }
     }
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "end": {
       "type": "string",
       "description": "ISO 8601 end time, exclusive. Default: now. At most 30 days after start."
      },
      "start": {
       "type": "string",
       "description": "ISO 8601 start time (UTC if no offset). Default: end minus 7 days."
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "required": [
      "symbol",
      "start",
      "end",
      "count",
      "rows"
     ],
     "properties": {
      "end": {
       "type": "string"
      },
      "rows": {
       "type": "array",
       "items": {
        "type": "object",
        "required": [
         "observed_at",
         "average_compound",
         "matcher",
         "drivers"
        ],
        "properties": {
         "window": {
          "type": [
           "string",
           "null"
          ]
         },
         "drivers": {
          "anyOf": [
           {
            "type": "null"
           },
           {
            "type": "array",
            "items": {
             "type": "object",
             "required": [
              "title",
              "source",
              "link",
              "published",
              "score"
             ],
             "properties": {
              "link": {
               "type": [
                "string",
                "null"
               ]
              },
              "score": {
               "type": "number"
              },
              "title": {
               "type": "string"
              },
              "effect": {
               "ty
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/crypto-sentiment-history-by-ticker-45676a46/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from crypto-sentiment-x402.onrender.com](https://www.zero.xyz/host/crypto-sentiment-x402.onrender.com/llms.txt)
