MCP HubMCP Hub
스킬 목록으로 돌아가기

dexpaprika-api

coinpaprika
업데이트됨 2 days ago
2 조회
5
5
GitHub에서 보기
메타aiapidata

정보

이 Claude Skill은 개발자들이 DexPaprika의 API와 스트리밍 서비스에 HTTP 요청을 통해 포괄적인 DEX 데이터에 접근할 수 있도록 합니다. 네트워크, 풀, 토큰, 거래 활동을 포함한 블록체인 DEX 정보를 제공하며, 무료 티어는 하루 10,000건의 요청을 제공합니다. 공개 티어에서는 API 키 없이 실시간 또는 과거 분산 거래소 데이터를 통합해야 할 때 사용하세요.

빠른 설치

Claude Code

추천
기본
npx skills add coinpaprika/skills -a claude-code
플러그인 명령대체
/plugin add https://github.com/coinpaprika/skills
Git 클론대체
git clone https://github.com/coinpaprika/skills.git ~/.claude/skills/dexpaprika-api

Claude Code에서 이 명령을 복사하여 붙여넣어 스킬을 설치하세요

문서

DexPaprika API Skill

Free DEX data API covering 34 blockchains, 213 DEXes, 30M+ liquidity pools, and 27.7M+ tokens. Built by the CoinPaprika team (operating since 2018). No API key, no registration. Free public tier: 10,000 requests/day. Enterprise tier (api-pro.dexpaprika.com): unlimited requests with API key.

Field naming note: URL paths use network and token_address, but JSON responses return chain and id for the same values.


Integration options

Option 1: CLI (recommended for agents)

Install and query in seconds. Best for agents that can run shell commands.

curl -sSL https://raw.githubusercontent.com/coinpaprika/dexpaprika-cli/main/install.sh | sh

Always use --output json --raw for machine-readable output. Run dexpaprika-cli onboard for an interactive quick-start guide.

Common commands:

# Search for a token
dexpaprika-cli search USDC --output json --raw

# Get token price
dexpaprika-cli token ethereum 0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2 --output json --raw

# Top pools on a network
dexpaprika-cli pools ethereum --limit 10 --output json --raw

# Historical OHLCV for a pool
dexpaprika-cli pool-ohlcv ethereum 0x88e6a0c2ddd26feeb64f039a2c41296fcb3f5640 --start 2025-01-27 --output json --raw

# Top tokens on a network (ranked, with multi-timeframe metrics)
dexpaprika-cli top-tokens ethereum --limit 20 --output json --raw
dexpaprika-cli top-tokens solana --order-by price_change --sort asc --output json --raw

# Filter tokens by volume, FDV, liquidity, txns
dexpaprika-cli filter-tokens ethereum --volume-24h-min 100000 --output json --raw
dexpaprika-cli filter-tokens solana --fdv-min 1000000 --liquidity-usd-min 50000 --output json --raw

# Filter pools by volume, liquidity, txns, creation date
dexpaprika-cli pool-filter ethereum --volume-24h-min 500000 --liquidity-usd-min 50000 --output json --raw

# Batch token prices
dexpaprika-cli prices ethereum --tokens 0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48 --output json --raw

# Stream real-time prices (~1s updates)
dexpaprika-cli stream ethereum 0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2

# API health check
dexpaprika-cli status

For the full CLI command reference, read references/cli-reference.md.

Option 2: REST API

Base URL: https://api.dexpaprika.com

No authentication required. All responses are JSON.

curl -s "https://api.dexpaprika.com/networks/ethereum/tokens/0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2" | jq

Endpoint table

NeedEndpoint
List all networksGET /networks (returns volume_usd_24h, txns_24h, pools_count per network)
DEXes on a networkGET /networks/{network}/dexes (returns volume_usd_24h, txns_24h, pools_count per DEX)
Top pools on networkGET /networks/{network}/pools
Filter poolsGET /networks/{network}/pools/filter (volume, liquidity, txns, creation date filters)
Pool detailsGET /networks/{network}/pools/{pool_address}
Pool OHLCV (charts)GET /networks/{network}/pools/{pool_address}/ohlcv
Pool transactionsGET /networks/{network}/pools/{pool_address}/transactions
Token price + dataGET /networks/{network}/tokens/{token_address}
Pools containing tokenGET /networks/{network}/tokens/{token_address}/pools
Filter tokensGET /networks/{network}/tokens/filter (volume, liquidity, FDV, txns, creation date filters)
Top tokens on networkGET /networks/{network}/tokens/top (ranked by volume, price, liquidity, txns, or price change)
Batch token pricesGET /networks/{network}/multi/prices?tokens={addr1},{addr2}
Pools for a DEXGET /networks/{network}/dexes/{dex}/pools
Search tokens/pools/DEXesGET /search?query={term}
Platform statisticsGET /stats

