# CoinGecko Global DeFi Stats

> CoinGecko Global DeFi Stats is a paid API for AI agents from CoinGecko at coingecko.mpp.paywithlocus.com, paid per call via MPP, $0.06/call, status unknown (last checked 2026-10-10).

Returns global decentralized finance (DeFi) market statistics including DeFi market cap, trading volume, dominance, and top coin data.

## Facts

- Endpoint: POST https://coingecko.mpp.paywithlocus.com/coingecko/global-defi?utm_source=zero.xyz
- Price: $0.06/call
- Payment: MPP
- Status: unknown
- Last checked: 2026-10-10
- Activations on Zero: 0
- Provider: CoinGecko
- Docs: https://docs.coingecko.com
- Website: https://www.coingecko.com
- Tags: crypto, prices, market-cap, exchanges, trending, data
- Canonical page: https://www.zero.xyz/c/coingecko-global-defi-e79abbf6
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_eBh-JV8xQ5DPX6cHcEu-s

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 coingecko-global-defi-e79abbf6 -d '<json body>'
```

Example prompt: What are the latest global DeFi market stats from CoinGecko — give me the total DeFi market cap, 24-hour trading volume, DeFi dominance percentage, and the top DeFi coin, all in USD?

## When to prefer this

Use this endpoint when you need a high-level snapshot of the entire DeFi ecosystem — total market cap, dominance, volume, and the leading DeFi token — rather than data on a specific coin or token. Prefer this over coin-specific endpoints (like Simple Price or Coins Markets) when the user asks about the DeFi sector as a whole rather than individual assets.

## Known failure modes

- Invalid vs_currencies value returns an error or empty data
- Unsupported platform_id causes missing or null response fields
- Invalid contract_address format leads to data fetch failure
- Rate limiting or quota exceeded returns a 429 or error response
- Temporary CoinGecko data unavailability returns success:false

## How this service works

Get global DeFi market data including market cap, volume, and dominance.

## Output

Returns a JSON object with global DeFi metrics: total DeFi market cap, Ethereum market cap, DeFi dominance percentage, DeFi-to-ETH ratio, 24-hour trading volume, top DeFi coin name, and that coin's share of DeFi dominance. Data is sourced from CoinGecko's aggregated on-chain and market feeds.

## Example request

```json
{
 "order": "market_cap_desc"
}
```

## Request schema (JSON Schema)

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/coingecko-global-defi-e79abbf6/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from coingecko.mpp.paywithlocus.com](https://www.zero.xyz/host/coingecko.mpp.paywithlocus.com/llms.txt)
