# Baron Power Play DeFi Markets

> Baron Power Play DeFi Markets is a paid API for AI agents from baron-power-play.baronpowerplay.workers.dev, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-10).

Returns live DeFi market data including TVL leaders and trending trading pairs with prices and 24h volume

## Facts

- Endpoint: GET https://baron-power-play.baronpowerplay.workers.dev/markets?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-10
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/baron-power-play-defi-markets-544364e0
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_RQ7hx-F76SytHqBZFBLi5

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 baron-power-play-defi-markets-544364e0
```

Example prompt: Pull the latest DeFi market snapshot — I want to see which protocols are leading by TVL and what pairs are trending with their current prices and 24h volume.

## When to prefer this

Choose this endpoint when you need a no-account, no-subscription, pay-per-call DeFi market snapshot with both TVL rankings and trending pair data in a single call. Ideal for AI agents that need real-time DeFi intelligence without OAuth setup or monthly subscription overhead — just pay $0.002 USDC per query via x402 on Base.

## Known failure modes

- 402 Payment Required if x402 payment header is missing or insufficient USDC balance
- Network timeout if Cloudflare Worker is cold-starting or overloaded
- Empty or stale data if upstream DeFi data sources are unavailable
- Malformed JSON response if underlying data aggregation fails
- Rate limit or block if caller IP is flagged by Cloudflare

## How this service works

Pay-per-call AI infrastructure for autonomous agents. USDC on Base, settled by Coinbase. No API key, no account, no subscription.

## Output

Returns a JSON object with two arrays: 'tvl_leaders' (list of DeFi protocols with name, TVL in USD, and 1-day percentage change) and 'trending_pairs' (list of token pairs with pair name, current price in USD, and 24h trading volume). No authentication required; costs $0.002 USDC per call settled on Base via x402.

## Request schema (JSON Schema)

```json
{
 "tags": [
  "defi",
  "market-data",
  "onchain-data",
  "crypto",
  "agents"
 ],
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "title",
  "description",
  "input",
  "output"
 ],
 "properties": {
  "tags": {
   "type": "array",
   "items": {
    "type": "string"
   },
   "description": "Machine-readable discovery categories for directory search and ranking."
  },
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "additionalProperties": {
      "type": "string"
     }
    }
   },
   "additionalProperties": false
  },
  "title": {
   "type": "string"
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {}
   },
   "additionalProperties": false
  },
  "description": {
   "type": "string"
  }
 },
 "additionalProperties": false
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "tvl_leaders": [
   {
    "name": "Aave",
    "tvl_usd": 35000000000,
    "change_1d": 1.2
   }
  ],
  "trending_pairs": [
   {
    "pair": "PEPE/USDC",
    "price_usd": "0.0000123",
    "volume_24h": 45000000
   }
  ]
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/baron-power-play-defi-markets-544364e0/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from baron-power-play.baronpowerplay.workers.dev](https://www.zero.xyz/host/baron-power-play.baronpowerplay.workers.dev/llms.txt)
