개발자
어시스턴트를 앱, MCP 클라이언트, 웹사이트로 가져가세요. 어디서든 비용은 채팅과 같습니다.
POST/api/v1/conversations
대화 시작: { text, locale?, model?, tools? } — tools로 암호화폐 시세, 기술적 분석, 웹 검색을 요청하세요.
tools
실제 요청입니다: 메시지 비용이 크레딧에서 차감됩니다. (크레딧 1개)
코드
curl -X POST "https://cryptoprice.pro/api/v1/conversations" \
-H "Authorization: Bearer sk_..." \
-H "Content-Type: application/json" \
-d '{"text":"…","locale":"ko"}'응답 본문
응답이 여기에 표시됩니다.
문서
암호화폐 도구
채팅의 암호화폐 도구를 API에서도 쓸 수 있습니다: 시세, 시장 요약, 기술적 분석, 캔들 데이터, 호가창, 거래소 비교, 펀딩 비율, 환산기, 웹 검색. tools 필드로 추가하세요. 사용 가능한 도구와 비용은 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 }, …]