DeFi Intelligence API Documentation
Independent API for DeFi protocol data: protocol search, protocol profiles, current TVL, and blockchain TVL using the DeFiLlama public API. Payment is the exact USDC price on Base with x402.
POST
https://brainiac.software/api/v1/defi-intelligence/protocols/search$0.05 USDCSearch DeFi protocols
Search DeFi protocols by name, symbol, description, category, or chain using the DeFiLlama public API. Filtering is performed client-side.
Body
| Field | Required | Notes |
|---|---|---|
query | No | string |
category | No | string |
chain | No | string |
limit | Yes | integer; Default: 100 |
Request exampleJSON
{
"query": "Uniswap",
"category": "DEX",
"limit": 10
}Response exampleJSON
cURL
curl -i -X POST "https://brainiac.software/api/v1/defi-intelligence/protocols/search" \
-H 'content-type: application/json' \
-H 'Idempotency-Key: <fresh-64-character-random-hex-key>' \
--data-binary @- <<'JSON'
{
"query": "Uniswap",
"category": "DEX",
"limit": 10
}
JSONPOST
https://brainiac.software/api/v1/defi-intelligence/protocols/profile$0.02 USDCGet protocol information
Retrieve detailed information for a specific DeFi protocol by ID or slug from DeFiLlama public API.
Body
| Field | Required | Notes |
|---|---|---|
id | Yes | string |
Request exampleJSON
{
"id": "uniswap"
}Response exampleJSON
cURL
curl -i -X POST "https://brainiac.software/api/v1/defi-intelligence/protocols/profile" \
-H 'content-type: application/json' \
-H 'Idempotency-Key: <fresh-64-character-random-hex-key>' \
--data-binary @- <<'JSON'
{
"id": "uniswap"
}
JSONPOST
https://brainiac.software/api/v1/defi-intelligence/protocols/tvl/current$0.01 USDCGet current protocol TVL
Retrieve current Total Value Locked (TVL) for a specific DeFi protocol from DeFiLlama public API. TVL is a delayed reference value.
Body
| Field | Required | Notes |
|---|---|---|
id | Yes | string |
Request exampleJSON
{
"id": "uniswap"
}Response exampleJSON
cURL
curl -i -X POST "https://brainiac.software/api/v1/defi-intelligence/protocols/tvl/current" \
-H 'content-type: application/json' \
-H 'Idempotency-Key: <fresh-64-character-random-hex-key>' \
--data-binary @- <<'JSON'
{
"id": "uniswap"
}
JSONPOST
https://brainiac.software/api/v1/defi-intelligence/chains/tvl$0.03 USDCGet TVL by blockchain
Retrieve Total Value Locked (TVL) across blockchains from DeFiLlama public API v2. TVL is a delayed reference value.
Body
| Field | Required | Notes |
|---|---|---|
chain | No | string |
Request exampleJSON
{
"chain": "Ethereum"
}Response exampleJSON
cURL
curl -i -X POST "https://brainiac.software/api/v1/defi-intelligence/chains/tvl" \
-H 'content-type: application/json' \
-H 'Idempotency-Key: <fresh-64-character-random-hex-key>' \
--data-binary @- <<'JSON'
{
"chain": "Ethereum"
}
JSON