Available with: All-In-One and Fundamentals Data Feed packages.
Consumption: Each request consumes 10 API calls.
We provide fundamental data for major cryptocurrencies (in addition to End of Day, Intraday, and Real-Time WebSocket APIs, see links below).
Quick Start
To get fundamental data feed, use the following URL:
URL
cURL
PHP
Python
R
https://eodhd.com/api/fundamentals/BTC-USD.CC?api_token=demo&fmt=json
(Sign up for free to get an API token)
curl --location "https://eodhd.com/api/fundamentals/BTC-USD.CC?api_token=demo&fmt=json"
(Sign up for free to get an API token)
$curl = curl_init(); curl_setopt_array($curl, array( CURLOPT_URL => 'https://eodhd.com/api/fundamentals/BTC-USD.CC?api_token=demo&fmt=json', 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', )); $data = curl_exec($curl); curl_close($curl); try { $data = json_decode($data, true, 512, JSON_THROW_ON_ERROR); var_dump($data); } catch (Exception $e) { echo 'Error. '.$e->getMessage(); }
(Sign up for free to get an API token)
import requests url = f'https://eodhd.com/api/fundamentals/BTC-USD.CC?api_token=demo&fmt=json' data = requests.get(url).json() print(data)
(Sign up for free to get an API token)
library(httr) library(jsonlite) url <- 'https://eodhd.com/api/fundamentals/BTC-USD.CC?api_token=demo&fmt=json' response <- GET(url) if (http_type(response) == "application/json") { content <- content(response, "text", encoding = "UTF-8") cat(content) } else { cat("Error while receiving data\n") }
(Sign up for free to get an API token)
- BTC-USD.CC consists of two parts: {SYMBOL_NAME}.CC, then you can use, for example. ‘CC’ is an exchange code for virtual cryptocurrency exchange.
- api_token – your API KEY, which we provide after registration, to get access to bonds API you should be subscribed to the ‘Fundamentals API’ package.
For testing purposes, you can try the following API Key (works only for BTC-USD.CC and ETH-USD.CC):Â demo:
URL
cURL
PHP
Python
R
https://eodhd.com/api/fundamentals/BTC-USD.CC?api_token=demo&fmt=json
(Sign up for free to get an API token)
curl --location "https://eodhd.com/api/fundamentals/BTC-USD.CC?api_token=demo&fmt=json"
(Sign up for free to get an API token)
$curl = curl_init(); curl_setopt_array($curl, array( CURLOPT_URL => 'https://eodhd.com/api/fundamentals/BTC-USD.CC?api_token=demo&fmt=json', 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', )); $data = curl_exec($curl); curl_close($curl); try { $data = json_decode($data, true, 512, JSON_THROW_ON_ERROR); var_dump($data); } catch (Exception $e) { echo 'Error. '.$e->getMessage(); }
(Sign up for free to get an API token)
import requests url = f'https://eodhd.com/api/fundamentals/BTC-USD.CC?api_token=demo&fmt=json' data = requests.get(url).json() print(data)
(Sign up for free to get an API token)
library(httr) library(jsonlite) url <- 'https://eodhd.com/api/fundamentals/BTC-USD.CC?api_token=demo&fmt=json' response <- GET(url) if (http_type(response) == "application/json") { content <- content(response, "text", encoding = "UTF-8") cat(content) } else { cat("Error while receiving data\n") }
(Sign up for free to get an API token)
Cryptocurrency Fundamental Data Output
You can find the following fields in the data for cryptocurrencies:
- Market Capitalization
- Market Capitalization Diluted
- Circulating Supply
- Total Supply
- Max Supply
- Market Capitalization Dominance
- Technical Documentation LInk
- Explorer
- Source Code
- Message Board
- Low All Time
- High All Time
The example of fundamental data output for Bitcoin (BTC-USD):
You can also check other APIs for cryptocurrencies and the fiat market:
Enjoy!