SuperAPI AI 工具集

dexscreener-api

数据与分析

查看项目

更新于 10-15 19:52

技能介绍

用途:DexScreener API 提供跨 80+ 条链的 DEX 交易对数据,无需 API Key 或请求头,适合快速查询代币、跨链价格对比与轻量监控。

主要能力:可搜索交易对(按名称、符号或地址,约返回 30 条跨链结果);按链与交易对地址查询单个或多个交易对;按代币地址查询其所有交易对;获取最新代币资料、最新及热门 boost、订单与社区接管信息。返回字段含 chainId、dexId、baseToken/quoteToken、priceNative、priceUsd、txns(m5/h1/h6/h24 买卖笔数)、volume、priceChange、liquidity、fdv、marketCap、pairCreatedAt 及可选 info。

使用方式:基础地址为 https://api.dexscreener.com。示例:curl "https://api.dexscreener.com/latest/dex/search?q=BONK";Python 可用 httpx.get("https://api.dexscreener.com/latest/dex/search", params={"q": "BONK"})。核心端点包括 /latest/dex/search、/latest/dex/pairs/{chain}/{pair}、/latest/dex/tokens/{address}、/token-pairs/v1/{chain}/{token}、/tokens/v1/{chain}/{tokens}、/token-profiles/latest/v1、/token-boosts/latest/v1、/token-boosts/top/v1、/orders/v1/{chain}/{token}、/community-takeovers/latest/v1。速率限制约为 DEX 数据端点 300 请求/分钟,资料与 boost 端点 60 请求/分钟。

适用场景:免费快速代币查询、跨链价格与流动性比较、买卖压力分析、通过 boost 监控新代币。

限制:无 OHLCV/K 线数据;搜索无分页,最多约 30 条;无钱包/交易者数据;无代币安全数据;仅快照数据,非历史时间序列;无 WebSocket,只能轮询。priceNative 与 priceUsd 为字符串以保留精度;pairCreatedAt 为毫秒;info 仅在代币资料被认领时出现;fdv/marketCap 可能缺失。