APIFinance

DeFi Data — DefiLlama — protocols

List of every DeFi protocol DefiLlama tracks, with current and historical TVL across chains with the BlockRun API. The sample response includes chain information and symbols. Track protocol liquidity in DeFi research or portfolio dashboards.

Selected price
$0.005 / callPublished pricing
Sellers / APIs
1 / 1
Requests · 30d
—Loading...
Success rate · 30d
—Loading...
USE THIS API

DeFi Data — DefiLlama — protocols

Prepare your request, then continue with your agent.

Selected price

$0.005 / call

Provider
Pricing
Connect your agent
On this page

Playground

Run sends a real API request. Charges follow the published API contract.

Request parameters

No input fields are required by this API contract.

Sample response

[
  {
    "address": null,
    "audits": "0",
    "chain": "Multi-Chain",
    "description": "Binance is a cryptocurrency exchange which is the largest exchange in the world in terms of daily trading volume of cryptocurrencies",
    "gecko_id": null,
    "id": "2269",
    "logo": "https://icons.llamao.fi/icons/protocols/binance-cex",
    "name": "Binance CEX",
    "symbol": "BNB",
    "url": "https://www.binance.com"
  },
  {
    "address": "0x75231f58b43240c9718dd58b4967c5114342a86c",
    "audits": "0",
    "chain": "Multi-Chain",
    "description": "OKX, formerly known as OKEx, is a Seychelles-based cryptocurrency exchange and derivatives exchange that provides a platform for trading various instruments such as spot and derivative",
    "gecko_id": "okb",
    "id": "2272",
    "logo": "https://icons.llamao.fi/icons/protocols/okx",
    "name": "OKX",
    "symbol": "OKB",
    "url": "https://www.okx.com"
  },
  {
    "address": "0x5a98fcbea516cf06857215779fd812ca3bef1b32",
    "audits": "2",
    "chain": "Multi-Chain",
    "description": "Liquid staking for Ethereum and Polygon. Daily staking rewards, no lock ups.",
    "id": "182",
    "logo": "https://icons.llamao.fi/icons/protocols/lido",
    "name": "Lido",
    "referralUrl": "https://stake.lido.fi/?ref=0x08a3c2A819E3de7ACa384c798269B3Ce1CD0e437",
    "symbol": "LDO",
    "url": "https://lido.fi/"
  },
  {
    "address": "ethereum:0x6985884c4392d348587b19cb9eaaf157f13271cd",
    "audits": "2",
    "chain": "Multi-Chain",
    "description": "LayerZero is a technology that enables applications to move data across blockchains, uniquely supporting censorship-resistant messages and permissionless development through immutable smart contracts.",
    "gecko_id": null,
    "id": "4867",
    "logo": "https://icons.llamao.fi/icons/protocols/layerzero-v2",
    "name": "LayerZero V2",
    "symbol": "ZRO",
    "url": "https://layerzero.network/"
  },
  {
    "address": "0x7fc66500c84a76ad7e9c93437bfc5ac33e2ddae9",
    "audits": "2",
    "chain": "Multi-Chain",
    "description": "Earn interest, borrow assets, and build applications",
    "gecko_id": null,
    "id": "1599",
    "logo": "https://icons.llamao.fi/icons/protocols/aave-v3",
    "name": "Aave V3",
    "symbol": "AAVE",
    "url": "https://aave.com"
  }
]

Response result

Response structure

Inferred from examples
responseobject[]
  • addressnull | string
  • auditsstring
  • chainstring
  • descriptionstring
  • gecko_idnull | string
  • idstring
  • logostring
  • namestring
  • symbolstring
  • urlstring
  • referralUrlstring

Sellers

SellerPricingRequests · 30dPerformanceAccess
blockrunCurrent
DeFi Data — DefiLlama — protocols · GET · View API reference
$0.005 / call—
—successP50—
Loading...
Selected pricing · blockrunUSD / call
Unit price
$0.005

Statistics use persisted gateway logs from the last 30 days up to now, including today.
Success rate = successful requests / all requests;
P50 = median latency of successful requests.
Prices reflect the published API contract. Contract revision: 4. Price update time: not supplied.

calls

Total $0.5

API

Method
GET
Endpoint
https://api.openany.si/v1/agent-apis/blockrun/v1/defillama/protocols
Content type
application/json
Authentication
Authorization: Bearer $OPENANY_API_KEY
curl \
  'https://api.openany.si/v1/agent-apis/blockrun/v1/defillama/protocols' \
  -X GET \
  -H "Authorization: Bearer $OPENANY_API_KEY" \
  -H 'Content-Type: application/json'

