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.