---
title: "Paid: Protocol Fees & Revenue"
method: GET
path: "/api/x402/market-fees"
---

# Paid: Protocol Fees & Revenue

`GET /api/x402/market-fees`

## Request

- Base URL: `https://three.ws`
- URL: `https://three.ws/api/x402/market-fees`
- Auth: none required

Protocol fee and revenue rankings for agents — pay $0.001 USDC per call. Returns the top 100 protocols by 24h fees from DeFiLlama with 24h/7d/30d totals and momentum. Default ?type=fees is what users pay to use each protocol; ?type=revenue is the slice the protocol keeps — the closest thing on-chain to an earnings report. Includes whole-market totals and the aggregate daily chart. Same data behind three.ws/fees.

## Query parameters

- `type` string

## Response `200`

three.ws Market Data result JSON

## Other responses

- `400`: Validation error
- `402`: Payment Required (x402)

---

[API](https://skmtc.dev/three/apis/three-ws-api.md) · [All operations](https://skmtc.dev/three/apis/three-ws-api/llms.txt) · [OpenAPI document](https://skmtc.dev/three/apis/three-ws-api/revisions/dbc5e3a81b79?raw)
