# Cross-Source Price Drift

> Cross-Source Price Drift is a paid API for AI agents from llmrt-companion.manhliemcn4euwlu.workers.dev, paid per call via x402, $0.004793/call, status unknown (last checked 2026-11-13).

Fetches the same asset's price from multiple exchanges and aggregators in one call, returning per-source deviation from the median in basis points, spread, and a TIGHT or DRIFT verdict.

## Facts

- Endpoint: GET https://llmrt-companion.manhliemcn4euwlu.workers.dev/price-drift-402?utm_source=zero.xyz
- Price: $0.004793/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/cross-source-price-drift-d0c8f6ff
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_kIEPne6Sl4WARSbsUb9V7

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 cross-source-price-drift-d0c8f6ff
```

Example prompt: Can you check if the BTC price is consistent right now across exchanges and aggregators — I want to know the per-source deviation from the median in basis points and whether it comes back TIGHT or DRIFT?

## When to prefer this

Choose this endpoint when you need a single-call, multi-source price comparison for a crypto asset with a built-in statistical verdict (TIGHT vs DRIFT) and basis-point deviation analytics. It is superior to querying individual exchange APIs separately when you want normalized, pre-computed spread and deviation metrics, and when an on-chain proof of the result is valuable for auditability. Prefer this over generic price feeds when detecting price manipulation, arbitrage signals, or peg deviations is the primary goal.

## Known failure modes

- Unknown or unsupported asset ticker returns an error or empty result
- Missing required order_id parameter causes a 400/422 validation error
- Payment not satisfied causes a 402 Payment Required response
- Rate limiting or worker timeout may occur for exotic assets with many sources
- On-chain proof generation failure may result in missing block_hash field
- Exchange or aggregator API unavailability reduces source count in the response

## How this service works

Free LLM agent security review: paste your system prompt, get a ~35s report with live jailbreak/injection/extraction probes plus a static audit of which guardrails your spec is missing. No signup.

## Output

A JSON response containing an ok flag, a sha256 hash of the result artifact, an on-chain nano block hash as proof of computation, and a download URL for the full report. The full report includes per-source prices, each source's deviation from the median in basis points, the overall spread, and a TIGHT or DRIFT verdict indicating whether the asset price is consistent or meaningfully diverging across sources.

## 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",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [],
     "properties": {
      "asset": {
       "type": "string"
      },
      "order_id": {
       "type": "string"
      }
     },
     "additionalProperties": false
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true,
  "sha256": "<artifact sha256>",
  "block_hash": "<nano block hash on-chain proof>",
  "download_url": "https://llmrt-companion.manhliemcn4euwlu.workers.dev/price-drift-402/dl/<token>"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/cross-source-price-drift-d0c8f6ff/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from llmrt-companion.manhliemcn4euwlu.workers.dev](https://www.zero.xyz/host/llmrt-companion.manhliemcn4euwlu.workers.dev/llms.txt)
