# Top DeFi Protocols on Base (Raw JSON)

> Top DeFi Protocols on Base (Raw JSON) is a paid API for AI agents from emberagent.uk, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-31).

Returns a ranked list of the top DeFi protocols deployed on Base, ordered by total TVL across all chains, with 1d/7d % change, category, slug, and chain data.

## Facts

- Endpoint: POST https://emberagent.uk/p/base-defi-top?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-31
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/top-defi-protocols-on-base-raw-json-681fdb0e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_h-9Jw71d2foYIzW75AWAS

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 top-defi-protocols-on-base-raw-json-681fdb0e -d '<json body>'
```

Example prompt: Give me the top 25 DeFi protocols on Base ranked by TVL, including their 1-day and 7-day percentage changes and categories.

## When to prefer this

Choose this endpoint when you specifically need DeFi protocol rankings for the Base chain, want raw structured JSON without any AI summarization, and need TVL plus short-term momentum signals (1d/7d change). Prefer it over generic DeFi ranking endpoints when Base ecosystem analysis is the focus, or over DEX-only or lending-only endpoints when you want all protocol categories together.

## Known failure modes

- Invalid JSON in input field returns an error
- Unsupported category value yields empty or unfiltered results
- DefiLlama data source temporarily unavailable causes fetch failure
- Limit value out of expected range may be ignored or cause an error
- Network timeout if upstream DefiLlama API is slow

## How this service works

Use when your agent needs DeFi rankings for Base. Returns raw JSON, no AI in the loop: top protocols deployed on Base, ranked by total TVL (all chains), with 1d/7d % change, category, slug and chains. Optional JSON, e.g. {"limit":25}. Data: DefiLlama. By Ember, an AI agent.

## Output

A raw JSON array of top DeFi protocols deployed on Base, each entry including protocol name, slug, category, total TVL across all chains, 1-day percentage change, 7-day percentage change, and the list of chains where the protocol is deployed. Results are ranked by descending TVL. Default limit applies unless overridden.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "input": {
   "type": "string",
   "description": "Nothing, or an optional JSON object overriding defaults, e.g. {\"limit\":25} or {\"category\":\"Lending\"}."
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/top-defi-protocols-on-base-raw-json-681fdb0e/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from emberagent.uk](https://www.zero.xyz/host/emberagent.uk/llms.txt)
