Official Client Libraries

Integrate in Minutes
with our Official SDKs

Production-ready client libraries for the 5 most popular languages.
Zero config. Full coverage of all 19 endpoints. Type-safe where possible.

Choose Your Language

Each library covers all 19 API endpoints with idiomatic patterns for your stack.

Python
freecryptoapi.py
Type hints • Requests
Python 3.7+
JavaScript / TS
freecryptoapi.js
Full TS types • Zero deps
Node 18+ & Browser
PHP
FreeCryptoAPI.php
PSR-4 • cURL
PHP 7.4+
Java
FreeCryptoAPI.java
HttpClient • Zero deps
Java 11+
C# / .NET
FreeCryptoAPI.cs
async/await • IDisposable
.NET 6+

Quick Start

Download the library file, drop it into your project, and start fetching crypto data in under a minute.

Python
JavaScript
PHP
Java
C#
Installation
Download freecryptoapi.py
Terminal — or download with curl
# 1. Download the file into your project
$ curl -O https://freecryptoapi.com/libraries/python/freecryptoapi.py

# 2. Install the only dependency
$ pip install requests
Lightweight

Only requests as dependency

Type Safe

Full type hints for IDE support

Quick Example
example.py
from freecryptoapi import FreeCryptoAPI # Initialize with your API key api = FreeCryptoAPI("YOUR_API_KEY") # Get live Bitcoin data btc = api.get_data("BTC") print(btc) # Get multiple symbols at once data = api.get_data("BTC+ETH+SOL") # Convert 1.5 BTC to ETH result = api.get_conversion("BTC", "ETH", 1.5) # Technical analysis (RSI, MACD) ta = api.get_technical_analysis("BTC") # Bollinger Bands bb = api.get_bollinger("ETH", days=90) # Fear & Greed Index fg = api.get_fear_greed()
Installation
Terminal — or download with curl
# Download JS file (+ optional TS types)
$ curl -O https://freecryptoapi.com/libraries/javascript/freecryptoapi.js

# No other dependencies needed!
Zero Deps

Uses native fetch API

TypeScript

Full .d.ts definitions included

Quick Example
app.js
import { FreeCryptoAPI } from 'freecryptoapi'; // Initialize with your API key const api = new FreeCryptoAPI('YOUR_API_KEY'); // Get live Bitcoin data const btc = await api.getData('BTC'); console.log(btc); // Get multiple symbols const data = await api.getData('BTC+ETH+SOL'); // Convert 1.5 BTC to ETH const result = await api.getConversion('BTC', 'ETH', 1.5); // Technical analysis (RSI, MACD) const ta = await api.getTechnicalAnalysis('BTC'); // Bollinger Bands const bb = await api.getBollinger('ETH', { days: 90 }); // Fear & Greed Index const fg = await api.getFearGreed();
Installation
Terminal — or download with curl
# Download both files into your project
$ curl -O https://freecryptoapi.com/libraries/php/src/FreeCryptoAPI.php
$ curl -O https://freecryptoapi.com/libraries/php/src/FreeCryptoAPIException.php
2 Files

Drop into any PHP project

cURL Based

Built-in PHP extension, no extras

Quick Example
index.php
<?php require_once 'FreeCryptoAPIException.php'; require_once 'FreeCryptoAPI.php'; // Initialize with your API key $api = new FreeCryptoAPI('YOUR_API_KEY'); // Get live Bitcoin data $btc = $api->getData('BTC'); print_r($btc); // Get multiple symbols $data = $api->getData('BTC+ETH+SOL'); // Convert 1.5 BTC to ETH $result = $api->getConversion('BTC', 'ETH', 1.5); // Technical analysis (RSI, MACD) $ta = $api->getTechnicalAnalysis('BTC'); // Fear & Greed Index $fg = $api->getFearGreed();
Installation
Terminal — or download with curl
# Download both .java files into your com.freecryptoapi package
$ curl -O https://freecryptoapi.com/libraries/java/src/main/
        java/com/freecryptoapi/FreeCryptoAPI.java
$ curl -O https://freecryptoapi.com/libraries/java/src/main/
        java/com/freecryptoapi/FreeCryptoAPIException.java
Zero Deps

Built-in HttpClient

Overloaded

Java-style method overloading

