API 参考(x402)
开发者 x402 API
Payment proof token obtained from x402 payment challenge flow. Required after completing payment.
Required. User query content.
Successful response
Bad Request - Invalid parameters
Unauthorized - Invalid payment response token
Payment Required
Payment proof token obtained from x402 payment challenge flow. Required after completing payment.
Required. User query content.
Successful response
Bad Request - Invalid parameters
Unauthorized - Invalid payment response token
Payment Required
Payment proof token obtained from x402 payment challenge flow. Required after completing payment.
Required. User query content.
Successful response
Bad Request - Invalid parameters
Unauthorized - Invalid payment response token
Payment Required
Payment proof token obtained from x402 payment challenge flow. Required after completing payment.
Required. User query content.
Successful response
Bad Request - Invalid parameters
Unauthorized - Invalid payment response token
Payment Required
Payment proof token obtained from x402 payment challenge flow. Required after completing payment.
Required. User query content.
Successful response
Bad Request - Invalid parameters
Unauthorized - Invalid payment response token
Payment Required
Payment proof token obtained from x402 payment challenge flow. Required after completing payment.
Required. User query content.
Successful response
Bad Request - Invalid parameters
Unauthorized - Invalid payment response token
Payment Required
Payment proof token obtained from x402 payment challenge flow. Required after completing payment.
Required. Trading symbol (e.g., 'BTC', 'ETH', 'SOL').
Optional. Trading style: 'scalping', 'day-trading', or 'swing-trading'. Default: 'scalping'.
scalping可能的值: Optional. Margin in USD. Default: 1000.
1000Optional. Leverage multiplier (max: 40). Default: 10.
10Optional. Strategy type. Default: 'max-profit'. More strategies coming soon.
max-profitSuccessful response
Bad Request - Invalid parameters
Unauthorized - Invalid payment response token
Payment Required
Payment proof token obtained from x402 payment challenge flow. Required after completing payment.
Required. Natural language swap intent (e.g., 'swap 0.1 ETH to USDC').
Required. User wallet address (0x...).
Optional. Chain name (e.g., 'base', 'ethereum', 'bsc', 'arbitrum', 'optimism').
Successful response
Bad Request - Invalid parameters
Unauthorized - Invalid payment response token
Payment Required
Payment proof token obtained from x402 payment challenge flow. Required after completing payment.
Required. Prediction market page link (e.g., Polymarket event URL).
Required. Chat mode: 'fast' or 'expert'.
Optional. Only return prediction probabilities without reasoning. Default: false.
falseOptional. Custom instructions to guide the analysis. Use this to specify focus areas, risk preferences, or analysis style.
Successful response
Bad Request - Invalid parameters
Unauthorized - Invalid payment response token
Payment Required
端点
聊天(Base 链)
请求
请求示例
响应
聊天专家(Base 链)
请求
请求示例
响应
聊天(Solana 链)
请求
请求示例
响应
聊天专家(Solana 链)
请求
请求示例
响应
聊天(Polygon 链)
请求
请求示例
响应
聊天专家(Polygon 链)
请求
请求示例
响应
交易端点
换币意图交易
请求
请求示例
响应
永续合约交易建议
请求
请求示例
响应
预测市场分析(Base 链)
请求
请求示例
响应
预测市场分析(Polygon 链)
请求
请求示例
响应
错误响应
402 需付款
401 未经授权
400 错误请求
速率限制
注意
最后更新于
这有帮助吗?

