---
title: "Metered Gateway: DefiLlama TVL/yields ($0.002/call)"
method: GET
path: "/gw/defillama"
tags: ["gateway", "proxy", "rate-limit", "defillama", "api"]
---

# Metered Gateway: DefiLlama TVL/yields ($0.002/call)

`GET /gw/defillama`

## Request

- Base URL: `https://x402.shizu.me`
- URL: `https://x402.shizu.me/gw/defillama`
- Auth: none declared

Call DefiLlama TVL/yields through our metered gateway: our rate-limit budget and a 300s cache absorb your polling, so your loop never sees a 429. Inputs: path (upstream path, e.g. /ping) and q (raw query string). Returns the upstream JSON under 'data'.

Paid endpoint: $0.002 per call via the x402 protocol (USDC on Base). An unpaid request returns 402 with payment requirements in the PAYMENT-REQUIRED response header; attach payment and retry.

## Query parameters

- `path` string
- `q` string

## Response `200`

Paid result (JSON)

## Other responses

- `402`: Payment required — x402 requirements in the PAYMENT-REQUIRED response header

---

[API](https://skmtc.dev/shizu/apis/scrape402.md) · [All operations](https://skmtc.dev/shizu/apis/scrape402/llms.txt) · [OpenAPI document](https://skmtc.dev/shizu/apis/scrape402/revisions/0852d74798b8?raw)
