# SqueezeOS Truth Engine — Multi-Provider Price Consensus Verifier

> SqueezeOS Truth Engine — Multi-Provider Price Consensus Verifier is a paid API for AI agents from squeezeos-api.onrender.com, paid per call via x402, $0.005/call, status unknown (last checked 2026-09-13).

Queries Tradier, Alpaca, and Polygon independently for a stock price, then returns a consensus value with variance, confidence score, and HMAC-SHA256 proof hash.

## Facts

- Endpoint: GET https://squeezeos-api.onrender.com/api/truth/verify/AAPL
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/squeezeos-truth-engine-multi-provider-price-consensus-verifier-53fc180b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_wuWV5J_h4M8d44ylNDbhC

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 squeezeos-truth-engine-multi-provider-price-consensus-verifier-53fc180b
```

Example prompt: Can you get me a multi-provider verified price for AAPL — I want to see the consensus value, how much the sources disagree, and the proof hash confirming the data?

## When to prefer this

Choose this endpoint when you need more than a single stock quote — specifically when you require cross-provider price agreement, a measurable confidence score, or a cryptographic proof hash for auditability. It is superior to single-source price APIs when data integrity, audit trails, or algorithmic trading safeguards matter. Prefer alternatives for pure low-cost, high-frequency single-source price lookups.

## Known failure modes

- One or more upstream providers (Tradier, Alpaca, Polygon) unavailable — reduced confidence or partial result
- Invalid ticker symbol returns 400 or empty result
- High variance between providers may lower confidence score significantly
- Service cold-start latency on Render free tier may add delay
- Payment not processed correctly via x402 — 402 response with payment requirements

## How this service works

Fact verification API for market data — cross-check a ticker against live provider evidence and return an evidence-backed result instead of guessing.

## Output

A JSON object containing the consensus price derived from Tradier, Alpaca, and Polygon, individual provider quotes, a measured variance value, a confidence score (0–1 or percentage), and an HMAC-SHA256 proof hash attesting to the result integrity.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input",
  "output"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method",
    "queryParams"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "type": "string",
     "const": "GET"
    },
    "queryParams": {
     "type": "object",
     "required": [],
     "properties": {
      "symbol": {
       "type": "string",
       "pattern": "^[A-Z0-9.]{1,10}$",
       "description": "Ticker symbol mirrored from the URL path for Bazaar discovery Search intents: fact verification api, fact verification, truth check api, market data verification, evidence backed, hallucination defense."
      }
     },
     "additionalProperties": true
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type",
    "example"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "json"
    },
    "example": {
     "type": "object"
    }
   },
   "additionalProperties": false
  }
 },
 "additionalProperties": false
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/squeezeos-truth-engine-multi-provider-price-consensus-verifier-53fc180b/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from squeezeos-api.onrender.com](https://www.zero.xyz/host/squeezeos-api.onrender.com/llms.txt)
