Retrieve high-level asset statistics
curl --request GET \
--url https://api.dexpaprika.com/statsimport requests
url = "https://api.dexpaprika.com/stats"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.dexpaprika.com/stats', 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.dexpaprika.com/stats",
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.dexpaprika.com/stats"
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.dexpaprika.com/stats")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.dexpaprika.com/stats")
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{
"chains": 12,
"factories": 54,
"pools": 23456,
"tokens": 8920
}
Utils
Retrieve high-level asset statistics
Get high-level platform statistics including total networks, DEXes, pools, and tokens
GET
/
stats
Retrieve high-level asset statistics
curl --request GET \
--url https://api.dexpaprika.com/statsimport requests
url = "https://api.dexpaprika.com/stats"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.dexpaprika.com/stats', 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.dexpaprika.com/stats",
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.dexpaprika.com/stats"
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.dexpaprika.com/stats")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.dexpaprika.com/stats")
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{
"chains": 12,
"factories": 54,
"pools": 23456,
"tokens": 8920
}
Endpoint overview
Get high-level counts and coverage information across the platform.See also: Networks,
Pool search
FAQs
What does the stats endpoint summarize?
What does the stats endpoint summarize?
High-level counts for networks, DEXes, pools, and tokens available on DexPaprika.
How often does this update?
How often does this update?
Stats are rebuilt periodically; values reflect the latest successful aggregation.
Is this suitable for health checks?
Is this suitable for health checks?
Yes. Many users poll it to confirm platform availability and catalog growth.
Was this page helpful?