# Oracle Price Feed — api.craigmbrown.com

> Oracle Price Feed — api.craigmbrown.com is a paid API for AI agents from api.craigmbrown.com, paid per call via x402, $0.02/call, status unknown (last checked 2026-09-15).

Returns a real-time, source-cited price for a named trading pair and venue, backed by a cryptographic settlement proof (ProofOfSettledOutcome).

## Facts

- Endpoint: POST https://api.craigmbrown.com/v1/services/oracle.price-feed
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/oracle-price-feed-api-craigmbrown-com-93a2df05
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_C5jfBprzc3gEc0FI1Zq66

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 oracle-price-feed-api-craigmbrown-com-93a2df05 -d '<json body>'
```

Example prompt: What's the current price of BTC/USDT on Binance right now — and can you show me which source that number came from along with its settlement proof?

## When to prefer this

Choose this endpoint when you need a real-time price quote with an explicit, auditable source citation and a cryptographic settlement proof — not just a raw number. It is the foundational data layer for the other oracle SKUs on this platform (arbitrage, volatility, alerts), so use it directly when you need the raw price primitive with provenance, or when you need to satisfy an audit or on-chain verification requirement.

## Known failure modes

- Unknown or unsupported trading pair returns an error or empty result
- Venue not available or offline returns a fetch failure
- Malformed prompt input may produce a generic or null price response
- Stale data if the upstream oracle source is lagging — check the settlement proof timestamp
- Network or payment failure (x402) returns a 402 or timeout

## How this service works

Real-time price feed for a named pair and venue, with the source cited per read instead of a black-box number. Settlement proof: ProofOfSettledOutcome (kind 30120, data/proof_settled_outcomes.jsonl). The base data layer the other oracle.* SKUs (arbitrage, volatility, alerts) are built on.

## Output

A JSON object containing the current price for the requested trading pair and venue, the data source cited per read, and a ProofOfSettledOutcome (Nostr kind 30120) pointing to the settlement proof in data/proof_settled_outcomes.jsonl — suitable for on-chain or audit verification.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "prompt": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "schema": {
  "type": "object",
  "properties": {
   "summary": {
    "type": "string"
   },
   "findings": {
    "type": "array",
    "items": {
     "type": "string"
    }
   }
  }
 },
 "example": {
  "summary": "..."
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/oracle-price-feed-api-craigmbrown-com-93a2df05/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.craigmbrown.com](https://www.zero.xyz/host/api.craigmbrown.com/llms.txt)
