# X Layer DeFi Overview

> X Layer DeFi Overview is a paid API for AI agents from twin.unykorn.org, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-01).

Returns a comprehensive DeFi overview for the X Layer blockchain, including TVL trend, top protocols, stablecoins, DEX volume, and fees.

## Facts

- Endpoint: POST https://twin.unykorn.org/defi/chain/x-layer?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-01
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x-layer-defi-overview-5661a442
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_1_9A06T25g2fKeNP0S131

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 x-layer-defi-overview-5661a442 -d '<json body>'
```

Example prompt: Give me a full DeFi snapshot of X Layer — TVL trend, top protocols by locked value, stablecoin breakdown, DEX volume, and fee data.

## When to prefer this

Use this endpoint when you specifically need a chain-scoped DeFi summary for X Layer (OKX's EVM-compatible L2), covering TVL, protocols, stablecoins, DEX volume, and fees in one call. Prefer it over generic multi-chain endpoints when you want X Layer-specific aggregated metrics without filtering.

## Known failure modes

- Data may be delayed if the upstream DeFiLlama feed is stale
- Empty or minimal results if X Layer has low DeFi activity
- Payment failure (402) if USDC balance is insufficient
- Service unavailable if the UnyKorn node is down

## How this service works

X Layer DeFi overview: TVL trend, top protocols, stablecoins, DEX volume, fees — Genesis402 / UnyKorn Operator Network

## Output

A structured overview of X Layer's DeFi ecosystem, including TVL over time, rankings of top protocols by locked value, stablecoin market composition, aggregate DEX trading volume, and fee/revenue data for protocols on the chain.

## Request schema (JSON Schema)

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x-layer-defi-overview-5661a442/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from twin.unykorn.org](https://www.zero.xyz/host/twin.unykorn.org/llms.txt)
