The Celsius Community API

Do Good & Do Well.

Thanks for plugging into the Celsius Community Documentation. Here you will find all the public APIs that you, and the rest of the world has access to.

Please read through the documentation to achieve the best results and speed along development.

If you experience any bugs, please email apisupport@celsius.network to notify us.

Build The Future.

EARN

Live feed of interest earn in CEL interest rates
To understand how interest rates are calculated see here.

Base URL: https://celsius.network/api/community/earn

Headers must send x-api-key with your API Key.

import http.client
import mimetypes
conn = http.client.HTTPSConnection("celsius.network")
payload = ''
headers = {
  'x-api-key': 'XXXXXXXXXXXXXXXX'
}
conn.request("GET", "/api/community/earn", payload, headers)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
$curl = curl_init();

curl_setopt_array($curl, array(
  CURLOPT_URL => "https://celsius.network/api/community/earn",
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => "",
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 0,
  CURLOPT_FOLLOWLOCATION => true,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => "GET",
  CURLOPT_HTTPHEADER => array(
    "x-api-key: XXXXXXXXXXXXXXXX"
  ),
));

$response = curl_exec($curl);

curl_close($curl);
echo $response;
var myHeaders = new Headers();
myHeaders.append("x-api-key", "XXXXXXXXXXXXXXXX"

var requestOptions = {
  method: 'GET',
  headers: myHeaders,
  redirect: 'follow'
};

fetch("https://celsius.network/api/community/earn", requestOptions)
  .then(response => response.text())
  .then(result => console.log(result))
  .catch(error => console.log('error', error));
var settings = {
  "url": "https://celsius.network/api/community/earn",
  "method": "GET",
  "timeout": 0,
  "headers": {
    "x-api-key": "XXXXXXXXXXXXXXXX"
  },
};

$.ajax(settings).done(function (response) {
  console.log(response);
});
var request = require('request');
var options = {
  'method': 'GET',
  'url': 'https://celsius.network/api/community/earn',
  'headers': {
    'x-api-key': 'XXXXXXXXXXXXXXXX'
  }
};
request(options, function (error, response) { 
  if (error) throw new Error(error);
  console.log(response.body);
});
var client = new RestClient("https://celsius.network/api/community/earn");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
request.AddHeader("x-api-key", "XXXXXXXXXXXXXXXX");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);

BORROW

Live feed of borrowing rates.
Interest rates are determined by our institutional lending desk. Trading@celsius.network

Base URL: https://celsius.network/api/community/borrow

Headers must send x-api-key with your API Key.

import http.client
import mimetypes
conn = http.client.HTTPSConnection("celsius.network")
payload = ''
headers = {
  'x-api-key': 'XXXXXXXXXXXXXXXX'
}
conn.request("GET", "/api/community/borrow", payload, headers)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
$curl = curl_init();

curl_setopt_array($curl, array(
  CURLOPT_URL => "https://celsius.network/api/community/borrow",
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => "",
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 0,
  CURLOPT_FOLLOWLOCATION => true,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => "GET",
  CURLOPT_HTTPHEADER => array(
    "x-api-key: XXXXXXXXXXXXXXXX"
  ),
));

$response = curl_exec($curl);

curl_close($curl);
echo $response;
var myHeaders = new Headers();
myHeaders.append("x-api-key", "XXXXXXXXXXXXXXXX"

var requestOptions = {
  method: 'GET',
  headers: myHeaders,
  redirect: 'follow'
};

fetch("https://celsius.network/api/community/borrow", requestOptions)
  .then(response => response.text())
  .then(result => console.log(result))
  .catch(error => console.log('error', error));
var settings = {
  "url": "https://celsius.network/api/community/borrow",
  "method": "GET",
  "timeout": 0,
  "headers": {
    "x-api-key": "XXXXXXXXXXXXXXXX"
  },
};

$.ajax(settings).done(function (response) {
  console.log(response);
});
var request = require('request');
var options = {
  'method': 'GET',
  'url': 'https://celsius.network/api/community/borrow',
  'headers': {
    'x-api-key': 'XXXXXXXXXXXXXXXX'
  }
};
request(options, function (error, response) { 
  if (error) throw new Error(error);
  console.log(response.body);
});
var client = new RestClient("https://celsius.network/api/community/borrow");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
request.AddHeader("x-api-key", "XXXXXXXXXXXXXXXX");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);

COMMUNITY DATA

Live feed of community statistics.
This is the data used in-app, under community.

Base URL: https://celsius.network/api/community/community

Headers must send x-api-key with your API Key.

import http.client
import mimetypes
conn = http.client.HTTPSConnection("celsius.network")
payload = ''
headers = {
  'x-api-key': 'XXXXXXXXXXXXXXXX'
}
conn.request("GET", "/api/community/community", payload, headers)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
$curl = curl_init();

curl_setopt_array($curl, array(
  CURLOPT_URL => "https://celsius.network/api/community/community",
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => "",
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 0,
  CURLOPT_FOLLOWLOCATION => true,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => "GET",
  CURLOPT_HTTPHEADER => array(
    "x-api-key: XXXXXXXXXXXXXXXX"
  ),
));

$response = curl_exec($curl);

