Skip to main content
GET
/
global
CLI
curl --request GET \
--url 'https://api.coinpaprika.com/v1/global'
import requests

url = "https://api.coinpaprika.com/v1/global"

response = requests.get(url)

print(response.text)
const options = {method: 'GET'};

fetch('https://api.coinpaprika.com/v1/global', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));
<?php

$curl = curl_init();

curl_setopt_array($curl, [
CURLOPT_URL => "https://api.coinpaprika.com/v1/global",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
package main

import (
"fmt"
"net/http"
"io"
)

func main() {

url := "https://api.coinpaprika.com/v1/global"

req, _ := http.NewRequest("GET", url, nil)

res, _ := http.DefaultClient.Do(req)

defer res.Body.Close()
body, _ := io.ReadAll(res.Body)

fmt.Println(string(body))

}
HttpResponse<String> response = Unirest.get("https://api.coinpaprika.com/v1/global")
.asString();
require 'uri'
require 'net/http'

url = URI("https://api.coinpaprika.com/v1/global")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)

response = http.request(request)
puts response.read_body
{
  "market_cap_usd": 430252937008,
  "volume_24h_usd": 430252937008,
  "bitcoin_dominance_percentage": 36.67,
  "cryptocurrencies_number": 1587,
  "market_cap_ath_value": 835692000000,
  "market_cap_ath_date": "2018-01-07T11:17:00Z",
  "volume_24h_ath_value": 71990500000,
  "volume_24h_ath_date": "2018-01-04T17:17:00Z",
  "market_cap_change_24h": 1.98,
  "volume_24h_change_24h": 1.98,
  "last_updated": 1525089441
}
{
"error": "you have reached maximum request limit"
}

Response

successful operation

market_cap_usd
number

Total market capitalization - sum of all cryptocurrency market capitalizations in USD

Example:

430252937008

volume_24h_usd
number

Total 24h volume - sum of all cryptocurrency volumes in USD

Example:

430252937008

bitcoin_dominance_percentage
number

Bitcoin market capitalization as a percentage of total market capitalization

Example:

36.67

cryptocurrencies_number
integer

This is number of active cryptocurrencies on our site (active in this case means that we have up-to-date price data for a coin). Total number of our cryptocurrencies is higher and may be obtained via counting elements in /coins endpoint.

Example:

1587

market_cap_ath_value
number

ATH (All Time High) value of market capitalization - the highest historical value of marketcap

Example:

835692000000

market_cap_ath_date
string

ATH (All Time High) date of market capitalization

Example:

"2018-01-07T11:17:00Z"

volume_24h_ath_value
number

ATH (All Time High) value of the 24h volume - the highest historical value of 24h volume

Example:

71990500000

volume_24h_ath_date
string

ATH (All Time High) date of volume 24h

Example:

"2018-01-04T17:17:00Z"

market_cap_change_24h
number

Percentage change in the market capitalization over the last 24h

Example:

1.98

volume_24h_change_24h
number

Percentage change in the volume 24h over the last 24h

Example:

1.98

last_updated
integer

Timestamp of the last data update

Example:

1525089441