Ontwikkelaars
Breng de assistent naar je app, je MCP-client of je website. Overal kost het hetzelfde als in de chat.
POST/api/v1/conversations
Chat starten: { text, locale?, model?, tools? } — met tools vraag je cryptokoersen, technische analyse of webzoeken op.
tools
Echt verzoek: het bericht gaat van je credits af. (1 tegoed)
Code
curl -X POST "https://cryptoprice.pro/api/v1/conversations" \
-H "Authorization: Bearer sk_..." \
-H "Content-Type: application/json" \
-d '{"text":"…","locale":"nl"}'Antwoordbody
Het antwoord verschijnt hier.
Documentatie
Cryptotools
De cryptotools uit de chat zitten ook in de API: koers, marktoverzicht, technische analyse, candlestickdata, orderboek, beurzen vergelijken, funding rate, omrekenen en webzoeken. Voeg ze toe met het veld tools; actieve tools en hun kosten staan in 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 }, …]