# Trusted Information API – Crypto Market Context

> Trusted Information API – Crypto Market Context is a paid API for AI agents from api.trustedinformation.site, paid per call via x402, $0.003/call, status unknown (last checked 2026-09-15).

Returns real-time crypto asset pair price, 14-day range, realized volatility, trend state, and expected daily price band for a given pair like BTC-USD or ETH-USD.

## Facts

- Endpoint: GET https://api.trustedinformation.site/api/crypto/context
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/trusted-information-api-crypto-market-context-8d9202f2
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_T7kKZnTiSX3U4Ji57LtE1

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 trusted-information-api-crypto-market-context-8d9202f2
```

Example prompt: What's the current market context for BTC-USD — give me the price, whether it's in an uptrend or downtrend, the 14-day range, and the realized volatility regime.

## When to prefer this

Choose this endpoint when you need structured, quantitative crypto market context — especially volatility regime, trend state, and statistical price bands — for a specific asset pair, without needing to set up an API key or account. Ideal for AI agents making pay-per-call requests in USDC via x402, and for use cases requiring UK-hosted, no-signup data access for BTC, ETH, or other major pairs.

## Known failure modes

- Missing or invalid 'pair' query parameter returns an error
- Unsupported pair (e.g. obscure altcoin not on Binance) may return empty or error response
- Payment not completed (HTTP 402) if USDC micropayment via x402 protocol fails
- Rate limiting or upstream Binance data outage may cause stale or unavailable data
- Malformed pair format (e.g. 'BTCUSD' instead of 'BTC-USD') may return error

## How this service works

Pay-per-call UK company, property and crypto market data for AI agents via x402. Official sources, no signup, no API keys, failed calls never charged.

## Output

A JSON object containing the asset pair, current price, timestamp, 20-day SMA and trend state (uptrend/downtrend/sideways), price-vs-SMA percentage, 14-day high/low range and position, realized daily and annualized volatility with regime classification and 90-day percentile, and the expected 1-sigma daily price band (lower and upper bounds). Data sourced from Binance.

## 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"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "pair"
     ],
     "properties": {
      "pair": {
       "type": "string",
       "description": "Asset pair, e.g. BTC-USD or ETH-USD"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "required": [
      "pair",
      "price",
      "range14d",
      "realizedVol",
      "trend"
     ],
     "properties": {
      "asOf": {
       "type": "string"
      },
      "note": {
       "type": "string"
      },
      "pair": {
       "type": "string"
      },
      "price": {
       "type": "number"
      },
      "trend": {
       "type": "object"
      },
      "source": {
       "type": "string"
      },
      "range14d": {
       "type": "object"
      },
      "realizedVol": {
       "type": "object"
      },
      "expectedDailyBand1Sigma": {
       "type": "object"
      }
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "asOf": "2026-07-23T21:00:00Z",
  "pair": "BTC-USD",
  "price": 66371.29,
  "trend": {
   "sma20": 63517.85,
   "state": "uptrend",
   "priceVsSma20Pct": 4.49
  },
  "source": "binance",
  "range14d": {
   "low": 61544.56,
   "high": 65799,
   "position": 1.14
  },
  "realizedVol": {
   "daily": 0.0162,
   "regime": "normal",
   "annualized": 0.31,
   "percentile90d": 0.54
  },
  "expectedDailyBand1Sigma": {
   "lower": 65295.22,
   "upper": 67447.36
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/trusted-information-api-crypto-market-context-8d9202f2/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.trustedinformation.site](https://www.zero.xyz/host/api.trustedinformation.site/llms.txt)
