Desarrolladores
Lleva el asistente a tu app, a tu cliente MCP o a tu web. En todas partes cuesta lo mismo que en el chat.
POST/api/v1/conversations
Iniciar conversación: { text, locale?, model?, tools? } — con tools pide precios cripto, análisis técnico o búsqueda web.
curl -X POST "https://cryptoprice.pro/api/v1/conversations" \
-H "Authorization: Bearer sk_..." \
-H "Content-Type: application/json" \
-d '{"text":"…","locale":"es"}'Cuerpo de la respuesta
La respuesta aparecerá aquí.
Documentación
Herramientas cripto
Las herramientas cripto del chat también están en la API: precio, resumen del mercado, análisis técnico, velas, libro de órdenes, comparación de exchanges, tasa de financiación, conversor y búsqueda web. Añádelas con el campo tools; las herramientas activas y su coste se listan con GET /api/v1/tools.
curl -X POST https://cryptoprice.pro/api/v1/conversations -H "Authorization: Bearer sk_..." -H "Content-Type: application/json" -d '{"text": "BTC and ETH price, 4h technical analysis and the cheapest exchange", "tools": ["crypto_price", "crypto_technical_analysis", "crypto_compare_exchanges"]}'
# GET /api/v1/conversations/{id}
{
"pending": false,
"messages": [
{ "role": "assistant", "content": "| Coin | Price | 24h | Signal | … |" }
]
}
# GET /api/v1/tools → open tools and their credit cost
[{ "name": "crypto_price", "credits": 0, "unit": "call", "pro": false }, …]