Input parameters

Fields in this listing; additional options and input encoding can vary by provider.

No input fields are required by this API contract.

Required markers inside a nested object or variant apply when that object or variant is used.

Sample response

Sample response · Documented HTTP 200 Published documentation example. Verify the actual response after an approved call.

Documentation example (source abbreviated)
[
  {
    "address": null,
    "audits": "0",
    "chain": "Multi-Chain",
    "description": "Binance is a cryptocurrency exchange which is the largest exchange in the world in terms of daily trading volume of cryptocurrencies",
    "gecko_id": null,
    "id": "2269",
    "logo": "https://icons.llamao.fi/icons/protocols/binance-cex",
    "name": "Binance CEX",
    "symbol": "BNB",
    "url": "https://www.binance.com"
  },
  {
    "address": "0x75231f58b43240c9718dd58b4967c5114342a86c",
    "audits": "0",
    "chain": "Multi-Chain",
    "description": "OKX, formerly known as OKEx, is a Seychelles-based cryptocurrency exchange and derivatives exchange that provides a platform for trading various instruments such as spot and derivative",
    "gecko_id": "okb",
    "id": "2272",
    "logo": "https://icons.llamao.fi/icons/protocols/okx",
    "name": "OKX",
    "symbol": "OKB",
    "url": "https://www.okx.com"
  },
  {
    "address": "0x5a98fcbea516cf06857215779fd812ca3bef1b32",
    "audits": "2",
    "chain": "Multi-Chain",
    "description": "Liquid staking for Ethereum and Polygon. Daily staking rewards, no lock ups.",
    "id": "182",
    "logo": "https://icons.llamao.fi/icons/protocols/lido",
    "name": "Lido",
    "referralUrl": "https://stake.lido.fi/?ref=0x08a3c2A819E3de7ACa384c798269B3Ce1CD0e437",
    "symbol": "LDO",
    "url": "https://lido.fi/"
  },
  {
    "address": "ethereum:0x6985884c4392d348587b19cb9eaaf157f13271cd",
    "audits": "2",
    "chain": "Multi-Chain",
    "description": "LayerZero is a technology that enables applications to move data across blockchains, uniquely supporting censorship-resistant messages and permissionless development through immutable smart contracts.",
    "gecko_id": null,
    "id": "4867",
    "logo": "https://icons.llamao.fi/icons/protocols/layerzero-v2",
    "name": "LayerZero V2",
    "symbol": "ZRO",
    "url": "https://layerzero.network/"
  },
  {
    "address": "0x7fc66500c84a76ad7e9c93437bfc5ac33e2ddae9",
    "audits": "2",
    "chain": "Multi-Chain",
    "description": "Earn interest, borrow assets, and build applications",
    "gecko_id": null,
    "id": "1599",
    "logo": "https://icons.llamao.fi/icons/protocols/aave-v3",
    "name": "Aave V3",
    "symbol": "AAVE",
    "url": "https://aave.com"
  }
]

Agent integration

Copy the resource contract without sharing an API key.

View API Markdown
API Markdown
# DeFi Data — DefiLlama — protocols

List of every DeFi protocol DefiLlama tracks, with current and historical TVL across chains with the BlockRun API. The sample response includes chain information and symbols. Track protocol liquidity in DeFi research or portfolio dashboards.
## Available implementations
blockrun · DeFi Data — DefiLlama — protocols: https://openany.si/markets/apis/capabilities/blockrun-defi-data-defillama-protocols?offering=0390d220-d926-4c97-9967-e099b2429bbd · $0.005 / call

## Selected API contract
Documentation: https://openany.si/markets/apis/capabilities/blockrun-defi-data-defillama-protocols
Method: GET
Endpoint: https://api.openany.si/v1/agent-apis/blockrun/v1/defillama/protocols
Price: $0.005 / call
Provider: blockrun
Contract revision: 4
Price source: OpenAny public API contract and documented provider unit rates. Price update time: not supplied.

Use OPENANY_API_KEY from the environment. API Key calls use your shared balance.

## Prepared request
```bash
curl \
  'https://api.openany.si/v1/agent-apis/blockrun/v1/defillama/protocols' \
  -X GET \
  -H "Authorization: Bearer $OPENANY_API_KEY" \
  -H 'Content-Type: application/json'
```

