# Crypto Market Sentiment History – Percentile Context Window

> Crypto Market Sentiment History – Percentile Context Window is a paid API for AI agents from asistent-crypto.vercel.app, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-15).

Returns funding rates, open interest, Fear & Greed index, and BTC dominance as current/median/min/max/percentile snapshots over a rolling window of ~10-minute readings, giving statistical context to raw values.

## Facts

- Endpoint: POST https://asistent-crypto.vercel.app/api/x402/data/market-history
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/crypto-market-sentiment-history-percentile-context-window-7ceed0c8
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_XobQQw27A-bEjTWwlxtmq

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-market-sentiment-history-percentile-context-window-7ceed0c8 -d '<json body>'
```

Example prompt: Pull the market history context window for crypto right now — I want to know what percentile the current funding rate, open interest, Fear & Greed, and BTC dominance are each sitting at relative to recent readings, so I can tell if anything is at an extreme.

## When to prefer this

Choose this endpoint when you need statistical context for raw market metrics rather than just a snapshot value. It is uniquely valuable when you want to know not just what funding rate or Fear & Greed is, but whether that value is historically high or low within a recent window — enabling regime detection, alerting on extremes, and position-sizing decisions based on crowd positioning.

## Known failure modes

- Insufficient history in rolling window if the service is newly started — percentile values may be less meaningful
- Upstream data source unavailability causing stale or missing readings
- Payment failure via x402 protocol resulting in 402 response and no data
- Network timeout on Vercel serverless cold start

## How this service works

Whether the current reading is actually high or low, from a series captured every ~10 minutes: funding, open interest, Fear & Greed and BTC dominance, each as current, median, min, max and percentile over the window. A funding rate of 0.006% means nothing on its own; at the 89th percentile of the last 24 hours it means something. This is the question a snapshot endpoint cannot answer, whoever you buy it from.

## Output

A structured response containing, for each of funding rate, open interest, Fear & Greed index, and BTC dominance: the current reading, rolling median, rolling minimum, rolling maximum, and the current value's percentile rank within the captured window of ~10-minute snapshots. This allows an agent to assess whether any metric is at an extreme relative to recent history.

## 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",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "required": [],
     "properties": {}
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    },
    "pathParams": {
     "type": "object"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/crypto-market-sentiment-history-percentile-context-window-7ceed0c8/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from asistent-crypto.vercel.app](https://www.zero.xyz/host/asistent-crypto.vercel.app/llms.txt)