Quick Example
App.java
import com.freecryptoapi.FreeCryptoAPI; public class App { public static void main(String[] args) { // Initialize with your API key FreeCryptoAPI api = new FreeCryptoAPI("YOUR_API_KEY"); // Get live Bitcoin data String btc = api.getData("BTC"); System.out.println(btc); // Get multiple symbols String data = api.getData("BTC+ETH+SOL"); // Convert 1.5 BTC to ETH String result = api.getConversion("BTC", "ETH", 1.5); // Technical analysis String ta = api.getTechnicalAnalysis("BTC"); // Fear & Greed Index String fg = api.getFearGreed(); } }
Installation
Terminal — or download with curl
# Drop both .cs files into your project
$ curl -O https://freecryptoapi.com/libraries/csharp/FreeCryptoAPI.cs
$ curl -O https://freecryptoapi.com/libraries/csharp/FreeCryptoAPIException.cs
Async

Full async/await pattern

IDisposable

Proper resource cleanup

Quick Example
Program.cs
using FreeCryptoAPI; // Initialize with your API key using var api = new FreeCryptoAPI("YOUR_API_KEY"); // Get live Bitcoin data var btc = await api.GetDataAsync("BTC"); Console.WriteLine(btc); // Get multiple symbols var data = await api.GetDataAsync("BTC+ETH+SOL"); // Convert 1.5 BTC to ETH var result = await api.GetConversionAsync("BTC", "ETH", 1.5); // Technical analysis (RSI, MACD) var ta = await api.GetTechnicalAnalysisAsync("BTC"); // Bollinger Bands var bb = await api.GetBollingerAsync("ETH", days: 90); // Fear & Greed Index var fg = await api.GetFearGreedAsync();

Full Documentation

Complete reference for every method, error handling, and configuration.

All requests require a valid API key passed as a Bearer token. Get your free API key at freecryptoapi.com.

from freecryptoapi import FreeCryptoAPI

api = FreeCryptoAPI("your_api_key")

from freecryptoapi import FreeCryptoAPI

api = FreeCryptoAPI("your_api_key")

# List all supported cryptocurrencies
crypto_list = api.get_crypto_list()

# Get data for one or multiple symbols
btc = api.get_data("BTC")
multi = api.get_data("BTC+ETH+SOL")

# Get data from a specific exchange
btc_binance = api.get_data("BTC@binance")

# Get top cryptocurrencies by market cap
top20 = api.get_top(20)

# Get data in a local currency
btc_eur = api.get_data_currency("BTC", "EUR")

# Performance metrics
perf = api.get_performance("BTC")

# Volatility data
vol = api.get_volatility(symbol="BTC")

# All-time high / all-time low
ath_atl = api.get_ath_atl(symbol="ETH")

# Fear & Greed Index
fg = api.get_fear_greed()

# Technical analysis summary
ta = api.get_technical_analysis("BTC")

# Breakout signals
breakouts = api.get_breakouts()

# Correlation between symbols
corr = api.get_correlation("BTC+ETH", days=30)

# Support and resistance levels
sr = api.get_support_resistance("BTC")

# Moving average ribbon
ribbon = api.get_ma_ribbon("BTC", days=60)

# Bollinger Bands
bb = api.get_bollinger("BTC", days=30, period=20, std_dev=2.0)

# Exchange data
exchange = api.get_exchange("binance")

# Currency conversion
result = api.get_conversion("BTC", "USD", 1.5)

# Last 30 days of price history
history = api.get_history("BTC", 30)

# Specific date range
timeframe = api.get_timeframe("BTC", "2024-01-01", "2024-06-30")

# OHLC candlestick data
ohlc = api.get_ohlc("BTC", days=7)
ohlc_range = api.get_ohlc("BTC", start_date="2024-01-01", end_date="2024-01-31")

The client raises FreeCryptoAPIError on HTTP errors. The exception includes the HTTP status code and message returned by the API.

from freecryptoapi import FreeCryptoAPI, FreeCryptoAPIError

api = FreeCryptoAPI("your_api_key")

try:
    data = api.get_data("INVALID")
except FreeCryptoAPIError as e:
    print(f"Status: {e.status_code}")
    print(f"Message: {e}")

api = FreeCryptoAPI(
    api_key="your_api_key",
    base_url="https://api.freecryptoapi.com/v1",  # default
    timeout=30                                      # seconds, default
)

MethodEndpointDescription
get_crypto_list()/getCryptoListList all supported cryptocurrencies
get_data(symbol)/getDataCurrent market data for symbol(s)
get_top(top)/getTopTop cryptocurrencies by market cap
get_data_currency(symbol, local)/getDataCurrencyMarket data in local currency
get_performance(symbol)/getPerformancePerformance metrics
get_volatility(symbol, top)/getVolatilityVolatility data
get_ath_atl(symbol, months)/getATHATLAll-time high / all-time low
get_fear_greed()/getFearGreedFear & Greed Index
get_technical_analysis(symbol)/getTechnicalAnalysisTechnical analysis summary
get_breakouts(symbol)/getBreakoutsBreakout signals
get_correlation(symbols, days)/getCorrelationSymbol correlation
get_support_resistance(symbol, period)/getSupportResistanceSupport & resistance levels
get_ma_ribbon(symbol, days)/getMARibbonMoving average ribbon
get_bollinger(symbol, days, period, std_dev)/getBollingerBollinger Bands
get_exchange(exchange)/getExchangeExchange data
get_conversion(from_symbol, to_symbol, amount)/getConversionCurrency conversion
get_history(symbol, days)/getHistoryHistorical price data
get_timeframe(symbol, start, end)/getTimeframePrice data for date range
get_ohlc(symbol, days, start_date, end_date)/getOHLCOHLC candlestick data

Supports both ES Modules and CommonJS. Uses the native fetch API — no dependencies required.

// ES Module
import { FreeCryptoAPI } from './freecryptoapi.js';

// CommonJS
const { FreeCryptoAPI } = require('./freecryptoapi.js');

const api = new FreeCryptoAPI('YOUR_API_KEY');

// Get Bitcoin market data
const btc = await api.getData('BTC');
console.log(btc);

// List all available cryptocurrencies
const list = await api.getCryptoList();

// Get data for one or multiple symbols
const btc = await api.getData('BTC');
const multi = await api.getData('BTC+ETH+SOL');

// Get top 20 by market cap
const top20 = await api.getTop(20);

// Market data in a local currency
const btcEur = await api.getDataCurrency('BTC', 'EUR');

// Performance metrics
const perf = await api.getPerformance('BTC');

// Volatility data
const vol = await api.getVolatility({ symbol: 'BTC' });

// All-time high / all-time low
const athAtl = await api.getATHATL({ symbol: 'ETH' });

// Fear & Greed Index
const fg = await api.getFearGreed();

// Technical analysis summary
const ta = await api.getTechnicalAnalysis('BTC');

// Breakout signals
const breakouts = await api.getBreakouts();

// Correlation between symbols
const corr = await api.getCorrelation('BTC+ETH', { days: 30 });

// Support and resistance levels
const sr = await api.getSupportResistance('BTC');

// Moving average ribbon
const ribbon = await api.getMARibbon('BTC', { days: 60 });

// Bollinger Bands
const bb = await api.getBollinger('BTC', { days: 30, period: 20, stdDev: 2.0 });

// Exchange data
const exchange = await api.getExchange('binance');

// Currency conversion
const result = await api.getConversion('BTC', 'USD', 1.5);

// Last 30 days of price history
const history = await api.getHistory('BTC', 30);

// Specific date range
const timeframe = await api.getTimeframe('BTC', '2024-01-01', '2024-06-30');

// OHLC candlestick data
const ohlc = await api.getOHLC('BTC', { days: 7 });
const ohlcRange = await api.getOHLC('BTC', { startDate: '2024-01-01', endDate: '2024-01-31' });

The client throws FreeCryptoAPIError on HTTP errors. The exception includes the HTTP status code and message.

import { FreeCryptoAPI, FreeCryptoAPIError } from './freecryptoapi.js';

const api = new FreeCryptoAPI('YOUR_API_KEY');

try {
  const data = await api.getData('INVALID');
} catch (e) {
  if (e instanceof FreeCryptoAPIError) {
    console.error(`Status: ${e.statusCode}`);
    console.error(`Message: ${e.message}`);
  }
}

Download freecryptoapi.d.ts alongside the JS file. TypeScript will automatically pick up the type definitions — no extra configuration needed.

import { FreeCryptoAPI, FreeCryptoAPIError } from './freecryptoapi';

const api: FreeCryptoAPI = new FreeCryptoAPI('YOUR_API_KEY');

const btc: string = await api.getData('BTC');
const parsed = JSON.parse(btc);

MethodEndpointDescription
getCryptoList()/getCryptoListList all supported cryptocurrencies
getData(symbol)/getDataCurrent market data for symbol(s)
getTop(top)/getTopTop cryptocurrencies by market cap
getDataCurrency(symbol, local)/getDataCurrencyMarket data in local currency
getPerformance(symbol)/getPerformancePerformance metrics
getVolatility(opts?)/getVolatilityVolatility data
getATHATL(opts?)/getATHATLAll-time high / all-time low
getFearGreed()/getFearGreedFear & Greed Index
getTechnicalAnalysis(symbol)/getTechnicalAnalysisTechnical analysis summary
getBreakouts(symbol?)/getBreakoutsBreakout signals
getCorrelation(symbols, opts?)/getCorrelationSymbol correlation
getSupportResistance(symbol, opts?)/getSupportResistanceSupport & resistance
getMARibbon(symbol, opts?)/getMARibbonMoving average ribbon
getBollinger(symbol, opts?)/getBollingerBollinger Bands
getExchange(exchange)/getExchangeExchange data
getConversion(from, to, amount)/getConversionCurrency conversion
getHistory(symbol, days)/getHistoryHistorical price data
getTimeframe(symbol, start, end)/getTimeframePrice data for date range
getOHLC(symbol, opts?)/getOHLCOHLC candlestick data

Download FreeCryptoAPI.php and FreeCryptoAPIException.php, drop them into your project, and require them.

<?php
require_once 'FreeCryptoAPIException.php';
require_once 'FreeCryptoAPI.php';

$api = new FreeCryptoAPI('your-api-key');

// Get Bitcoin market data
$btc = $api->getData('BTC');
echo $btc;

// List all available cryptocurrencies
$list = $api->getCryptoList();

// Get market data for symbol(s)
$btc  = $api->getData('BTC');
$multi = $api->getData('BTC+ETH+SOL');

// Top cryptocurrencies by market cap
$top20 = $api->getTop(20);

// Market data in a local currency
$btcEur = $api->getDataCurrency('BTC', 'EUR');

// Performance metrics
$perf = $api->getPerformance('BTC');

// Volatility data
$vol = $api->getVolatility('BTC');

// All-time high / all-time low
$athAtl = $api->getATHATL('ETH');

// Fear & Greed Index
$fg = $api->getFearGreed();

// Technical analysis summary
$ta = $api->getTechnicalAnalysis('BTC');

// Breakout signals
$breakouts = $api->getBreakouts();

// Correlation between symbols
$corr = $api->getCorrelation('BTC,ETH,SOL', 30);

// Support and resistance levels
$sr = $api->getSupportResistance('BTC');

// Moving average ribbon
$ribbon = $api->getMARibbon('BTC', 60);

// Bollinger Bands
$bb = $api->getBollinger('BTC', 30, 20, 2.0);

// Exchange data
$exchange = $api->getExchange('binance');

// Currency conversion
$result = $api->getConversion('BTC', 'USD', 1.5);

// Last 30 days of price history
$history = $api->getHistory('BTC', 30);

// Specific date range
$timeframe = $api->getTimeframe('BTC', '2024-01-01', '2024-06-30');

// OHLC candlestick data
$ohlc = $api->getOHLC('BTC', 7);
$ohlcRange = $api->getOHLC('BTC', null, '2024-01-01', '2024-01-31');

The client throws FreeCryptoAPIException on HTTP errors. The exception includes the HTTP status code.

try {
    $data = $api->getData('INVALID');
} catch (FreeCryptoAPIException $e) {
    echo "Status: " . $e->getStatusCode() . "\n";
    echo "Message: " . $e->getMessage() . "\n";
}

MethodEndpointDescription
getCryptoList()/getCryptoListList all supported cryptocurrencies
getData($symbol)/getDataCurrent market data for symbol(s)
getTop($top)/getTopTop cryptocurrencies by market cap
getDataCurrency($symbol, $local)/getDataCurrencyMarket data in local currency
getPerformance($symbol)/getPerformancePerformance metrics
getVolatility($symbol, $top)/getVolatilityVolatility data
getATHATL($symbol, $months)/getATHATLAll-time high / all-time low
getFearGreed()/getFearGreedFear & Greed Index
getTechnicalAnalysis($symbol)/getTechnicalAnalysisTechnical analysis summary
getBreakouts($symbol)/getBreakoutsBreakout signals
getCorrelation($symbols, $days)/getCorrelationSymbol correlation
getSupportResistance($symbol, $period)/getSupportResistanceSupport & resistance
getMARibbon($symbol, $days)/getMARibbonMoving average ribbon
getBollinger($symbol, $days, $period, $stdDev)/getBollingerBollinger Bands
getExchange($exchange)/getExchangeExchange data
getConversion($from, $to, $amount)/getConversionCurrency conversion
getHistory($symbol, $days)/getHistoryHistorical price data
getTimeframe($symbol, $start, $end)/getTimeframePrice data for date range
getOHLC($symbol, $days, $startDate, $endDate)/getOHLCOHLC candlestick data

Download both FreeCryptoAPI.java and FreeCryptoAPIException.java into your com.freecryptoapi package directory. Java 11+ required — no external dependencies.

import com.freecryptoapi.FreeCryptoAPI;
import com.freecryptoapi.FreeCryptoAPIException;

public class Main {
    public static void main(String[] args) {
        FreeCryptoAPI api = new FreeCryptoAPI("your-api-key");

        // Get Bitcoin market data
        String btcData = api.getData("BTC");
        System.out.println(btcData);

        // Get top 10 cryptocurrencies
        String top10 = api.getTop(10);
        System.out.println(top10);
    }
}

// List all available cryptocurrencies
String list = api.getCryptoList();

// Get market data for a specific cryptocurrency
String data = api.getData("BTC");

// Get top N cryptocurrencies
String top10 = api.getTop(10);

// Market data in a specific local currency
String eurData = api.getDataCurrency("BTC", "EUR");

// Performance data
String performance = api.getPerformance("ETH");

// Volatility data
String allVol  = api.getVolatility();
String btcVol  = api.getVolatility("BTC");
String topVol  = api.getVolatilityByTop(20);

// All-time high / all-time low
String athAtl  = api.getATHATL("BTC");
String athAtl6m = api.getATHATLByMonths("BTC", 6);

// Fear & Greed Index
String fearGreed = api.getFearGreed();

// Technical analysis indicators
String ta = api.getTechnicalAnalysis("BTC");

// Breakout signals
String allBreakouts = api.getBreakouts();
String btcBreakouts = api.getBreakouts("BTC");

// Correlation between cryptocurrencies
String corr   = api.getCorrelation("BTC,ETH,SOL");
String corr30d = api.getCorrelation("BTC,ETH,SOL", 30);

// Support and resistance levels
String sr   = api.getSupportResistance("BTC");
String sr90 = api.getSupportResistance("BTC", 90);

// Moving Average Ribbon
String maRibbon    = api.getMARibbon("BTC");
String maRibbon200 = api.getMARibbon("BTC", 200);

// Bollinger Bands
String bollinger       = api.getBollinger("BTC");
String bollingerCustom = api.getBollinger("BTC", 30, 20, 2.0);

// Exchange data
String binance = api.getExchange("binance");

// Currency conversion
String conversion = api.getConversion("BTC", "USD", 1.5);

// Historical data (last N days)
String history = api.getHistory("BTC", 30);

// Specific date range
String timeframe = api.getTimeframe("BTC", "2024-01-01", "2024-12-31");

// OHLC data
String ohlc      = api.getOHLC("BTC");
String ohlc7d    = api.getOHLC("BTC", 7);
String ohlcRange = api.getOHLC("BTC", "2024-01-01", "2024-06-30");

All API errors throw FreeCryptoAPIException, which extends RuntimeException and includes the HTTP status code.

try {
    String data = api.getData("INVALID");
} catch (FreeCryptoAPIException e) {
    System.err.println("Status code: " + e.getStatusCode());
    System.err.println("Message: "     + e.getMessage());
}

All requests require a valid API key passed as a Bearer token. Requires .NET 6.0 or later. No external NuGet dependencies.

using FreeCryptoAPI;

using var client = new FreeCryptoAPI("your_api_key");

// Get Bitcoin market data
string btc = await client.GetDataAsync("BTC");
Console.WriteLine(btc);

// List all supported cryptocurrencies
string cryptoList = await client.GetCryptoListAsync();

// Get data for one or multiple symbols
string btc   = await client.GetDataAsync("BTC");
string multi = await client.GetDataAsync("BTC+ETH+SOL");

// Get data from a specific exchange
string btcBinance = await client.GetDataAsync("BTC@binance");

// Get top 20 by market cap
string top20 = await client.GetTopAsync(20);

// Market data in a local currency
string btcEur = await client.GetDataCurrencyAsync("BTC", "EUR");

// Performance metrics
string perf = await client.GetPerformanceAsync("BTC");

// Volatility data
string vol = await client.GetVolatilityAsync(symbol: "BTC");

// All-time high / all-time low
string athAtl = await client.GetATHATLAsync(symbol: "ETH");

// Fear & Greed Index
string fg = await client.GetFearGreedAsync();

// Technical analysis summary
string ta = await client.GetTechnicalAnalysisAsync("BTC");

// Breakout signals
string breakouts = await client.GetBreakoutsAsync();

// Correlation between symbols
string corr = await client.GetCorrelationAsync("BTC+ETH", days: 30);

// Support and resistance levels
string sr = await client.GetSupportResistanceAsync("BTC");

// Moving average ribbon
string ribbon = await client.GetMARibbonAsync("BTC", days: 60);

// Bollinger Bands
string bb = await client.GetBollingerAsync("BTC", days: 30, period: 20, stdDev: 2.0);

// Exchange data
string exchange = await client.GetExchangeAsync("binance");

// Currency conversion
string result = await client.GetConversionAsync("BTC", "USD", 1.5);

// Last 30 days of price history
string history = await client.GetHistoryAsync("BTC", 30);

// Specific date range
string timeframe = await client.GetTimeframeAsync("BTC", "2024-01-01", "2024-06-30");

// OHLC candlestick data
string ohlc      = await client.GetOHLCAsync("BTC", days: 7);
string ohlcRange = await client.GetOHLCAsync("BTC", startDate: "2024-01-01", endDate: "2024-01-31");

The client throws FreeCryptoAPIException on HTTP errors. Includes the HTTP status code and message returned by the API.

using FreeCryptoAPI;

using var client = new FreeCryptoAPI("your_api_key");

try
{
    string data = await client.GetDataAsync("INVALID");
}
catch (FreeCryptoAPIException ex)
{
    Console.WriteLine($"Status: {(int)ex.StatusCode}");
    Console.WriteLine($"Message: {ex.Message}");
}

using var client = new FreeCryptoAPI(
    apiKey:  "your_api_key",
    baseUrl: "https://api.freecryptoapi.com/v1",   // default
    timeout: TimeSpan.FromSeconds(30)               // default
);

MethodEndpointDescription
GetCryptoListAsync()/getCryptoListList all supported cryptocurrencies
GetDataAsync(symbol)/getDataCurrent market data for symbol(s)
GetTopAsync(top)/getTopTop cryptocurrencies by market cap
GetDataCurrencyAsync(symbol, local)/getDataCurrencyMarket data in local currency
GetPerformanceAsync(symbol)/getPerformancePerformance metrics
GetVolatilityAsync(symbol, top)/getVolatilityVolatility data
GetATHATLAsync(symbol, months)/getATHATLAll-time high / all-time low
GetFearGreedAsync()/getFearGreedFear & Greed Index
GetTechnicalAnalysisAsync(symbol)/getTechnicalAnalysisTechnical analysis summary
GetBreakoutsAsync(symbol)/getBreakoutsBreakout signals
GetCorrelationAsync(symbols, days)/getCorrelationSymbol correlation
GetSupportResistanceAsync(symbol, period)/getSupportResistanceSupport & resistance
GetMARibbonAsync(symbol, days)/getMARibbonMoving average ribbon
GetBollingerAsync(symbol, days, period, stdDev)/getBollingerBollinger Bands
GetExchangeAsync(exchange)/getExchangeExchange data
GetConversionAsync(from, to, amount)/getConversionCurrency conversion
GetHistoryAsync(symbol, days)/getHistoryHistorical price data
GetTimeframeAsync(symbol, start, end)/getTimeframePrice data for date range
GetOHLCAsync(symbol, days, startDate, endDate)/getOHLCOHLC candlestick data

All 19 Endpoints Covered

Every SDK gives you full access to the entire FreeCryptoAPI surface. No gaps.

Market Data
/getData
/getCryptoList
/getTop
/getDataCurrency
/getPerformance
/getVolatility
/getATHATL
/getFearGreed
Technical Analysis
/getTechnicalAnalysis
/getBreakouts
/getCorrelation
/getSupportResistance
/getMARibbon
/getBollinger
Exchange & Conversion
/getExchange
/getConversion
Historical Data
/getHistory
/getTimeframe
/getOHLC
All SDKs Include
  • Custom error handling
  • Bearer token authentication
  • Optional parameter support
  • Idiomatic API design
  • Comprehensive README

Ready to Build?

Get your free API key and start integrating crypto data into your application in under 5 minutes.

Get Free API Key View Full Docs