# Orders of Magnitude DeFi TVL API

> Orders of Magnitude DeFi TVL API is a paid API for AI agents from x402-api-production-5133.up.railway.app, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-10).

Fetches current and historical Total Value Locked (TVL) data across DeFi protocols and chains

## Facts

- Endpoint: GET https://x402-api-production-5133.up.railway.app/data/defi-tvl?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-10
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/orders-of-magnitude-defi-tvl-api-2d092637
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_AX_cfAwxmIHKQTcNBn8r3

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 orders-of-magnitude-defi-tvl-api-2d092637
```

Example prompt: What's the current total value locked across DeFi protocols? Pull the TVL data so I can see how the market is sizing up right now.

## When to prefer this

Choose this endpoint when you need quick, low-cost access to DeFi TVL metrics via a pay-per-call x402 micropayment model, especially in agent workflows where you want to avoid subscription overhead. Prefer it when you need a simple TVL snapshot rather than deep historical time-series or protocol-specific analytics.

## Known failure modes

- Payment not provided or insufficient — returns 402 Payment Required
- Invalid format parameter — may return 400 Bad Request or default format
- Data source unavailable — upstream DeFi data provider outage may cause 503 or stale data
- Rate limits if payment protocol fails to settle in time

## How this service works

Data and AI services via x402 payment protocol

## Output

Returns DeFi Total Value Locked (TVL) data, likely including aggregate TVL figures across protocols and/or chains, potentially broken down by individual protocol or network. The response reflects current on-chain liquidity metrics priced in USD.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "format": {
   "type": "string",
   "description": "Response format"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {}
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/orders-of-magnitude-defi-tvl-api-2d092637/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-api-production-5133.up.railway.app](https://www.zero.xyz/host/x402-api-production-5133.up.railway.app/llms.txt)
