Pengembang
Bawa asisten ke aplikasi, klien MCP, atau situs web Anda. Di mana pun biayanya sama dengan di obrolan.
POST/api/v1/conversations
Mulai obrolan: { text, locale?, model?, tools? } — dengan tools minta harga kripto, analisis teknis, atau pencarian web.
curl -X POST "https://cryptoprice.pro/api/v1/conversations" \
-H "Authorization: Bearer sk_..." \
-H "Content-Type: application/json" \
-d '{"text":"…","locale":"id"}'Isi respons
Respons akan muncul di sini.
Dokumentasi
Alat kripto
Alat kripto di obrolan juga ada di API: harga, ringkasan pasar, analisis teknikal, data candlestick, order book, perbandingan bursa, funding rate, konverter, dan pencarian web. Tambahkan dengan kolom tools; alat yang aktif beserta biayanya bisa dilihat lewat 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 }, …]