For the full OpenAPI 3.1 specification with all schemas, parameters, and response types, read references/openapi.yml.

Option 3: MCP Server (for AI IDEs)

Hosted MCP server for Claude Desktop, Cursor, Windsurf, and any MCP client.

Add to claude_desktop_config.json or equivalent:

{
  "mcpServers": {
    "dexpaprika": {
      "url": "https://mcp.dexpaprika.com/sse"
    }
  }
}

No API key needed. Provides tools for querying networks, pools, tokens, OHLCV, transactions, and search.

Documentation: https://docs.dexpaprika.com/ai-integration/hosted-mcp-server

Option 4: Streaming API (real-time prices)

Base URL: https://streaming.dexpaprika.com

Stream live token prices via Server-Sent Events (SSE). ~1 second updates, 1-2,000 tokens per connection.

Single token (GET):

curl --http1.1 -N "https://streaming.dexpaprika.com/stream?method=t_p&chain=ethereum&address=0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2"

Multiple tokens (POST):

curl --http1.1 -N -X POST "https://streaming.dexpaprika.com/stream" \
  -H "Accept: text/event-stream" -H "Content-Type: application/json" \
  -d '[{"chain":"ethereum","address":"0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2","method":"t_p"}]'

Response fields: a = token address, c = chain, p = price USD (string), t = server timestamp, t_p = price timestamp.

Important: Streaming requires HTTP/1.1. Add --http1.1 with curl. One invalid asset cancels the entire stream.

For full streaming docs, read references/streaming-api.md.

Option 5: SDKs

LanguageRepository
Gohttps://github.com/coinpaprika/dexpaprika-sdk-go
Pythonhttps://github.com/coinpaprika/dexpaprika-sdk-python
TypeScripthttps://github.com/coinpaprika/dexpaprika-sdk-ts
PHPhttps://github.com/coinpaprika/dexpaprika-sdk-php
Rusthttps://github.com/coinpaprika/dexpaprika-sdk-rust

Common workflows

Get a token price

CLI:

dexpaprika-cli token ethereum 0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2 --output json --raw

curl:

curl -s "https://api.dexpaprika.com/networks/ethereum/tokens/0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2" | jq '.summary.price_usd'

Python:

import requests
r = requests.get("https://api.dexpaprika.com/networks/ethereum/tokens/0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2")
token = r.json()
print(f"{token['symbol']}: ${token['summary']['price_usd']}")

Search for a token

curl -s "https://api.dexpaprika.com/search?query=PEPE" | jq '.tokens[:5]'

Note: Search uses fuzzy name+symbol matching. "UNI" returns "Uniswap", "United Stables", etc. Filter by exact symbol match client-side.

Get historical OHLCV for a pool

curl -s "https://api.dexpaprika.com/networks/ethereum/pools/0x88e6a0c2ddd26feeb64f039a2c41296fcb3f5640/ohlcv?start=2025-01-01&interval=1h&limit=24" | jq

OHLCV params: start (required), end, interval (1m|5m|10m|15m|30m|1h|6h|12h|24h), limit (max 366), inversed (boolean, inverts price ratio for USD-denominated prices from stablecoin-paired pools).

Batch prices for multiple tokens

curl -s "https://api.dexpaprika.com/networks/ethereum/multi/prices?tokens=0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48" | jq

Returns an ARRAY (not a keyed object). Max 10 tokens per request.

Stream real-time prices (Python)

import requests, json

