Geliştiriciler
Asistanı kendi uygulamana, MCP istemcine ya da sitene taşı. Her kapıda bedel sohbet ekranındakiyle aynı.
POST/api/v1/conversations
Yeni sohbet: { text, locale?, model?, tools? } — tools ile kripto fiyatı, teknik analiz ya da web araması ekle.
tools
Gerçek istek: mesaj bedeli kredinden düşer. (1 kredi)
Kod
curl -X POST "https://cryptoprice.pro/api/v1/conversations" \
-H "Authorization: Bearer sk_..." \
-H "Content-Type: application/json" \
-d '{"text":"…","locale":"tr"}'Yanıt gövdesi
Yanıt burada görünecek.
Dokümantasyon
Kripto araçları
Ana sayfadaki kripto araçları API'de de var: fiyat, piyasa özeti, teknik analiz, mum verisi, emir defteri, borsa karşılaştırması, fonlama oranı, çevirici ve web araması. İsteğe tools alanıyla ekle; açık araçlar ve bedelleri GET /api/v1/tools ile listelenir.
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 }, …]