API Documentation

CoinAI.guru API Docs

Everything you need to integrate real-time cryptocurrency data into your applications. Get started quickly with our comprehensive guides.

Quick Start

  1. 1

    Get your API key

    Sign up for a free account and generate your API key from the dashboard.

    Get API Key
  2. 2

    Make your first request

    Use your API key to authenticate and fetch data.

  3. 3

    Build something awesome

    Integrate real-time crypto data into your app, dashboard, or trading bot.

Authentication

All API requests require authentication using a Bearer token. Include your API key in the Authorization header:

Authorization: Bearer YOUR_API_KEY

Security tip: Never expose your API key in client-side code. Always make API calls from your backend server.

Code Examples

curl -X GET "https://api.coinai.guru/v1/coins/bitcoin" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json"

API Endpoints

Market Data

GET/v1/coinsList all coins with market data
GET/v1/coins/{id}Get detailed coin information
GET/v1/coins/{id}/market_chartGet historical market data
GET/v1/coins/{id}/ohlcGet OHLC candlestick data

Exchanges

GET/v1/exchangesList all exchanges
GET/v1/exchanges/{id}Get exchange details
GET/v1/exchanges/{id}/tickersGet exchange tickers

Global

GET/v1/globalGet global market data
GET/v1/global/defiGet DeFi market data
GET/v1/searchSearch for coins, exchanges

WebSocket Streaming

Connect to our WebSocket endpoint for real-time price updates and market data streaming.

wss://stream.coinai.guru/v1/ws

Available Channels

  • ticker.{symbol}- Real-time price updates
  • trades.{symbol}- Live trade stream
  • orderbook.{symbol}- Order book updates

Official SDKs

JavaScript/TypeScriptstable
npm install @coinai/sdk
Pythonstable
pip install coinai-sdk
Gobeta
go get github.com/coinai/go-sdk
Rubybeta
gem install coinai

Rate Limits

Free
10 requests/min
10,000 calls
Pro
100 requests/min
500,000 calls
Enterprise
Custom
Unlimited

Need Help?

Our developer support team is here to help you integrate our API.

Contact Support