assets = [
    {"chain": "ethereum", "address": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2", "method": "t_p"},
    {"chain": "solana", "address": "So11111111111111111111111111111111111111112", "method": "t_p"}
]

r = requests.post("https://streaming.dexpaprika.com/stream",
    headers={"Accept": "text/event-stream", "Content-Type": "application/json"},
    json=assets, stream=True)

for line in r.iter_lines():
    if line and line.startswith(b'data:'):
        data = json.loads(line[5:])
        print(f"{data['c']} {data['a']}: ${data['p']}")

Common token addresses

Do not guess addresses. Use search to find tokens, or use these known addresses:

TokenChainAddress
WETHethereum0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
USDCethereum0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48
USDCpolygon0x2791bca1f2de4661ed88a30c99a7a9449aa84174
USDCsolanaEPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v
SOLsolanaSo11111111111111111111111111111111111111112

Common network IDs

Always lowercase: ethereum, solana, bsc, polygon, arbitrum, base, avalanche, optimism, sui, ton, tron.

Full list: GET /networks or dexpaprika-cli networks.

Pagination

All list endpoints support: ?page=1&limit=10&order_by=volume_usd&sort=desc

Pages are 1-indexed (first page is page=1). Max 1000 pages. Available order_by values: volume_usd, liquidity_usd, price_usd, transactions, last_price_change_usd_24h, created_at. Filter endpoints use sort_by/sort_dir instead of order_by/sort.

Timestamps

All timestamps support Unix, RFC3339, or yyyy-mm-dd format. OHLCV data limited to 366 data points per request.

Rate limits and errors

  • Free tier: 10,000 requests/day. Enterprise (api-pro.dexpaprika.com): unlimited with API key.
  • HTTP errors: 200 OK | 400 bad params | 404 not found | 429 rate limited | 500 server error
  • On 429 rate limit: Wait a few seconds/minutes, then retry. Blocks are temporary. If persistent, contact [email protected].
  • Check API health: dexpaprika-cli status or GET https://api.dexpaprika.com/stats
  • Full docs: https://docs.dexpaprika.com

GitHub 저장소

coinpaprika/skills
경로: dexpaprika-api
0
ai-agentsclaudeclaude-codeclaude-skillscoinpaprikacrypto-api

연관 스킬

content-collections

메타

이 스킬은 콘텐츠 콜렉션(Content Collections)을 위한 프로덕션 검증된 설정을 제공합니다. 콘텐츠 콜렉션은 Markdown/MDX 파일을 Zod 검증이 포함된 타입 안전한 데이터 콜렉션으로 변환해주는 TypeScript 최우선 도구입니다. 블로그, 문서 사이트 또는 콘텐츠 중심의 Vite + React 애플리케이션을 구축할 때 타입 안전성과 자동 콘텐츠 검증을 보장하기 위해 사용하세요. Vite 플러그인 구성과 MDX 컴파일부터 배포 최적화 및 스키마 검증에 이르기까지 모든 것을 다룹니다.

스킬 보기

polymarket

메타

이 스킬은 개발자들이 Polymarket 예측 시장 플랫폼을 활용한 애플리케이션을 구축할 수 있도록 지원하며, 거래 및 시장 데이터를 위한 API 통합 기능을 포함합니다. 또한 WebSocket을 통한 실시간 데이터 스트리밍을 제공하여 실시간 거래와 시장 활동을 모니터링할 수 있습니다. 이를 통해 거래 전략을 구현하거나 실시간 시장 업데이트를 처리하는 도구를 생성하는 데 활용할 수 있습니다.

스킬 보기

creating-opencode-plugins

메타

이 스킬은 개발자들이 명령어, 파일, LSP 작업 등 25개 이상의 이벤트 유형에 연결되는 OpenCode 플러그인을 만들 수 있도록 돕습니다. JavaScript/TypeScript 모듈을 위한 플러그인 구조, 이벤트 API 명세, 구현 패턴을 제공합니다. OpenCode AI 어시스턴트의 라이프사이클을 사용자 정의 이벤트 기반 로직으로 가로채거나, 모니터링하거나, 확장해야 할 때 사용하세요.

스킬 보기

sglang

메타

SGLang은 RadixAttention 프리픽스 캐싱을 활용하여 JSON, 정규식, 에이전트 워크플로우를 위한 고속 구조화 생성에 특화된 고성능 LLM 서빙 프레임워크입니다. 특히 반복되는 프리픽스가 있는 작업에서 상당히 빠른 추론 속도를 제공하여 복잡한 구조화 출력 및 다중 턴 대화에 이상적입니다. 제약 디코딩이 필요하거나 광범위한 프리픽스 공유가 있는 애플리케이션을 구축할 때는 vLLM과 같은 대안보다 SGLang을 선택하십시오.

스킬 보기