与我们一起构建。 带上你的代码,或你的 AI。
开发者接口,用数字说话
- 280个 AI 模型可通过 MCP 服务器调用的工具
- 0.17.1是 PyPI 上当前的 Python 包
- 0.17.1是 crates.io 上当前的 Rust crate
四种接入方式。选你已经在用的那一种。
读取行情完全不需要密钥。操作账户需要你在设置中生成的密钥,权限可限定为只读,或读取并操作。
- Python仅用标准库,无依赖
- Rust异步客户端,以及基于它构建的命令行
- 命令行在终端中操作流动性池、智能体和方案
- MCP适用于 Claude、ChatGPT、Cursor 及其他 AI 客户端
# pip install ponk
import os
from ponk import PonkClient
ponk = PonkClient(api_key=os.environ["PONK_API_KEY"])
me = ponk.whoami()
print("acting as", me.wallet_address, "scope", me.scope)
for a in ponk.list_agents():
perf = ponk.agent_performance(a.id)
# None means "could not be priced", never zero.
print(a.name, a.status, perf.pnl_usd or "-")
// cargo add ponk
use ponk::Client;
#[tokio::main]
async fn main() -> ponk::Result<()> {
let ponk = Client::new(
"https://ponk.exchange/api",
std::env::var("PONK_API_KEY").unwrap(),
)?;
for a in ponk.list_agents().await? {
let p = ponk.agent_performance(&a.id).await?;
println!("{} {:?}", a.name, p.pnl_usd);
}
Ok(())
}
# cargo install ponk-cli
ponk chains # every chain, its gas coin and its venues
ponk pools --view hot # a board of pools, most fees first
ponk evm-pools bsc --venue pancakeswap_v3
ponk agents # every agent your key's wallet owns
ponk pause <id> # and resume, withdraw
# Model Context Protocol server
https://ponk.exchange/mcp
# Add it as a connector in Claude, ChatGPT, Cursor
# or any other MCP client.
#
# Public reads need no credentials.
# The server never holds a key and never signs.
# A transaction comes back unsigned, for your wallet.
你能做什么。用代码,或用模型。
每项能力都有两种调用方式:通过 HTTP,以及作为 MCP 工具。
读取行情
获取兑换报价、搜索代币,列出各平台流动性池及其成交量、手续费和深度。
公共 API运行智能体
创建智能体、注资、读取其仓位和表现、暂停,并把资金取回。
Agents API构建交易
提交开仓、存入、领取或提取请求,拿回未签名的交易,直接交给钱包签名。
开发者文档