## API contract
```json
{
  "resource_type": "api",
  "name": "DeFi Data — DefiLlama — protocols",
  "endpoint": "https://api.openany.si/v1/agent-apis/blockrun/v1/defillama/protocols",
  "method": "GET",
  "content_type": "none",
  "execution_mode": "sync",
  "authentication": {
    "type": "bearer",
    "environment_variable": "OPENANY_API_KEY"
  },
  "inputs": [],
  "billing": {
    "currency": "USD",
    "mode": "fixed",
    "priceMicroUsd": "5000",
    "rounding": null,
    "unit": "call",
    "unitQuantity": null
  },
  "examples": [
    {
      "http_status": 200,
      "name": "Documentation example (source abbreviated)",
      "request": {
        "body": null,
        "headers": {},
        "path": {},
        "query": {}
      },
      "response_body": [
        {
          "address": null,
          "audits": "0",
          "chain": "Multi-Chain",
          "description": "Binance is a cryptocurrency exchange which is the largest exchange in the world in terms of daily trading volume of cryptocurrencies",
          "gecko_id": null,
          "id": "2269",
          "logo": "https://icons.llamao.fi/icons/protocols/binance-cex",
          "name": "Binance CEX",
          "symbol": "BNB",
          "url": "https://www.binance.com"
        },
        {
          "address": "0x75231f58b43240c9718dd58b4967c5114342a86c",
          "audits": "0",
          "chain": "Multi-Chain",
          "description": "OKX, formerly known as OKEx, is a Seychelles-based cryptocurrency exchange and derivatives exchange that provides a platform for trading various instruments such as spot and derivative",
          "gecko_id": "okb",
          "id": "2272",
          "logo": "https://icons.llamao.fi/icons/protocols/okx",
          "name": "OKX",
          "symbol": "OKB",
          "url": "https://www.okx.com"
        },
        {
          "address": "0x5a98fcbea516cf06857215779fd812ca3bef1b32",
          "audits": "2",
          "chain": "Multi-Chain",
          "description": "Liquid staking for Ethereum and Polygon. Daily staking rewards, no lock ups.",
          "id": "182",
          "logo": "https://icons.llamao.fi/icons/protocols/lido",
          "name": "Lido",
          "referralUrl": "https://stake.lido.fi/?ref=0x08a3c2A819E3de7ACa384c798269B3Ce1CD0e437",
          "symbol": "LDO",
          "url": "https://lido.fi/"
        },
        {
          "address": "ethereum:0x6985884c4392d348587b19cb9eaaf157f13271cd",
          "audits": "2",
          "chain": "Multi-Chain",
          "description": "LayerZero is a technology that enables applications to move data across blockchains, uniquely supporting censorship-resistant messages and permissionless development through immutable smart contracts.",
          "gecko_id": null,
          "id": "4867",
          "logo": "https://icons.llamao.fi/icons/protocols/layerzero-v2",
          "name": "LayerZero V2",
          "symbol": "ZRO",
          "url": "https://layerzero.network/"
        },
        {
          "address": "0x7fc66500c84a76ad7e9c93437bfc5ac33e2ddae9",
          "audits": "2",
          "chain": "Multi-Chain",
          "description": "Earn interest, borrow assets, and build applications",
          "gecko_id": null,
          "id": "1599",
          "logo": "https://icons.llamao.fi/icons/protocols/aave-v3",
          "name": "Aave V3",
          "symbol": "AAVE",
          "url": "https://aave.com"
        }
      ]
    }
  ]
}
```

Error handling

StatusNext step
400Check the offering and request fields.
401 / 403Verify your credentials and access permissions.
402Inspect the selected access mode and returned payment requirements.
429Respect the returned rate limit and retry guidance.
5xxInspect the error and usage record before retrying a paid operation.

Examples

Documentation example (source abbreviated)

