DefiLlama

DefiLlama is the largest open-source DeFi TVL and yield aggregator. It publishes a free public REST API (api.llama.fi) and a Pro API (pro-api.llama.fi) that adds higher rate limits and exclusive endpoints for token unlocks, bridges, digital-asset treasuries, and other advanced datasets. Free API requires no authentication; Pro is $300/month.

DefiLlama publishes 1 API contract, indexed on the APIs.io network as 8 APIs, including Coins API, Fees API, Stablecoins API, and 5 more. Tagged areas include Web3, DeFi, TVL, Cryptocurrency, and Stablecoins.

The DefiLlama catalog on APIs.io includes 1 Spectral governance ruleset.

DefiLlama’s developer surface includes engineering blog, authentication, developer portal, documentation, pricing, GitHub presence, and 8 more developer resources.

Pull DefiLlama's APIs, OpenAPI, scores and pricing into your own code or AI agent with a free APIs.io key — sign in with GitHub, Google or LinkedIn. No form to fill in; signing in shares your email address with us (Privacy).
30.7/100 thin ▬ flat Agent 48/100 agent ready Front door AI 1/6 silent Heartbeat 100/100 alive saas Full breakdown ↓
scored 2026-11-28 · rubric v0.30.0 · Show this score on your site →
DefiLlama website screenshot
AccessFreemiumOpen⚡ Free to try
1 published contract 1 MCP Servers
Web3DeFiTVLCryptocurrencyStablecoinsYieldBridgeAggregatorOpen Source

What this lets a business do 1

Business capabilities this provider's published APIs can perform, derived from its own contracts. Browse all capabilities →

Blockchain & Digital Assets
AE-240
FeesStablecoinsTVLVolumes
GET /protocol/{protocol} GET /overview/fees GET /summary/dexs/{protocol} GET /stablecoins

What people ask DefiLlama 6

The questions people put to an LLM, and the jobs they hand an agent, that DefiLlama's APIs answer — each one linked to the operation that does it. Generated by API Evangelist

DefiLlama Volumes API Get daily DEX volume summaries “Which DEXs have the highest daily volume?” Get DEX volume summaries for one chain “What is the daily DEX volume on Ethereum?” Get DEX volume for a protocol “How much volume has a DEX protocol seen?” List options DEX volume overview “How is options volume distributed across DEXs?”
DefiLlama Coins API Get current token prices by contract “What is the current price of a token by its contract address?” Get token prices at a past timestamp “What was the price of a token at a specific past moment?” Batch historical token prices “Can I fetch historical prices for many coins across timestamps in one call?” Get a token price chart over time “Can I see a price chart for a token over time?”
DefiLlama TVL API List DeFi protocols by TVL “Which DeFi protocols have the highest TVL?” Get a protocol's historical TVL “How has a protocol's TVL changed over time?” Get a protocol's current TVL “What is a protocol's TVL right now?” Get historical TVL across all chains “How has total TVL across all chains moved over time?”
DefiLlama Stablecoins API List stablecoins by circulation “Which stablecoins have the most circulating supply?” Show all stablecoin market cap history “How has the total market cap of stablecoins changed over time?” Show a chain's stablecoin market cap history “What is the stablecoin market cap on a single chain?” Get historical data for a stablecoin “What has been the price and supply history of a specific stablecoin?”
DefiLlama Fees API Get protocol fees and revenue overview “Which DeFi protocols generate the most fees and revenue?” Get fees and revenue by chain “How much has each chain earned in fees?” Get a protocol's fee history “How have a protocol's fees changed over time?”
DefiLlama Yields API List yield pools with APY and TVL “Which DeFi yield pools offer the highest APY?” Get a pool's APY and TVL history “How has a pool's APY changed over time?”

Kin Score

