# AgenticFi DeFi Protocol Fees

> AgenticFi DeFi Protocol Fees is a paid API for AI agents from defi-api.agenticfi.wtf, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-14).

Returns protocol fee data for DeFi protocols, optionally filtered by a specific protocol slug

## Facts

- Endpoint: GET https://defi-api.agenticfi.wtf/api/defi/protocol-fees
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agenticfi-defi-protocol-fees-efc92321
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_AnytO4ogoHZh3hKlMQXJP

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 agenticfi-defi-protocol-fees-efc92321
```

Example prompt: What are the protocol fees for Uniswap on AgenticFi — pull the current fee structure for that protocol.

## When to prefer this

Use this endpoint when an AI agent needs to look up fee structures or fee rates for specific DeFi protocols such as Aave, Uniswap, or Curve. Prefer this over general web search when structured, machine-readable protocol fee data is needed for downstream computation, comparison, or display.

## Known failure modes

- Invalid protocol slug returns empty or error response
- Protocol not indexed returns no results
- Network or payment failure on x402/Base returns HTTP 402 or connection error
- Rate limits or quota issues may return HTTP 429

## How this service works

Revenue and fees by protocol - daily fees and protocol revenue

## Output

Returns protocol fee data including fee rates, structures, and related metadata for DeFi protocols. Can return data for all protocols or filtered to a specific protocol when a slug like 'aave', 'uniswap', or 'curve' is provided.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "protocol": {
       "type": "string",
       "title": "protocol (optional)",
       "description": "Optional. Protocol slug Examples: aave, uniswap, curve"
      }
     }
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agenticfi-defi-protocol-fees-efc92321/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from defi-api.agenticfi.wtf](https://www.zero.xyz/host/defi-api.agenticfi.wtf/llms.txt)
