# DeFi Data — DefiLlama — protocol

Get Blockrun DeFi Data — DefiLlama — protocol data via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by BlockRun, configure supported query parameters and filters, and retrieve structured data including identifier, name, returned chains field, returned cmc id field, and description for market reference and account inspection, and integration reference.

Documentation: https://openany.si/market/apis/blockrun/blockrun-defi-data-defillama-protocol/?offering=c1df353a-369b-4dcd-b6bc-433ac46f5e7a
API ID: c1df353a-369b-4dcd-b6bc-433ac46f5e7a
Provider: blockrun
Contract revision: 5
Method: GET
Endpoint: https://api.openany.si/v1/agent-apis/blockrun/v1/defillama/protocol/{slug}
Page update time: 2026-12-03T02:49:51.564Z
Access: OpenAny REST
OpenAny MCP: availability is not supplied by this REST contract. Check get_api on the configured OpenAny MCP server before execution.
Request content type: none
Execution mode: sync
Authentication: Authorization: Bearer $OPENANY_API_KEY

## Billing
Price: $0.005 / call
API-key calls use your shared balance. Review the published billing rules before making a paid request.
Price source: OpenAny public API contract. Price update time: not supplied.
Contract update time: 2026-12-03T02:49:50.640Z. This is not a price-change timestamp.
```json
{
  "currency": "USD",
  "mode": "fixed",
  "priceMicroUsd": "5000",
  "rounding": null,
  "unit": "call",
  "unitQuantity": null
}
```

## Request parameters
```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "DeFi Data — DefiLlama — protocol request inputs",
  "$comment": "Declared input types grouped by HTTP location. Path, query and header values describe decoded inputs and are serialized as text on the wire; body is the payload. This is not an exhaustive provider contract or a schema for the raw HTTP request.",
  "type": "object",
  "properties": {
    "path": {
      "type": "object",
      "properties": {
        "slug": {
          "type": "string",
          "description": "DefiLlama protocol slug — `aave`, `uniswap`, `lido`, …"
        }
      },
      "required": [
        "slug"
      ]
    },
    "query": {
      "type": "object",
      "properties": {}
    },
    "headers": {
      "type": "object",
      "properties": {}
    }
  },
  "required": [
    "path",
    "query",
    "headers"
  ]
}
```

## Response fields
Source: Inferred from examples; not an exhaustive provider schema.
```json
{
  "type": "object",
  "properties": {
    "chains": {
      "type": "array",
      "items": {}
    },
    "cmcId": {
      "type": "string"
    },
    "description": {
      "type": "string"
    },
    "gecko_id": {
      "type": "string"
    },
    "id": {
      "type": "string"
    },
    "logo": {
      "type": "string"
    },
    "name": {
      "type": "string"
    },
    "treasury": {
      "type": "string"
    },
    "twitter": {
      "type": "string"
    },
    "url": {
      "type": "string"
    }
  }
}
```

## Request example
Scenario: Documentation example (source abbreviated)
```bash
curl \
  'https://api.openany.si/v1/agent-apis/blockrun/v1/defillama/protocol/aave' \
  -X GET \
  -H "Authorization: Bearer $OPENANY_API_KEY" \
  -H 'Content-Type: application/json'
```

## Response example
Published documentation example. Verify the actual response after an approved call.
Sample response · Documented HTTP 200
```json
{
  "chains": [],
  "cmcId": "7278",
  "description": "Aave is an Open Source and Non-Custodial protocol to earn interest on deposits and borrow assets",
  "gecko_id": "aave",
  "id": "parent#aave",
  "logo": "https://icons.llamao.fi/icons/protocols/aave",
  "name": "Aave",
  "treasury": "aave.js",
  "twitter": "aave",
  "url": "https://aave.com"
}
```

## Error handling
400: Check the request fields.
401 / 403: Verify credentials and access permissions.
402: Inspect payment requirements and balance.
429: Respect returned retry guidance.
5xx: Inspect the error and usage record before retrying a paid operation.

## Available implementations
- blockrun: https://openany.si/market/apis/blockrun/blockrun-defi-data-defillama-protocol/?offering=c1df353a-369b-4dcd-b6bc-433ac46f5e7a

Integration guide: https://openany.si/docs/
Agent setup: https://openany.si/SKILL.md
