# Starknet DeFi Overview

> Starknet 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 Starknet chain, including TVL trend, top protocols, stablecoins, DEX volume, and fee data.

## Facts

- Endpoint: POST https://twin.unykorn.org/defi/chain/starknet?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/starknet-defi-overview-93d4c40b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_LdS3TO7lDTCB6siwT-xvY

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 starknet-defi-overview-93d4c40b -d '<json body>'
```

Example prompt: Give me a full DeFi overview of Starknet — I want to see the TVL trend, which protocols are at the top, stablecoin breakdown, DEX trading volume, and fee data.

## When to prefer this

Choose this endpoint when you need a holistic, multi-metric DeFi overview of Starknet specifically — covering TVL, protocols, stablecoins, DEX volume, and fees in a single call rather than querying each metric separately. Prefer this over generic DeFi aggregators when you need Starknet-specific data quickly and are comfortable with x402 micropayment billing at $0.01 per call.

## Known failure modes

- Upstream DeFi data provider unavailable — may return stale or empty data
- Payment not processed (x402 payment required) — returns 402 status
- Starknet chain data temporarily unavailable — partial or null response fields
- Rate limiting if called excessively within a short window

## How this service works

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

## Output

Returns a structured DeFi summary for Starknet including: historical TVL trend data, a ranked list of top protocols by TVL or activity, stablecoin market breakdown, aggregated DEX trading volume, 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-starknet",
  "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/starknet-defi-overview-93d4c40b/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)
