# PreReason - Bitcoin Corporate Treasury Context

> PreReason - Bitcoin Corporate Treasury Context is a paid API for AI agents from api.prereason.com, paid per call via x402, $0.03/call, status unknown (last checked 2026-10-11).

Returns a structured briefing on public companies' Bitcoin treasury holdings aggregated from SEC filings and CoinGecko data.

## Facts

- Endpoint: GET https://api.prereason.com/api/btc/treasury?utm_source=zero.xyz
- Price: $0.03/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-11
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/prereason-bitcoin-corporate-treasury-context-778e6213
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_UXlSF04LFVttlTmBa0BUl

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-bitcoin-corporate-treasury-context-778e6213
```

Example prompt: Pull the btc.treasury briefing from PreReason to show me which public companies hold Bitcoin on their balance sheets — return it in markdown format so I can read it easily.

## When to prefer this

Use this endpoint when you need aggregated, structured data on public company Bitcoin treasury holdings sourced from SEC filings, rather than raw on-chain data or generic crypto price feeds. Prefer this over general BTC market endpoints when the user's question is specifically about institutional or corporate BTC accumulation.

## Known failure modes

- Missing or invalid 'briefing' query parameter returns a 400 error
- Date outside allowed historical range for the user's tier returns an access error
- Invalid date format (not YYYY-MM-DD) returns a validation error
- Payment not processed (x402 protocol failure) returns a 402 Payment Required
- Upstream SEC or CoinGecko data unavailable may return stale or incomplete context

## How this service works

Corporate Bitcoin treasury holdings. MicroStrategy, Marathon, Riot, Coinbase SEC filing data. Institutional crypto adoption intelligence for research agents.

## Output

A structured briefing containing context text about corporate Bitcoin treasury holdings, metrics with signals and confidence scores, the briefing ID (btc.treasury), and a generated_at timestamp — available as JSON or token-optimized markdown.

## 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"
   }
  },
  "briefing_used": "btc.treasury",
  "briefing_metadata": {
   "name": "Treasury Holdings Intelligence",
   "description": "Corporate Bitcoin treasury holdings - accumulation trends from SEC filings and CoinGecko",
   "metrics_count": 1,
   "correlations_count": 0
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/prereason-bitcoin-corporate-treasury-context-778e6213/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)
