memeswap.fun
Developers

给人用,也给智能体用的接口。

Draft for counsel review. These endpoints support the first-party beta interface and may change without notice. They are not a supported public trading API. The canonical machine-readable description is OpenAPI 3.1 JSON.

当前测试版已提供

GET /api/tokens已收录代币的行情数据行与更新上下文。
GET /api/token/:chain/:address已存储的详细行情与风险画像。
GET /api/chains受支持链的元数据。
GET /api/portfolio针对调用方提供的公开 EVM 或 Solana 地址的只读持仓。
GET /api/quote受支持兑换的服务方报价。
POST /api/build与先前报价及公开钱包地址绑定的未签名交易数据。
GET /api/xquote跨链路径报价,以及在可用时提供的未签名交易素材。
GET /api/xstatus服务方报告的跨链交易当前状态。
POST /api/solrpc允许列表内的 Solana 读取,以及对已签名序列化交易的受限转发。

认证与签名边界

当前测试版的上述接口不对 API 用户做认证,也不接受调用方提供的 API 凭据。公开钱包地址只是路由输入,不构成所有权证明。服务器内部可能使用自己的服务方访问权限,但那些凭据永远不属于公开的请求或响应约定。

/api/build constructs unsigned material only. It does not authorize, sign, submit or confirm a transaction. A compatible caller-controlled wallet must show and sign the exact transaction. /api/solrpc is the narrow exception for submission: it can forward already-signed Solana bytes after verifying signatures, enforcing the 1,232-byte transaction limit, requiring preflight and bounding retries. It cannot create a signature, change the signed message or authorize the transaction.

速率限制与数据新鲜度

Limits are in-memory fixed windows of 60 seconds, identified by the Cloudflare client address when present and otherwise the socket address. /api/quote, /api/build and /api/xquote share 60 requests per client and 1,200 globally per window. Portfolio cache misses allow 12 per client and 300 globally. Solana RPC reads allow 60/1,200, single signed submissions 6/120, and signed batches of 2–10 transactions 2/20. Exhausted budgets return HTTP 429; process restarts reset the counters. These are current implementation limits, not service guarantees.

The token list is rebuilt at most once every 10 seconds. Identical portfolio requests can reuse a response for 30 seconds. Non-RPC application JSON responses carry Cache-Control: no-store, but internal reuse still applies and source market, profile, RPC and provider observations have independent timestamps and can be older. Quotes, transaction material, prices and bridge statuses can become stale before use; request a fresh quote and verify current chain state in the signing wallet.

风险与可用性

Providers can be unavailable, routes can disappear, price coverage can be missing, and thin or adversarial markets can make estimates misleading. Token scores and risk fields are heuristics, not audits or safety guarantees. Validate recipient, chain, assets, amounts, approvals, fees, slippage and calldata before signing. See Safety, Fees and the Risk Disclosure.

MCP 状态:开发中

目前没有部署任何公开的 MemeSwap MCP 端点。计划中的范围仅限于研究类读取、报价和未签名构建。它不会保管钱包机密、不会签名消息、不会发送不受限的合约调用,也不会提供通用的交易执行工具。其授权模型、工具名称、SDK 包与服务保证都还不是公开承诺。

费用与访问

费用绑定、OAuth 元数据、SDK 包与服务保证尚未公开提供。不要在没有文档的端点之上构建生产系统。

安全

Report vulnerabilities privately to [email protected]. Agentic Labs LLC, San Antonio, Texas 78261.