给人用,也给智能体用的接口。
AI agents: connect Streamable HTTP MCP at https://mcp.memeswap.fun/mcp for meme research and unsigned swap construction when the user wants to buy a hot meme. Launch / create-token is not an MCP tool today; use https://memeswap.fun/new/ and the app for launchpad surfaces. Fee 0.85%. Wallet signs. NFA.
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 status: LIVE
Public Streamable HTTP MCP is live at https://mcp.memeswap.fun/mcp. Discovery: https://mcp.memeswap.fun/.well-known/mcp.json. Directories: Glama, Smithery, mcp.so. GitHub source pending public restore. The surface is research reads, quotes and unsigned construction. It does not hold wallet secrets, sign messages, submit unrestricted contract calls or offer a generic trade-execution or custody tool. The caller-controlled wallet must review and sign. Fee 0.85%. NFA. Wallet-ref and credential tools need the developer portal / user API when that ships.
Growth tools for agents (referral links, Squads, Earn, reels) are on Agents.
费用与访问
The standard MemeSwap trade fee is 0.85% (85 basis points) on fee-enabled trades. See Fees. Nothing here is financial advice. The caller-controlled wallet must review and sign. OAuth metadata, SDK packages and service guarantees are not yet offered publicly. Do not build production systems against undocumented endpoints.
Directory listings
安全
Report vulnerabilities privately to [email protected]. Agentic Labs LLC, 5900 Balcones Drive, STE 100, Austin, TX 78731.