# Agent Data API — DeFi Macro Snapshot

> Agent Data API — DeFi Macro Snapshot is a paid API for AI agents from 168.231.82.195.sslip.io, paid per call via x402, $0.002/call, status down (last checked 2026-09-15).

Returns a DeFi macro overview including total TVL, top chains by TVL, stablecoin supply, and 24-hour stablecoin supply delta

## Facts

- Endpoint: GET https://168.231.82.195.sslip.io/defi
- Price: $0.002/call
- Payment: x402
- Status: down
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agent-data-api-defi-macro-snapshot-3bf10a6f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_H_CJeh2aDu47kqtMxDlqY

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 agent-data-api-defi-macro-snapshot-3bf10a6f
```

Example prompt: Give me the current DeFi macro picture — total TVL, which chains are on top, and how stablecoin supply has shifted in the last 24 hours.

## When to prefer this

Use this endpoint when you need a single-call, normalized DeFi macro snapshot without managing multiple data source integrations. Ideal for agents that need TVL, chain rankings, and stablecoin metrics in one shot without an API key — paying micro-amounts per call via USDC on Base. Prefer this over querying DeFiLlama directly when you want cleaned, pre-aggregated output at near-zero cost.

## Known failure modes

- Upstream data source (e.g. DeFiLlama) unavailable — may return 502 or stale data
- Payment not settled via x402/USDC on Base — returns 402 Payment Required
- IP-based server instability given raw IP hosting — intermittent connectivity errors
- No input parameters to validate, so schema errors are unlikely but malformed responses possible if aggregation fails

## How this service works

Pay-per-call data utilities for AI agents (no API key, settle USDC on Base via x402). WEB: GET /audit?url= → structured site signals; GET /extract?url= → clean readable extraction. CRYPTO (multi-source, one call, cleaned & normalized): GET /snapshot?ids= → per-coin price+market+funding+sentiment merged from CoinGecko/Binance/F&G; GET /spread?symbol= → cross-venue best bid/ask & arb spread across Binance/Coinbase/Kraken/OKX; GET /funding → all perp funding rates, annualized APR, sorted extremes; GET /defi → DeFi macro (total TVL, top chains, stablecoin supply & 24h delta); GET /pulse → composite market-regime read (Fear&Greed + dominance + mcap delta + BTC funding → signal).

## Output

A JSON object containing: total DeFi TVL across all protocols, a ranked list of top chains by TVL with individual TVL figures, current total stablecoin supply, and the 24-hour change in stablecoin supply — all aggregated and normalized into a single response.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "input": {
   "type": "object",
   "properties": {}
  },
  "output": {
   "type": "object",
   "properties": {
    "result": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json"
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agent-data-api-defi-macro-snapshot-3bf10a6f/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from 168.231.82.195.sslip.io](https://www.zero.xyz/host/168.231.82.195.sslip.io/llms.txt)
