Public Sales List
curl --request GET \
--url https://api.cryptorank.io/v3/public-sales/list \
--header 'X-Api-Key: <api-key>'import requests
url = "https://api.cryptorank.io/v3/public-sales/list"
headers = {"X-Api-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-Api-Key': '<api-key>'}};
fetch('https://api.cryptorank.io/v3/public-sales/list', 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.cryptorank.io/v3/public-sales/list",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-Api-Key: <api-key>"
],
]);
$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.cryptorank.io/v3/public-sales/list"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-Api-Key", "<api-key>")
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.cryptorank.io/v3/public-sales/list")
.header("X-Api-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.cryptorank.io/v3/public-sales/list")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-Api-Key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"data": [
{
"athRoi": 5.4,
"blockchains": [
"Ethereum",
"BNB Chain"
],
"category": {
"id": 12,
"name": "DeFi",
"slug": "defi"
},
"currencyId": 28,
"currencyName": "Ethereum",
"currencySlug": "ethereum",
"currencySymbol": "ETH",
"currentMarketCap": "300000000",
"date": "2024-08-15T00:00:00.000Z",
"id": 1234,
"imageUrl": "https://img.cryptorank.io/coins/150x150.ethereum1696248147028.png",
"launchpadId": 42,
"launchpadName": "CoinList",
"listingDate": "2024-10-01T00:00:00.000Z",
"listingPrice": "0.40",
"raised": "5000000",
"roi": 1.11,
"salePrice": "0.25",
"status": "past",
"totalRaised": "125000000",
"type": "IDO",
"valuation": "150000000"
}
],
"meta": {
"hasNextPage": true,
"page": 1,
"pageSize": 25
},
"status": {
"timestamp": 1780000000000,
"usedCredits": 1
}
}{
"error": {
"code": "VALIDATION_ERROR",
"message": "Validation failed",
"status": 400
}
}{
"error": {
"code": "API_KEY_MISSING",
"message": "API key is missing",
"status": 401
}
}{
"error": {
"code": "NO_ACTIVE_SUBSCRIPTION",
"message": "No active subscription found",
"status": 403
}
}{
"error": {
"code": "RATE_LIMIT_EXCEEDED",
"message": "Rate limit exceeded",
"status": 429
}
}{
"error": {
"code": "INTERNAL_ERROR",
"message": "Internal server error",
"status": 500
}
}Public Sales
Public Sales List
Returns a feed of public sales, with filters.
Available from: Pro
Cost: 1 credit per request
GET
/
v3
/
public-sales
/
list
Public Sales List
curl --request GET \
--url https://api.cryptorank.io/v3/public-sales/list \
--header 'X-Api-Key: <api-key>'import requests
url = "https://api.cryptorank.io/v3/public-sales/list"
headers = {"X-Api-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-Api-Key': '<api-key>'}};
fetch('https://api.cryptorank.io/v3/public-sales/list', 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.cryptorank.io/v3/public-sales/list",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-Api-Key: <api-key>"
],
]);
$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.cryptorank.io/v3/public-sales/list"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-Api-Key", "<api-key>")
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.cryptorank.io/v3/public-sales/list")
.header("X-Api-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.cryptorank.io/v3/public-sales/list")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-Api-Key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"data": [
{
"athRoi": 5.4,
"blockchains": [
"Ethereum",
"BNB Chain"
],
"category": {
"id": 12,
"name": "DeFi",
"slug": "defi"
},
"currencyId": 28,
"currencyName": "Ethereum",
"currencySlug": "ethereum",
"currencySymbol": "ETH",
"currentMarketCap": "300000000",
"date": "2024-08-15T00:00:00.000Z",
"id": 1234,
"imageUrl": "https://img.cryptorank.io/coins/150x150.ethereum1696248147028.png",
"launchpadId": 42,
"launchpadName": "CoinList",
"listingDate": "2024-10-01T00:00:00.000Z",
"listingPrice": "0.40",
"raised": "5000000",
"roi": 1.11,
"salePrice": "0.25",
"status": "past",
"totalRaised": "125000000",
"type": "IDO",
"valuation": "150000000"
}
],
"meta": {
"hasNextPage": true,
"page": 1,
"pageSize": 25
},
"status": {
"timestamp": 1780000000000,
"usedCredits": 1
}
}{
"error": {
"code": "VALIDATION_ERROR",
"message": "Validation failed",
"status": 400
}
}{
"error": {
"code": "API_KEY_MISSING",
"message": "API key is missing",
"status": 401
}
}{
"error": {
"code": "NO_ACTIVE_SUBSCRIPTION",
"message": "No active subscription found",
"status": 403
}
}{
"error": {
"code": "RATE_LIMIT_EXCEEDED",
"message": "Rate limit exceeded",
"status": 429
}
}{
"error": {
"code": "INTERNAL_ERROR",
"message": "Internal server error",
"status": 500
}
}Sale details are available via /public-sales/:id.
Authorizations
Query Parameters
Page number (1-based). Returns up to 100 items per page.
Required range:
1 <= x <= 1000Currency ID. See: GET /v3/currencies/map.
Example:
28
Sale type.
Available options:
Angel, ICO, IEO, IDO, Node Sale, KOL, Private/Pre-sale, Private, Private 2, Pre-sale, Strategic, Strategic 2, Pre-Seed, Seed Sale status.
Available options:
upcoming, active, past Comma-separated launchpad IDs. See: GET /v3/launchpads/map.
Example:
"12,34"
Sale-date window start (inclusive). Accepts ISO 8601 string or Unix timestamp (sec/ms). Defaults to 30 days ago.
Example:
"2024-01-01T00:00:00.000Z"
Sale-date window end (inclusive). Accepts ISO 8601 string or Unix timestamp (sec/ms). No default — open-ended, so upcoming sales are included.
Example:
"2024-12-31T23:59:59.999Z"
Sort field.
Available options:
id, date, raised Sort direction.
Available options:
asc, desc