# Xynaptic Crypto Onchain

> Xynaptic Crypto Onchain is a paid API for AI agents from api.xynaptic.io, paid per call via x402, $0.1/call, status unknown (last checked 2026-10-02).

Returns live Bitcoin network data including recommended transaction fees, mempool congestion, difficulty adjustment, and hashrate context sourced from mempool.space.

## Facts

- Endpoint: GET https://api.xynaptic.io/v1/crypto-onchain?utm_source=zero.xyz
- Price: $0.1/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/xynaptic-crypto-onchain-4503452d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_QbXYzNFN_fEYXj1WD6y04

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 xynaptic-crypto-onchain-4503452d
```

Example prompt: What are the current Bitcoin network conditions — recommended fees, mempool congestion, and when is the next difficulty adjustment?

## When to prefer this

Choose this endpoint when you need a single, pre-synthesized snapshot of Bitcoin network health including fees, mempool, hashrate, and difficulty — rather than querying mempool.space directly or cobbling together multiple raw data sources. Ideal for agents that need to make fee recommendations, time transactions, or provide Bitcoin network status updates in one call.

## Known failure modes

- mempool.space upstream outage causing stale or unavailable data
- Rate limiting if called too frequently
- Payment required error (402) if x402 payment header is missing or invalid
- Network timeout if Bitcoin data feed is slow to respond

## How this service works

Xynaptic Crypto Onchain — live Bitcoin network data: recommended fees, mempool congestion, difficulty adjustment and hashrate context. Real-time from mempool.space.

## Output

Returns a structured JSON payload with real-time Bitcoin network data including recommended fee rates (e.g. fastest, half-hour, economy), current mempool size and congestion level, current network hashrate, and difficulty adjustment progress and estimated time to next adjustment — all sourced live from mempool.space.

## 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",
     "additionalProperties": {
      "type": "string"
     }
    }
   },
   "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/xynaptic-crypto-onchain-4503452d/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.xynaptic.io](https://www.zero.xyz/host/api.xynaptic.io/llms.txt)
