curl --request GET \
--url https://api.cryptorank.io/v3/funds/{id}/portfolio \
--header 'X-Api-Key: <api-key>'import requests
url = "https://api.cryptorank.io/v3/funds/{id}/portfolio"
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/funds/{id}/portfolio', 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/funds/{id}/portfolio",
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/funds/{id}/portfolio"
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/funds/{id}/portfolio")
.header("X-Api-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.cryptorank.io/v3/funds/{id}/portfolio")
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": [
{
"category": {
"id": 54,
"name": "DeFi",
"slug": "defi"
},
"currencyId": 28,
"firstRoundDate": "2022-01-15T00:00:00.000Z",
"imageUrl": "https://images.cryptorank.io/coins/150x150.ethereum1524754015525.png",
"isLead": true,
"latestRoundDate": "2024-08-15T00:00:00.000Z",
"lifecycle": "traded",
"marketCap": "450000000000",
"name": "Ethereum",
"price": "3200.123456789012",
"priceChangePercent24h": 2.34,
"rank": 2,
"retailRoi": 12.34,
"roundsCount": 3,
"slug": "ethereum",
"symbol": "ETH",
"totalInvested": "5000000",
"type": "coin",
"viaRound": true,
"volume24h": "12000000000"
}
],
"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": "NOT_FOUND",
"message": "Resource not found",
"status": 404
}
}{
"error": {
"code": "RATE_LIMIT_EXCEEDED",
"message": "Rate limit exceeded",
"status": 429
}
}{
"error": {
"code": "INTERNAL_ERROR",
"message": "Internal server error",
"status": 500
}
}Fund Portfolio
Returns the full portfolio of a fund: every project it has backed, with market data for traded coins and aggregates of the rounds the fund took part in.
Available from: Pro
Cost: 1 credit per request
curl --request GET \
--url https://api.cryptorank.io/v3/funds/{id}/portfolio \
--header 'X-Api-Key: <api-key>'import requests
url = "https://api.cryptorank.io/v3/funds/{id}/portfolio"
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/funds/{id}/portfolio', 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/funds/{id}/portfolio",
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/funds/{id}/portfolio"
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/funds/{id}/portfolio")
.header("X-Api-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.cryptorank.io/v3/funds/{id}/portfolio")
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": [
{
"category": {
"id": 54,
"name": "DeFi",
"slug": "defi"
},
"currencyId": 28,
"firstRoundDate": "2022-01-15T00:00:00.000Z",
"imageUrl": "https://images.cryptorank.io/coins/150x150.ethereum1524754015525.png",
"isLead": true,
"latestRoundDate": "2024-08-15T00:00:00.000Z",
"lifecycle": "traded",
"marketCap": "450000000000",
"name": "Ethereum",
"price": "3200.123456789012",
"priceChangePercent24h": 2.34,
"rank": 2,
"retailRoi": 12.34,
"roundsCount": 3,
"slug": "ethereum",
"symbol": "ETH",
"totalInvested": "5000000",
"type": "coin",
"viaRound": true,
"volume24h": "12000000000"
}
],
"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": "NOT_FOUND",
"message": "Resource not found",
"status": 404
}
}{
"error": {
"code": "RATE_LIMIT_EXCEEDED",
"message": "Rate limit exceeded",
"status": 429
}
}{
"error": {
"code": "INTERNAL_ERROR",
"message": "Internal server error",
"status": 500
}
}totalInvested is the total size of every round the fund participated in — the full round size, not the fund’s individual contribution.viaRound: false and roundsCount: 0. To list the rounds themselves, use /funding-rounds/list?fundId=.price, marketCap, volume24h, priceChangePercent24h, retailRoi) are null for projects that are not traded.Authorizations
Path Parameters
Fund ID. See: GET /v3/funds/map.
1
Query Parameters
Page number (1-based). Returns up to 50 items per page.
1 <= x <= 1000Comma-separated lifecycle states: scheduled, funding, crowdsale, traded, inactive, unknown. Omit to include all states.
"traded,funding"
Filter by the project's primary category. See: GET /v3/currencies/categories.
54
True keeps projects where the fund led at least one round. False keeps projects where the fund never led a round, including backer-only projects. Omit to include both.
true
Lower bound on the first round with fund participation (inclusive). Accepts ISO 8601 or Unix timestamp (sec/ms). Projects without a known first round date are excluded.
"2024-01-01T00:00:00.000Z"
Upper bound on the first round with fund participation (inclusive). Accepts ISO 8601 or Unix timestamp (sec/ms). Bare YYYY-MM-DD means end-of-day UTC. Projects without a known first round date are excluded.
"2024-12-31T23:59:59.999Z"
Sort field.
id, marketCap, retailRoi, latestRoundDate, firstRoundDate, totalInvested, roundsCount, name Sort direction. Null values are always placed last.
asc, desc Fiat ISO code for price, marketCap, volume24h and totalInvested. See: GET /v3/fiat/list.