# PreReason Market Context API – BTC Quick Check

> PreReason Market Context API – BTC Quick Check is a paid API for AI agents from api.prereason.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-10).

Returns a 60-second snapshot of Bitcoin price, 7-day trend, and key bullish/bearish signals via the btc.quick-check briefing.

## Facts

- Endpoint: GET https://api.prereason.com/api/btc?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-10
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/prereason-market-context-api-btc-quick-check-4926921d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_JGvY36WSwXeivX3JFC-tW

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 prereason-market-context-api-btc-quick-check-4926921d
```

Example prompt: Give me a quick Bitcoin market check — current price, 7-day trend, and whether the signal is bullish or bearish, in JSON format.

## When to prefer this

Use this endpoint when you need a fast, lightweight Bitcoin market snapshot with trend direction and a confidence signal, and you don't need deep on-chain data, miner metrics, or macro correlations. Ideal for quick status checks or pre-decision context gathering at minimal cost ($0.01/call).

## Known failure modes

- Invalid briefing ID returns 400 or validation error
- Historical date out of tier access range returns 403 or empty data
- Missing required 'briefing' query param returns 400
- Payment not sent or invalid results in 402 Payment Required
- Network timeout if upstream market data is unavailable

## How this service works

Bitcoin price analysis. BTC trend signals, net liquidity correlation, crypto market snapshot for AI trading agents and portfolio tools.

## Output

A structured JSON object containing Bitcoin's current price, 7-day percentage trend, a bullish/bearish signal with confidence score (0-100), the briefing ID used, and a generated_at timestamp.

## Example request

```json
{
 "input": {
  "type": "http",
  "method": "GET",
  "queryParams": {
   "format": "json",
   "briefing": "btc.quick-check"
  }
 }
}
```

## 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",
     "properties": {
      "date": {
       "type": "string",
       "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
       "description": "Historical date in YYYY-MM-DD format. A paid call serves today or any ?date= on record."
      },
      "format": {
       "enum": [
        "json",
        "markdown"
       ],
       "type": "string",
       "description": "Response format. markdown is token-optimized for LLMs, json is structured. Default is markdown."
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "metrics": {
   "bitcoin-price": {
    "name": "bitcoin-price"
   },
   "net-liquidity": {
    "name": "net-liquidity"
   }
  },
  "briefing_used": "btc.quick-check",
  "briefing_metadata": {
   "name": "Quick Check",
   "description": "Quick directional read on Bitcoin price and net liquidity with their 30-day correlation",
   "metrics_count": 2,
   "correlations_count": 1
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/prereason-market-context-api-btc-quick-check-4926921d/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.prereason.com](https://www.zero.xyz/host/api.prereason.com/llms.txt)
