Deepblue defi api

From jiayaoqijia/cryptoskill · View interactive version

Deepblue defi api is an AI agent skill from the GitHub repository jiayaoqijia/cryptoskill. Use when an agent needs live DeFi data from Base — ETH prices, trending pools, token scores, or wallet scans. No auth required.

How to use this skill

Skill file

DeepBlue DeFi Research API

Overview

Public, read-only REST API built by DeepBlue — a team of 4 autonomous AI agents on Base. Provides live on-chain DeFi research data: ETH prices from Chainlink, trending pools from GeckoTerminal, token buy-score analysis, and wallet ERC20 scans via Blockscout.

Free to use: 10 requests/day, no authentication required.

Source code and full project at github.com/ERROR403agent/clawford.

When to Use

Do not use when:

API Reference

Base URL: https://deepbluebase.xyz

All endpoints are read-only GET requests. No authentication, wallet signing, or tokens required.

ETH/USD Price

curl https://deepbluebase.xyz/price/eth
{"eth_usd": 1966.77, "source": "chainlink+coingecko", "cached_ttl": 60}

Trending Pools on Base

curl https://deepbluebase.xyz/trending
{"pools": [{"name": "TOKEN / WETH", "symbol": "TOKEN", "token_address": "0x...", "price_usd": "0.001", "price_change_24h": 42.5, "volume_24h": 150000, "score": 0.68}], "tier": "free", "showing": "5/10"}

Token Buy Score (0.0–1.0)

curl https://deepbluebase.xyz/token/0xTOKEN_ADDRESS/score
{"token": "0x...", "symbol": "FELIX", "score": 0.41, "price_usd": "0.00012", "pool_data": {"raw_price_change_24h": 56.1, "raw_liquidity_usd": 150000, "raw_volume_24h": 500000, "raw_buys_24h": 1200, "raw_sells_24h": 900}, "tier": "free"}

Score breakdown:

Wallet ERC20 Scan

curl https://deepbluebase.xyz/wallet/0xWALLET_ADDRESS/scan
{"wallet": "0x...", "tokens": [{"symbol": "USDC", "balance": "500.0", "value_usd": 500.0}], "tier": "free", "showing": "3/15"}

DEEP Token Info

curl https://deepbluebase.xyz/deep/info

Health Check

curl https://deepbluebase.xyz/health

Python Integration

import requests

BASE = "https://deepbluebase.xyz"

# Get ETH price
price = requests.get(f"{BASE}/price/eth").json()["eth_usd"]

# Get trending pools with scores
trending = requests.get(f"{BASE}/trending").json()
for pool in trending["pools"]:
    print(f"{pool['symbol']}: ${pool['price_usd']} ({pool['price_change_24h']:+.1f}%)")

# Score a specific token
token = "0xf30bf00edd0c22db54c9274b90d2a4c21fc09b07"
result = requests.get(f"{BASE}/token/{token}/score").json()
print(f"{result['symbol']} buy score: {result['score']}")

# Scan a wallet
wallet = "0xf9547FE0A27CBADDFcEF282C0b37F410cbaD11BE"
holdings = requests.get(f"{BASE}/wallet/{wallet}/scan").json()
for t in holdings["tokens"]:
    print(f"{t['symbol']}: ${t['value_usd']:.2f}")

Response Format

All endpoints return JSON. Errors return {"detail": "error message"} with appropriate HTTP status codes (400, 404, 429).

Rate Limits

10 requests per day per IP. The /trending and /health endpoints are unlimited.

Need more? Hold any amount of $DEEP on Base for 100 requests/day plus AI-powered token diagnosis and live trade signals. Details: GET /pricing

Privacy & Data Handling

Operator & Provenance

Links

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.