Справочник API (x402)
API разработчика x402
Payment proof token obtained from x402 payment challenge flow. Required after completing payment.
Required. User query content.
Successful response
AI response content.
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
AI response content.
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
AI response content.
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
AI response content.
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
AI response content.
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
AI response content.
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'.
scalpingPossible values: 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
Recommended entry price.
Trading side recommendation.
Recommended stop loss price.
Recommended take profit price.
Confidence score (0-100).
Analysis reasons based on technical indicators.
Risk factors to consider.
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
AI reasoning and analysis (empty if only_result=true).
Bad Request - Invalid parameters
Unauthorized - Invalid payment response token
Payment Required
Конечные точки
Чат (сеть Base)
Запрос
Пример запроса
Ответ
Чат-эксперт (сеть Base)
Запрос
Пример запроса
Ответ
Чат (сеть Solana)
Запрос
Пример запроса
Ответ
Чат-эксперт (сеть Solana)
Запрос
Пример запроса
Ответ
Чат (сеть Polygon)
Запрос
Пример запроса
Ответ
Чат-эксперт (сеть Polygon)
Запрос
Пример запроса
Ответ
Торговые конечные точки
Транзакция по намерению обмена
Запрос
Пример запроса
Ответ
Рекомендация по бессрочной торговле
Запрос
Пример запроса
Ответ
Анализ рынка прогнозов (сеть Base)
Запрос
Пример запроса
Ответ
Анализ рынка прогнозов (сеть Polygon)
Запрос
Пример запроса
Ответ
Ответы с ошибками
402 Требуется оплата
401 Неавторизовано
400 Неверный запрос
Ограничения по частоте запросов
Примечания
Последнее обновление
Это было полезно?

