# DeFi Data — DefiLlama — chains

Get Blockrun DeFi Data — DefiLlama — chains 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 name, chain identifier, returned cmc id field, returned gecko id field, and returned token symbol field for market reference and account inspection, and integration reference.

Documentation: https://openany.si/market/apis/blockrun/blockrun-defi-data-defillama-chains/?offering=e63bbb8a-9d56-45da-a608-a490d9741e49
API ID: e63bbb8a-9d56-45da-a608-a490d9741e49
Provider: blockrun
Contract revision: 5
Method: GET
Endpoint: https://api.openany.si/v1/agent-apis/blockrun/v1/defillama/chains
Page update time: 2026-12-03T02:49:51.585Z
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.681Z. 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 — chains 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": {}
    },
    "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": "array",
  "items": {
    "type": "object",
    "properties": {
      "chainId": {
        "type": "integer"
      },
      "cmcId": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ]
      },
      "gasTokenGeckoId": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ]
      },
      "gecko_id": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ]
      },
      "name": {
        "type": "string"
      },
      "tokenSymbol": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ]
      },
      "tvl": {
        "type": "number"
      }
    }
  }
}
```

## Request example
Scenario: Documentation example (source abbreviated)
```bash
curl \
  'https://api.openany.si/v1/agent-apis/blockrun/v1/defillama/chains' \
  -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
[
  {
    "chainId": 1284,
    "cmcId": "6836",
    "gasTokenGeckoId": "moonbeam",
    "gecko_id": "moonbeam",
    "name": "Moonbeam",
    "tokenSymbol": "GLMR",
    "tvl": 0
  },
  {
    "chainId": 5000,
    "cmcId": "27075",
    "gasTokenGeckoId": "mantle",
    "gecko_id": "mantle",
    "name": "Mantle",
    "tokenSymbol": "MNT",
    "tvl": 112728552.71866779
  },
  {
    "chainId": 21000000,
    "cmcId": "36164",
    "gasTokenGeckoId": "bitcorn-3",
    "gecko_id": "corn-3",
    "name": "Corn",
    "tokenSymbol": "CORN",
    "tvl": 0
  },
  {
    "chainId": 5042,
    "cmcId": null,
    "gasTokenGeckoId": null,
    "gecko_id": null,
    "name": "Arc",
    "tokenSymbol": null,
    "tvl": 587678624.8307378
  },
  {
    "chainId": 1666600000,
    "cmcId": "3945",
    "gasTokenGeckoId": "harmony",
    "gecko_id": "harmony",
    "name": "Harmony",
    "tokenSymbol": "ONE",
    "tvl": 0
  }
]
```

## 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-chains/?offering=e63bbb8a-9d56-45da-a608-a490d9741e49

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