birdeye-apilisted
Install: claude install-skill Serennity007/claude-trading-skills-67
# Birdeye API — Solana Market Data
Birdeye aggregates market data across all Solana DEXes (and 13 other chains). Prices, OHLCV candles, trade history, token metadata, security info, and wallet analytics. Primary data source for Solana token research and historical analysis.
**Note**: For real-time trading systems, use Yellowstone gRPC (see `yellowstone-grpc` skill). Birdeye is best for historical data, research, and analysis workflows.
## Quick Start
### 1. Get an API Key
Sign up at [birdeye.so](https://birdeye.so) — free tier: 30K compute units/month, 1 req/sec.
```bash
export BIRDEYE_API_KEY="your-api-key"
```
### 2. Install Dependencies
```bash
uv pip install httpx pandas python-dotenv
```
### 3. First Request
```python
import httpx, os
API_KEY = os.environ["BIRDEYE_API_KEY"]
headers = {"X-API-KEY": API_KEY, "x-chain": "solana", "accept": "application/json"}
# Get SOL price
resp = httpx.get(
"https://public-api.birdeye.so/defi/price",
headers=headers,
params={"address": "So11111111111111111111111111111111111111112"},
)
price = resp.json()["data"]["value"]
print(f"SOL: ${price}")
```
## Core Endpoints
All endpoints use base URL `https://public-api.birdeye.so` with `X-API-KEY` and `x-chain` headers.
### Token Price
```python
# Single token price (10 CU)
GET /defi/price?address=TOKEN_MINT
# Multiple token prices (variable CU)
POST /defi/multi_price
Body: {"addresses": ["MINT1", "MINT2", "MINT3"]}
# Price at specific timestamp (10 CU)
GET /defi/hi