← All APIs

DefiLlama

byAPI3FreeAirnode v0.1.2

DefiLlama's free public API: the TVL of DeFi protocols and chains with its history, fees and revenue, DEX and options volumes, stablecoin supply by chain with peg prices, token prices by contract address or CoinGecko id, and yield pools with their APY history. Protocols, chains, stablecoins and pools are named by DefiLlama's own slugs and ids, which the list operations answer. This Airnode signs what it obtained from DefiLlama, so a response is proof of what DefiLlama answered rather than a claim by DefiLlama itself.

Every response carries an EIP-191 signature from the Airnode that served it, so the data can be attributed back to its source rather than trusted on reputation.

Ask the Hub what DefiLlama can tell you →

Interface

Served at https://airnode-defillama.fly.dev/. Each operation is reached the way the provider documents it, under https://airnode-defillama.fly.dev/api, and answers with the provider's own response and the attestation in headers, so a client built against the provider works unchanged. The same operations are also served as one JSON envelope on POST /, which the HTTP interface covers. Every request below can be sent from this page, and what comes back is verified right here in the browser.

GET /

Returns the machine-readable documentation this page is rendered from. Free, and everything an agent needs.

ANY /api/…

The provider's own requests, one per operation, forwarded as they are. The provider's response comes back untouched, with the attestation in the X-Airnode headers.

Verify the response

Paste a response to verify it originates from the current Airnode: the JSON a POST / answers with, or a passthrough response with its headers, as curl --include prints it.