# Bitcoin Long Block Gap Anomaly Detector (Chain Tip)

> Bitcoin Long Block Gap Anomaly Detector (Chain Tip) is a paid API for AI agents from obol-x402.fly.dev, paid per call via x402, $0.01/call, status down (last checked 2026-09-15).

Checks the latest Bitcoin chain tip for an anomalously long gap between consecutive blocks and returns a signed anomaly detection result.

## Facts

- Endpoint: GET https://obol-x402.fly.dev/v1/btc/anomaly/long-block-gap/latest
- Price: $0.01/call
- Payment: x402
- Status: down
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/bitcoin-long-block-gap-anomaly-detector-chain-tip-9eb3e6c8
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Vt_3bHsC1lzDKr0anVh5D

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 bitcoin-long-block-gap-anomaly-detector-chain-tip-9eb3e6c8
```

Example prompt: Check the latest Bitcoin chain tip right now and tell me if there's a long block gap anomaly — I want the signed detection result showing whether the current inter-block interval is unusually long.

## When to prefer this

Use this endpoint when you need a real-time, forensic-grade, cryptographically verifiable check specifically for long block gap anomalies on the Bitcoin chain tip. Prefer this over generic block explorers when you need signed results for audit trails or automated monitoring pipelines that require tamper-evident outputs.

## Known failure modes

- Payment required (402) if x402 payment header is missing or malformed
- Chain tip data temporarily unavailable due to upstream Bitcoin node issues
- Signature verification failure if public key mismatch
- Rate limiting or service unavailability on fly.dev infrastructure
- Anomaly detector returns indeterminate result if chain tip data is stale

## How this service works

Bitcoin long block gap anomaly check on chain tip. Validation-gated detector long_block_gap for forensic and monitoring agents. Cryptographically signed (Ed25519) — every response is independently verifiable via /.well-known/obol-pubkey.

## Output

Returns a cryptographically signed (Ed25519) anomaly detection result indicating whether the current Bitcoin chain tip exhibits an unusually long gap between consecutive blocks, including relevant block timing metadata and a verifiable signature.

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/bitcoin-long-block-gap-anomaly-detector-chain-tip-9eb3e6c8/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from obol-x402.fly.dev](https://www.zero.xyz/host/obol-x402.fly.dev/llms.txt)