Kin Score Kin Score How this is scored →
scored 2026-11-28 · rubric v0.30.0
Regulatory Posture applies to this provider. Its tags matched the Horizontal (data, software, accessibility, platform) regime, so Regulatory Posture carries 15 points of the composite. If this regime is wrong for your business, say so on your provider repo — the applicability map is public and we will correct it.
Create-or-Update Ergonomics does not apply to this provider. The published contracts declare no write operations, and a read-only API cannot create-or-update. The facet is excluded from this provider's denominator entirely — not scored zero. A reference or data API is not deficient for being unable to upsert.
The six quality facets above are damped to 85 points between them, because the conditional facet above carries the other 15. That is why each facet's contribution is shown against a damped maximum: raising a quality facet moves the composite by 85% of its nominal weight, not 100%. The full arithmetic is at apis.io/rating/.
Show this score on your site. Kin Score badge preview for DefiLlama It updates itself when the score changes. Paste this where you link to your API docs:
<a href="https://apis.io/providers/defillama/"><img src="https://apis.io/badge/defillama/card.svg" alt="DefiLlama on APIs.io — Kin Score by API Evangelist"></a>
Other styles, a README pill and a shields.io endpoint are on the badge page.
Raise your score.
Agent readiness — checks not met, largest first (exact, from this profile):
  • Stable Error Semantics +8 pts — OpenAPI $refs a shared error schema across 4xx/5xx responses (verified), else common[].type includes ErrorCatalog / ErrorCodes / DeclineCodes Ask about this →
  • A2A Agent Card +8 pts — a2a/-a2a.yml manifest, graded on conformance.grade against A2A 1.0.0 Ask about this →
  • Request/Response Examples +7 pts — share of operations carrying an example/examples KEY on a request or response media type, a parameter, or the schema it references (one level of local $ref, components/examples included; 0.29.0, roadmap#1166); else an Examples / Code Samples link Ask about this →
  • Typed Event Surface +6 pts — verified: an AsyncAPI document, OR webhooks/callbacks objects in the as-published OpenAPI; documented (0.29.0, roadmap#1167): only a Webhooks docs link Ask about this →
  • Agentic Commerce Well-Known Document +5 pts — a parsing /.well-known/ucp (the IANA-registered path, probed first) or ucp.json / acp.json declaring a version and at least one service, OR (0.27) a live x402 payment challenge from _data/x402-adoption.json — `self` when its endpoints are on the provider's own domain, `platform` when they are on a vendor's Ask about this →
  • Agent Skills +5 pts — skills artifact present, graded by who authored it Ask about this →
4 more unmet checks in the Agent Readiness table above.
Kin Score — facets with the most composite points still available (weight × headroom):
Each check links to what satisfies it. Publish the artifact, or tell us where it already lives, and the score moves on the next scoring run.
Not sure how this applies to your stack? Ask about any one item. Kin Lane reads every question, looks at your profile and your situation, and replies with what a fix would take — scoped to that one area, priced up front, yours whether you ship it or not. Ask a question →
Ask about:
Defillama · a person reads this and replies by email.
or email info@apis.io
Improve this rating by publishing the missing artifacts — every area above can be raised, and the full rubric is at apis.io/rating/. Every facet and dimension name above is a link: it opens that measurement's own page — what it means, the exact checks that feed it, how the whole catalog distributes on it, and the providers at the top of it. This rating is computed from the provider profile at artifacts.apis.io/defillama/apis.yml: open an issue on github.com/api-evangelist/defillama to ask a question or point us at an artifact you publish. Submit an artifact on GitHub — free → Manage your own listing — the Influence plan, $499/mo →

Markets this provider is in provisional

The Kin Score Market layer reads a provider inside its market: its position, and how deep its integrations go. Depth is only comparable within a position. Provisional and unweighted: not part of the Kin Score or agent readiness.

Depth is one figure for the provider, the mean of its strongest integrations, so it repeats on every row. It differs by market only where an assurance register's own evidence applies.

MarketPositionDepth (provider-wide)Registered MCP serverDeclares compatibility
Stablecoins and Tokenization (stablecoin issuers, tokenized assets) undeclared - - -

Registered MCP server and declares compatibility are report only — not weighted. Undeclared means we found nothing we can read, so there is no number: we never infer integrations.

Used by apps

1 of the reference apps in Applications, across 1 category, integrate with this provider, read from each app's own code, build or integrations page.

Standards implemented 4

Standards this provider implements or carries. De facto ones are profiled and measured by the API Commons; formal ones come from the standards directory and are linked by the provider's own tags. The evidence column says how each claim was established — not that it was made.

measured — observed by APIs.io (verified)
measured — observed by APIs.io (verified)
measured — observed by APIs.io (published)
measured — observed by APIs.io (published)

APIs 8

Individual APIs this provider publishes, each with its own machine-readable definition.

DefiLlama Public API

Free, no-auth REST API exposing 31+ endpoints for protocol TVL, chain TVL, coin prices, stablecoin metrics, yield pools, DEX volumes, and fees. Underpins thousands of dashboards...

DefiLlama Pro API

Paid REST API ($300/month) with higher rate limits and 38 exclusive endpoints covering token unlocks, cross-chain bridges, digital-asset treasury data, and other advanced datase...

DefiLlama Coins API

The Coins API from DefiLlama — 7 operation(s) for coins.

DefiLlama Fees API

The Fees API from DefiLlama — 3 operation(s) for fees.

DefiLlama Stablecoins API

The Stablecoins API from DefiLlama — 6 operation(s) for stablecoins.

DefiLlama TVL API

The TVL API from DefiLlama — 6 operation(s) for tvl.

DefiLlama Volumes API

The Volumes API from DefiLlama — 7 operation(s) for volumes.

DefiLlama Yields API

The Yields API from DefiLlama — 2 operation(s) for yields.

Scroll for all 8

Open Collections 7

Open, tool-agnostic API collections (OpenAPI-derived and Bruno).

DefiLlama Public API

OPEN COLLECTION

Scroll for all 7

MCP Servers 1

Model Context Protocol servers that expose these APIs to AI agents.

DefiLlama MCP Server

Remote MCP server at mcp.defillama.com over HTTP.

MCP SERVER

DefiLlama API pricing

Not yet checked against DefiLlama's own pricing page. Compiled by API Evangelist on 2026-05-08 from defillama.com/pro-api; confirm before you rely on a figure. A free plan or tier is listed.

PlanPrice
Public (Free) freemium Free
Pro subscription $300.00 per monthly subscription / month

Plan details, limits and sources →

Rate limits

Compiled by API Evangelist, not yet checked against DefiLlama's documentation. Rate-limit details →

Pricing Plans 1

Published pricing tiers and plan structures.

Rate Limits 1

Documented rate limits and quota policies.

DefiLlama Rate Limits

2 limits

RATE LIMITS

FinOps 1

Cost, billing, and metering signals for API financial operations.

Spectral Rules 1

Spectral governance rulesets for linting and validating these APIs. Counts are the severity each rule declares, not results of running them.

DefiLlama API Rules

54 rules · 51 error-severity 2 warn-severity 1 info-severity

SPECTRAL

OpenAPI Overlays 6

Overlays applied on top of this provider's contracts. Each card says who wrote it: a document the provider publishes, or one API Evangelist derived or generated.

DefiLlama Coins Api Phrasing Overlay

8 actions · phrasing · defillama-coins-api-openapi.yml

GENERATED

DefiLlama Fees Api Phrasing Overlay

4 actions · phrasing · defillama-fees-api-openapi.yml

GENERATED

DefiLlama Stablecoins Api Phrasing Overlay

7 actions · phrasing · defillama-stablecoins-api-openapi.yml

GENERATED

DefiLlama Tvl Api Phrasing Overlay

7 actions · phrasing · defillama-tvl-api-openapi.yml

GENERATED

DefiLlama Volumes Api Phrasing Overlay

8 actions · phrasing · defillama-volumes-api-openapi.yml

GENERATED

DefiLlama Yields Api Phrasing Overlay

3 actions · phrasing · defillama-yields-api-openapi.yml

GENERATED

Security Posture 2

Authentication, domain security, vulnerability disclosure, and trust-center signals.

DefiLlama Authentication

apiKey · 1 scheme

SECURITY

DefiLlama Domain Security

TLSv1.3 · DNSSEC · DMARC

SECURITY

Agentic Access (API Evangelist recommendations) 1

Recommended x-agentic-access execution contracts for AI agents.

DefiLlama Agentic Access

31 operations

31 operations · 0 acting

AGENTIC

Resources

Get Started 1

Portal, sign-up, and the first successful call

Documentation 1

Reference material describing how the API behaves

Agent Surfaces 1

MCP servers, agent skills, and machine-readable catalogs

Build 1

SDKs, sample code, and the tooling you integrate with

Access & Security 2

Authentication, authorization, and security posture

Operate 1

Status, limits, changes, and where to get help

Commercial 3

Pricing, plans, and the legal terms of use

Company 3

The organization behind the API

Other 1

Properties that don't map to a standard resource type

Source (apis.yml)

apis.yml Raw ↑
aid: defillama
url: https://raw.githubusercontent.com/api-evangelist/defillama/refs/heads/main/apis.yml
name: DefiLlama
kind: company
deliveryModel:
  model: saas
  open_source: false
  commercial: true
  callable_host: true
  label: Hosted service · you call their endpoint
  confidence: high
  source:
  - openapi
  - pricing
  generated: '2026-08-28'
  method: derived
accessModel:
  pricing: freemium
  onboarding: open
  trial: false
  try_now: true
  public: true
  gated: none
  gated_source:
  - onboarding
  label: Freemium · Open access
  confidence: medium
  source:
  - plans
  - authentication
  - security
  generated: '2026-11-28'
  method: derived
image: https://kinlane-images.s3.amazonaws.com/shared/apis-json/icons/defillama.png
tags:
- Web3
- DeFi
- TVL
- Cryptocurrency
- Stablecoins
- Yield
- Bridge
- Aggregator
- Open Source
tags_raw:
- Web3
- DeFi
- TVL
- Crypto
- Stablecoins
- Yields
- Bridges
- Aggregator
- Open Source
- Open-Source
created: '2026-05-08'
modified: '2026-10-06'
specificationVersion: '0.23'
description: DefiLlama is the largest open-source DeFi TVL and yield aggregator. It publishes a free public REST API (api.llama.fi)
  and a Pro API (pro-api.llama.fi) that adds higher rate limits and exclusive endpoints for token unlocks, bridges, digital-asset
  treasuries, and other advanced datasets. Free API requires no authentication; Pro is $300/month.
apis:
- aid: defillama:public-api
  name: DefiLlama Public API
  tags:
  - DeFi
  - TVL
  - Stablecoins
  - Yield
  - DEX Volume
  - Fees
  - Free
  tags_raw:
  - DeFi
  - TVL
  - Stablecoins
  - Yields
  - DEX Volume
  - Fees
  - Free
  image: https://kinlane-images.s3.amazonaws.com/shared/apis-json/apis-json-logo.jpg
  baseURL: https://api.llama.fi
  humanURL: https://defillama.com/docs/api
  description: Free, no-auth REST API exposing 31+ endpoints for protocol TVL, chain TVL, coin prices, stablecoin metrics,
    yield pools, DEX volumes, and fees. Underpins thousands of dashboards and integrations.
  properties:
  - type: Documentation
    url: https://defillama.com/docs/api
  - type: Pricing
    url: https://defillama.com/pro-api
  x-features:
  - 31+ endpoints
  - Protocol and chain TVL
  - Stablecoin issuance and circulation
  - Yield pool data
  - DEX volumes and fees
  - No authentication
  x-use-cases:
  - DeFi dashboards and tickers
  - Research notebooks
  - Stablecoin transparency tools
- aid: defillama:pro-api
  name: DefiLlama Pro API
  tags:
  - DeFi
  - TVL
  - Token Unlocks
  - Bridge
  - Treasuries
  - Commercial
  tags_raw:
  - DeFi
  - TVL
  - Token Unlocks
  - Bridges
  - Treasuries
  - Commercial
  image: https://kinlane-images.s3.amazonaws.com/shared/apis-json/apis-json-logo.jpg
  baseURL: https://pro-api.llama.fi
  humanURL: https://defillama.com/pro-api
  description: Paid REST API ($300/month) with higher rate limits and 38 exclusive endpoints covering token unlocks, cross-chain
    bridges, digital-asset treasury data, and other advanced datasets. Authenticated via API key path segment.
  properties:
  - type: Documentation
    url: https://defillama.com/docs/api
  - type: Pricing
    url: https://defillama.com/pro-api
  x-features:
  - 38 exclusive endpoints (unlocks, bridges, treasuries)
  - Higher rate limits than public
  - Same data freshness as DefiLlama UI
  x-use-cases:
  - Commercial DeFi analytics products
  - Token-unlock alerting
  - Treasury compliance dashboards
- aid: defillama:defillama-coins-api
  name: DefiLlama Coins API
  description: The Coins API from DefiLlama — 7 operation(s) for coins.
  humanURL: https://defillama.com/docs/api
  baseURL: https://api.llama.fi
  tags:
  - Coins
  properties:
  - type: OpenAPI
    url: openapi/defillama-coins-api-openapi.yml
- aid: defillama:defillama-fees-api
  name: DefiLlama Fees API
  description: The Fees API from DefiLlama — 3 operation(s) for fees.
  humanURL: https://defillama.com/docs/api
  baseURL: https://api.llama.fi
  tags:
  - Fees
  properties:
  - type: OpenAPI
    url: openapi/defillama-fees-api-openapi.yml
- aid: defillama:defillama-stablecoins-api
  name: DefiLlama Stablecoins API
  description: The Stablecoins API from DefiLlama — 6 operation(s) for stablecoins.
  humanURL: https://defillama.com/docs/api
  baseURL: https://api.llama.fi
  tags:
  - Stablecoins
  properties:
  - type: OpenAPI
    url: openapi/defillama-stablecoins-api-openapi.yml
- aid: defillama:defillama-tvl-api
  name: DefiLlama TVL API
  description: The TVL API from DefiLlama — 6 operation(s) for tvl.
  humanURL: https://defillama.com/docs/api
  baseURL: https://api.llama.fi
  tags:
  - TVL
  properties:
  - type: OpenAPI
    url: openapi/defillama-tvl-api-openapi.yml
- aid: defillama:defillama-volumes-api
  name: DefiLlama Volumes API
  description: The Volumes API from DefiLlama — 7 operation(s) for volumes.
  humanURL: https://defillama.com/docs/api
  baseURL: https://api.llama.fi
  tags:
  - Volumes
  properties:
  - type: OpenAPI
    url: openapi/defillama-volumes-api-openapi.yml
- aid: defillama:defillama-yields-api
  name: DefiLlama Yields API
  description: The Yields API from DefiLlama — 2 operation(s) for yields.
  humanURL: https://defillama.com/docs/api
  baseURL: https://api.llama.fi
  tags:
  - Yield
  tags_raw:
  - Yields
  properties:
  - type: OpenAPI
    url: openapi/defillama-yields-api-openapi.yml
common:
- type: CapabilityMap
  url: capabilities/defillama-capability-edges.yml
  name: DefiLlama Business Capability Map
- url: https://defillama.com/press
  type: Blog
- type: Website
  url: https://www.defillama.com/
- type: AgenticAccess
  url: agentic-access/defillama-agentic-access.yml
- type: DomainSecurity
  url: security/defillama-domain-security.yml
- type: Authentication
  url: authentication/defillama-authentication.yml
- type: LinkedIn
  url: https://www.linkedin.com/company/defillama
- type: Portal
  url: https://defillama.com/
- type: Documentation
  url: https://defillama.com/docs/api
- type: Pricing
  url: https://defillama.com/pro-api
- type: GitHub
  url: https://github.com/DefiLlama
- type: Plans
  url: plans/defillama-plans-pricing.yml
- type: RateLimits
  url: rate-limits/defillama-rate-limits.yml
- type: FinOps
  url: finops/defillama-finops.yml
maintainers:
- FN: Kin Lane
  email: kin@apievangelist.com

DefiLlama API — frequently asked questions

Does DefiLlama have an API?

Yes. APIs.io lists 8 APIs from DefiLlama, including DefiLlama Public API, DefiLlama Pro API and DefiLlama Coins API, and 5 more.

Is there an OpenAPI specification for the DefiLlama API?

Yes. APIs.io indexes 6 OpenAPI specifications for DefiLlama, each linked for download from this page.

How do I authenticate with the DefiLlama API?

DefiLlama documents its authentication (apiKey · 1 scheme). The details are profiled on APIs.io as DefiLlama Authentication.

How much does the DefiLlama API cost?

APIs.io lists 2 pricing plans for DefiLlama, with each plan's price, limits and inclusions under Pricing on this page.

Does DefiLlama have an MCP server?

Yes. APIs.io lists 1 MCP server for DefiLlama: Remote MCP server at mcp.defillama.com over HTTP.

Is the DefiLlama API ready for AI agents?

DefiLlama has a Kin Score of 30.7 out of 100 (thin) and an Agent Readiness score of 47.6 (agent-ready), scored by API Evangelist on 2026-11-28.

Work with this as data

Every provider here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for providers

9 MCP tools reach this
  • find_providersBrowse and filter every provider in the catalog.
  • get_provider_artifactsEvery artifact this provider publishes, grouped by type.
  • get_provider_operationsEvery operation across all of their OpenAPIs — one call instead of parsing every spec.
  • get_provider_toolsEvery MCP tool they ship, with the operation each wraps.
  • get_provider_evidenceHow each part of their score was established. Free — the basis for a claim should not sit behind it.
  • get_provider_ratingPRO — composite, band, trend and facet scores.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This provider
curl "https://apis.io/api/v1/providers/defillama"
All providers
curl "https://apis.io/api/v1/providers?limit=25"
Every operation they expose
curl "https://apis.io/api/v1/providers/defillama/operations?limit=25"
How their score was established
curl "https://apis.io/api/v1/providers/defillama/evidence"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.