Published documentation example. Verify the actual response after an approved call.

  1. Prepare your environment

    Use a terminal with cURL installed.

    Use an OpenAny API key with shared-balance access. Confirm availability and price before running; a call may charge your balance.

    Set the key in your terminal using the hidden prompt below. Keep its value out of source files and logs.

    Terminal · macOS / Linux
    printf 'OpenAny API key: '
    read -r -s OPENANY_API_KEY
    export OPENANY_API_KEY
    printf '\n'
  2. Run the request

    Paste the complete command below into your terminal.

    Terminal · cURL
    curl \
      'https://api.openany.si/v1/agent-apis/blockrun/v1/defillama/protocols' \
      -X GET \
      -H "Authorization: Bearer $OPENANY_API_KEY" \
      -H 'Content-Type: application/json'
  3. Check the response

    Sample response · Documented HTTP 200

    Sample response
    [
      {
        "address": null,
        "audits": "0",
        "chain": "Multi-Chain",
        "description": "Binance is a cryptocurrency exchange which is the largest exchange in the world in terms of daily trading volume of cryptocurrencies",
        "gecko_id": null,
        "id": "2269",
        "logo": "https://icons.llamao.fi/icons/protocols/binance-cex",
        "name": "Binance CEX",
        "symbol": "BNB",
        "url": "https://www.binance.com"
      },
      {
        "address": "0x75231f58b43240c9718dd58b4967c5114342a86c",
        "audits": "0",
        "chain": "Multi-Chain",
        "description": "OKX, formerly known as OKEx, is a Seychelles-based cryptocurrency exchange and derivatives exchange that provides a platform for trading various instruments such as spot and derivative",
        "gecko_id": "okb",
        "id": "2272",
        "logo": "https://icons.llamao.fi/icons/protocols/okx",
        "name": "OKX",
        "symbol": "OKB",
        "url": "https://www.okx.com"
      },
      {
        "address": "0x5a98fcbea516cf06857215779fd812ca3bef1b32",
        "audits": "2",
        "chain": "Multi-Chain",
        "description": "Liquid staking for Ethereum and Polygon. Daily staking rewards, no lock ups.",
        "id": "182",
        "logo": "https://icons.llamao.fi/icons/protocols/lido",
        "name": "Lido",
        "referralUrl": "https://stake.lido.fi/?ref=0x08a3c2A819E3de7ACa384c798269B3Ce1CD0e437",
        "symbol": "LDO",
        "url": "https://lido.fi/"
      },
      {
        "address": "ethereum:0x6985884c4392d348587b19cb9eaaf157f13271cd",
        "audits": "2",
        "chain": "Multi-Chain",
        "description": "LayerZero is a technology that enables applications to move data across blockchains, uniquely supporting censorship-resistant messages and permissionless development through immutable smart contracts.",
        "gecko_id": null,
        "id": "4867",
        "logo": "https://icons.llamao.fi/icons/protocols/layerzero-v2",
        "name": "LayerZero V2",
        "symbol": "ZRO",
        "url": "https://layerzero.network/"
      },
      {
        "address": "0x7fc66500c84a76ad7e9c93437bfc5ac33e2ddae9",
        "audits": "2",
        "chain": "Multi-Chain",
        "description": "Earn interest, borrow assets, and build applications",
        "gecko_id": null,
        "id": "1599",
        "logo": "https://icons.llamao.fi/icons/protocols/aave-v3",
        "name": "Aave V3",
        "symbol": "AAVE",
        "url": "https://aave.com"
      }
    ]

Common questions

Do I need a separate key for every provider?

Use your OpenAny API key for standard API access. Read it from OPENANY_API_KEY in your environment and keep it out of prompts, source code and logs.

Are these providers interchangeable?

No. Each offering has its own inputs, pricing and response contract. Selecting a catalog offering does not establish automatic routing or fallback. Confirm the service contract before calling.

How is this API billed?

API-key calls use your shared balance at the selected implementation's published rate. Check the billing unit and request-specific pricing rules before making a paid call. Recorded usage determines the final charge under that contract.

Where do the price and contract come from?

The selected implementation publishes its provider, request contract, revision and billing rules through OpenAny's public API catalog. A revision number identifies a contract version, not a price update date. A price update timestamp is not supplied; do not treat a page date as one.

How do OpenAny Balance and x402 differ?

OpenAny Balance uses an API key and one shared balance. Card, USDC and x402 top-ups, card auto top-up and USDC subscriptions fund that balance; available routes appear on the Credits page. Direct x402 is a separate pay-per-request flow, available only on listings that show it and requiring an authorized payment client.

Does Playground send a paid request?

Yes. After you sign in, Run sends a real API request using an active OpenAny API key. Charges follow the published API contract and use your shared balance. Selecting an implementation, editing inputs and viewing sample responses do not send requests.

Use DeFi Data — DefiLlama — protocols with your agent

Inspect endpoint contracts and confirm availability and pricing before a paid call.