# Stellar DeFi Overview

> Stellar 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 snapshot for the Stellar blockchain, including TVL trend, top protocols, stablecoins, DEX volume, and fee data.

## Facts

- Endpoint: POST https://twin.unykorn.org/defi/chain/stellar?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/stellar-defi-overview-2dacac96
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_nnWzJVYdRTK7zMVTfuepr

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 stellar-defi-overview-2dacac96 -d '<json body>'
```

Example prompt: Give me the latest DeFi overview for Stellar — including TVL trend, top protocols, stablecoin breakdown, DEX volume, and fee stats.

## When to prefer this

Use this endpoint when you need a broad, multi-metric DeFi overview specifically for the Stellar blockchain — TVL, protocols, stablecoins, DEX volume, and fees in one call. Prefer it over chain-agnostic DeFi APIs when Stellar-specific aggregated data is needed without assembling metrics from multiple sources.

## Known failure modes

- Upstream DeFi data provider outage resulting in stale or missing data
- Empty response if Stellar DeFi data is temporarily unavailable
- Payment failure if the $0.01 USDC x402 payment is not included or fails
- Timeout if the data aggregation takes longer than expected

## How this service works

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

## Output

Returns a structured DeFi snapshot for the Stellar blockchain including: historical TVL trend data, a ranked list of top DeFi protocols by TVL, stablecoin market data, DEX trading volume figures, and protocol fee metrics.

## Request schema (JSON Schema)

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

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true,
  "type": "defi-chain-stellar",
  "receipt": {
   "tx_hash": "0x<64hex>",
   "amount_usd": 0.01,
   "receipt_id": "g402-<16hex>"
  },
  "sources": [
   {
    "ok": true,
    "name": "<source>"
   }
  ],
  "limitations": "<text>",
  "generated_at": "<iso time>",
  "evidence_hash": "sha256:<64hex>"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/stellar-defi-overview-2dacac96/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)