curl_close($curl);
echo $response;
var myHeaders = new Headers();
myHeaders.append("x-api-key", "XXXXXXXXXXXXXXXX"

var requestOptions = {
  method: 'GET',
  headers: myHeaders,
  redirect: 'follow'
};

fetch("https://celsius.network/api/community/community", requestOptions)
  .then(response => response.text())
  .then(result => console.log(result))
  .catch(error => console.log('error', error));
var settings = {
  "url": "https://celsius.network/api/community/community",
  "method": "GET",
  "timeout": 0,
  "headers": {
    "x-api-key": "XXXXXXXXXXXXXXXX"
  },
};

$.ajax(settings).done(function (response) {
  console.log(response);
});
var request = require('request');
var options = {
  'method': 'GET',
  'url': 'https://celsius.network/api/community/community',
  'headers': {
    'x-api-key': 'XXXXXXXXXXXXXXXX'
  }
};
request(options, function (error, response) { 
  if (error) throw new Error(error);
  console.log(response.body);
});
var client = new RestClient("https://celsius.network/api/community/community");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
request.AddHeader("x-api-key", "XXXXXXXXXXXXXXXX");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);

SUPPORTED COINS

Live feed of support coins in-app.
To view the current support coins, view here.

Base URL: https://celsius.network/api/community/coins

Headers must send x-api-key with your API Key.

import http.client
import mimetypes
conn = http.client.HTTPSConnection("celsius.network")
payload = ''
headers = {
  'x-api-key': 'XXXXXXXXXXXXXXXX'
}
conn.request("GET", "/api/community/coins", payload, headers)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
$curl = curl_init();

curl_setopt_array($curl, array(
  CURLOPT_URL => "https://celsius.network/api/community/coins",
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => "",
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 0,
  CURLOPT_FOLLOWLOCATION => true,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => "GET",
  CURLOPT_HTTPHEADER => array(
    "x-api-key: XXXXXXXXXXXXXXXX"
  ),
));

$response = curl_exec($curl);

curl_close($curl);
echo $response;
var myHeaders = new Headers();
myHeaders.append("x-api-key", "XXXXXXXXXXXXXXXX"

var requestOptions = {
  method: 'GET',
  headers: myHeaders,
  redirect: 'follow'
};

fetch("https://celsius.network/api/community/coins", requestOptions)
  .then(response => response.text())
  .then(result => console.log(result))
  .catch(error => console.log('error', error));
var settings = {
  "url": "https://celsius.network/api/community/coins",
  "method": "GET",
  "timeout": 0,
  "headers": {
    "x-api-key": "XXXXXXXXXXXXXXXX"
  },
};

$.ajax(settings).done(function (response) {
  console.log(response);
});
var request = require('request');
var options = {
  'method': 'GET',
  'url': 'https://celsius.network/api/community/coins',
  'headers': {
    'x-api-key': 'XXXXXXXXXXXXXXXX'
  }
};
request(options, function (error, response) { 
  if (error) throw new Error(error);
  console.log(response.body);
});
var client = new RestClient("https://celsius.network/api/community/coins");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
request.AddHeader("x-api-key", "XXXXXXXXXXXXXXXX");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);

TOP100

Live feed of Top100 Hodlers.
The Top100 list is updated nightly on Friday EST.

Base URL: https://celsius.network/api/community/top100

Headers must send x-api-key with your API Key.

import http.client
import mimetypes
conn = http.client.HTTPSConnection("celsius.network")
payload = ''
headers = {
  'x-api-key': 'XXXXXXXXXXXXXXXX'
}
conn.request("GET", "/api/community/top100", payload, headers)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
$curl = curl_init();

curl_setopt_array($curl, array(
  CURLOPT_URL => "https://celsius.network/api/community/top100",
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => "",
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 0,
  CURLOPT_FOLLOWLOCATION => true,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => "GET",
  CURLOPT_HTTPHEADER => array(
    "x-api-key: XXXXXXXXXXXXXXXX"
  ),
));

$response = curl_exec($curl);

curl_close($curl);
echo $response;
var myHeaders = new Headers();
myHeaders.append("x-api-key", "XXXXXXXXXXXXXXXX"

var requestOptions = {
  method: 'GET',
  headers: myHeaders,
  redirect: 'follow'
};

fetch("https://celsius.network/api/community/top100", requestOptions)
  .then(response => response.text())
  .then(result => console.log(result))
  .catch(error => console.log('error', error));
var settings = {
  "url": "https://celsius.network/api/community/top100",
  "method": "GET",
  "timeout": 0,
  "headers": {
    "x-api-key": "XXXXXXXXXXXXXXXX"
  },
};

$.ajax(settings).done(function (response) {
  console.log(response);
});
var request = require('request');
var options = {
  'method': 'GET',
  'url': 'https://celsius.network/api/community/top100',
  'headers': {
    'x-api-key': 'XXXXXXXXXXXXXXXX'
  }
};
request(options, function (error, response) { 
  if (error) throw new Error(error);
  console.log(response.body);
});
var client = new RestClient("https://celsius.network/api/community/top100");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
request.AddHeader("x-api-key", "XXXXXXXXXXXXXXXX");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);

Subscribe To Our Newsletter

Institutional Traders: also subscribe to Celsius Trading Desk