Get All Supervaults
curl --request GET \
--url https://persephone.superform.xyz/v1/supervaults \
--header 'SF-API-KEY: <api-key>'import requests
url = "https://persephone.superform.xyz/v1/supervaults"
headers = {"SF-API-KEY": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'SF-API-KEY': '<api-key>'}};
fetch('https://persephone.superform.xyz/v1/supervaults', 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://persephone.superform.xyz/v1/supervaults",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"SF-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://persephone.superform.xyz/v1/supervaults"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("SF-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://persephone.superform.xyz/v1/supervaults")
.header("SF-API-KEY", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://persephone.superform.xyz/v1/supervaults")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["SF-API-KEY"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"supervaults": [
{
"id": "<string>",
"address": "<string>",
"chain_id": "<string>",
"name": "<string>",
"symbol": "<string>",
"decimals": 123,
"friendly_name": "<string>",
"category": "<string>",
"type": "4626",
"description": "<string>",
"short_description": "<string>",
"visibility": "listed",
"availability": "available",
"risk_rating": "<string>",
"risk_data": {
"pool_rating": "<string>",
"pool_rating_color": "<string>",
"pool_rating_description": "<string>",
"pool_url": "<string>",
"pool_design": {
"rating": "<string>",
"rating_color": "<string>"
},
"chain": {
"rating": "<string>",
"rating_color": "<string>",
"underlying": [
{
"name": "<string>",
"rating": "<string>",
"rating_color": "<string>",
"url": "<string>"
}
]
},
"assets": {
"rating": "<string>",
"rating_color": "<string>",
"underlying": [
{
"name": "<string>",
"rating": "<string>",
"rating_color": "<string>",
"url": "<string>"
}
]
},
"protocols": {
"rating": "<string>",
"rating_color": "<string>",
"underlying": [
{
"name": "<string>",
"rating": "<string>",
"rating_color": "<string>",
"url": "<string>"
}
]
}
},
"status_message": "<string>",
"external_url": "<string>",
"has_rewards": true,
"is_on_mobile": true,
"has_timelock": true,
"timelock_duration": "<string>",
"timelock_unit": "<string>",
"is_supervault": true,
"is_on_earn_page": true,
"is_supervault_v2": true,
"asset_ids": [
"<string>"
],
"provider_ids": [
"<string>"
],
"yield_source_ids": [
"<string>"
],
"metadata": {
"audits": [
{
"date": "2023-11-07T05:31:56Z",
"url": "<string>",
"auditor": "<string>"
}
],
"kyc": [
{
"issuer": "<string>",
"issuer_link": "<string>",
"provider": "<string>"
}
],
"faq": [
{
"question": "<string>",
"answer": "<string>"
}
],
"other": [
{
"info": "<string>",
"description": "<string>"
}
]
},
"stats_basic": {
"apy_snapshot_now": 123,
"apy_snapshot_day": 123,
"apy_snapshot_week": 123,
"apy_snapshot_month": 123,
"apy_snapshot_year": 123,
"apy_snapshot_all_time": 123,
"apy_change_day": 123,
"apy_change_week": 123,
"apy_change_month": 123,
"apy_change_year": 123,
"apy_change_all_time": 123,
"tvl_total": 123,
"tvl_superform": 123,
"tvl_total_change_day": 123,
"tvl_total_change_week": 123,
"tvl_total_change_month": 123,
"tvl_total_change_year": 123,
"tvl_total_change_all_time": 123,
"tvl_superform_change_day": 123,
"tvl_superform_change_week": 123,
"tvl_superform_change_month": 123,
"tvl_superform_change_year": 123,
"tvl_superform_change_all_time": 123,
"sharpe_snapshot_day": 123,
"sharpe_snapshot_week": 123,
"sharpe_snapshot_month": 123,
"sharpe_snapshot_year": 123,
"sharpe_snapshot_all_time": 123,
"return_day": 123,
"return_week": 123,
"return_month": 123,
"return_year": 123,
"return_all_time": 123,
"pps": 123,
"pps_usd": 123,
"reward_rate": 123,
"net_inflow_total_day": 123,
"net_inflow_total_week": 123,
"net_inflow_total_month": 123,
"net_inflow_total_day_assets": 123,
"net_inflow_total_week_assets": 123,
"net_inflow_total_month_assets": 123
},
"deployment_date": "2023-11-07T05:31:56Z",
"created_at": "2023-11-07T05:31:56Z",
"providers": [
{
"id": "<string>",
"name": "<string>",
"logo": "<string>",
"type": "<string>",
"description": "<string>",
"is_hidden": true
}
],
"assets": [
{
"id": "<string>",
"address": "<string>",
"chain_id": "<string>",
"decimals": 123,
"icon": "<string>",
"is_btc": true,
"is_eth": true,
"is_stable": true,
"name": "<string>",
"price_usd": 123,
"price_usd_24h_change": 123,
"symbol": "<string>"
}
],
"rewards": [
{
"type": "<string>",
"logo": "<string>",
"reward_rate": 123,
"rate_type": "<string>",
"address": "<string>",
"symbol": "<string>",
"reward_multiplier": 123,
"chain_id": "<string>",
"remarks": "<string>",
"remarks_url": "<string>",
"is_configurable": true,
"total_supply": "<string>",
"reward_source": "<string>",
"reward_up_base_rate": 123
}
],
"chain": {
"id": "<string>",
"name": "<string>",
"icon": "<string>",
"currency_symbol": "<string>",
"is_l1": true
}
}
]
}{
"code": 123,
"message": "<string>",
"details": [
{
"@type": "<string>"
}
]
}SuperVaults
Get All Supervaults
GET
/
v1
/
supervaults
Get All Supervaults
curl --request GET \
--url https://persephone.superform.xyz/v1/supervaults \
--header 'SF-API-KEY: <api-key>'import requests
url = "https://persephone.superform.xyz/v1/supervaults"
headers = {"SF-API-KEY": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'SF-API-KEY': '<api-key>'}};
fetch('https://persephone.superform.xyz/v1/supervaults', 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://persephone.superform.xyz/v1/supervaults",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"SF-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://persephone.superform.xyz/v1/supervaults"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("SF-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://persephone.superform.xyz/v1/supervaults")
.header("SF-API-KEY", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://persephone.superform.xyz/v1/supervaults")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["SF-API-KEY"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"supervaults": [
{
"id": "<string>",
"address": "<string>",
"chain_id": "<string>",
"name": "<string>",
"symbol": "<string>",
"decimals": 123,
"friendly_name": "<string>",
"category": "<string>",
"type": "4626",
"description": "<string>",
"short_description": "<string>",
"visibility": "listed",
"availability": "available",
"risk_rating": "<string>",
"risk_data": {
"pool_rating": "<string>",
"pool_rating_color": "<string>",
"pool_rating_description": "<string>",
"pool_url": "<string>",
"pool_design": {
"rating": "<string>",
"rating_color": "<string>"
},
"chain": {
"rating": "<string>",
"rating_color": "<string>",
"underlying": [
{
"name": "<string>",
"rating": "<string>",
"rating_color": "<string>",
"url": "<string>"
}
]
},
"assets": {
"rating": "<string>",
"rating_color": "<string>",
"underlying": [
{
"name": "<string>",
"rating": "<string>",
"rating_color": "<string>",
"url": "<string>"
}
]
},
"protocols": {
"rating": "<string>",
"rating_color": "<string>",
"underlying": [
{
"name": "<string>",
"rating": "<string>",
"rating_color": "<string>",
"url": "<string>"
}
]
}
},
"status_message": "<string>",
"external_url": "<string>",
"has_rewards": true,
"is_on_mobile": true,
"has_timelock": true,
"timelock_duration": "<string>",
"timelock_unit": "<string>",
"is_supervault": true,
"is_on_earn_page": true,
"is_supervault_v2": true,
"asset_ids": [
"<string>"
],
"provider_ids": [
"<string>"
],
"yield_source_ids": [
"<string>"
],
"metadata": {
"audits": [
{
"date": "2023-11-07T05:31:56Z",
"url": "<string>",
"auditor": "<string>"
}
],
"kyc": [
{
"issuer": "<string>",
"issuer_link": "<string>",
"provider": "<string>"
}
],
"faq": [
{
"question": "<string>",
"answer": "<string>"
}
],
"other": [
{
"info": "<string>",
"description": "<string>"
}
]
},
"stats_basic": {
"apy_snapshot_now": 123,
"apy_snapshot_day": 123,
"apy_snapshot_week": 123,
"apy_snapshot_month": 123,
"apy_snapshot_year": 123,
"apy_snapshot_all_time": 123,
"apy_change_day": 123,
"apy_change_week": 123,
"apy_change_month": 123,
"apy_change_year": 123,
"apy_change_all_time": 123,
"tvl_total": 123,
"tvl_superform": 123,
"tvl_total_change_day": 123,
"tvl_total_change_week": 123,
"tvl_total_change_month": 123,
"tvl_total_change_year": 123,
"tvl_total_change_all_time": 123,
"tvl_superform_change_day": 123,
"tvl_superform_change_week": 123,
"tvl_superform_change_month": 123,
"tvl_superform_change_year": 123,
"tvl_superform_change_all_time": 123,
"sharpe_snapshot_day": 123,
"sharpe_snapshot_week": 123,
"sharpe_snapshot_month": 123,
"sharpe_snapshot_year": 123,
"sharpe_snapshot_all_time": 123,
"return_day": 123,
"return_week": 123,
"return_month": 123,
"return_year": 123,
"return_all_time": 123,
"pps": 123,
"pps_usd": 123,
"reward_rate": 123,
"net_inflow_total_day": 123,
"net_inflow_total_week": 123,
"net_inflow_total_month": 123,
"net_inflow_total_day_assets": 123,
"net_inflow_total_week_assets": 123,
"net_inflow_total_month_assets": 123
},
"deployment_date": "2023-11-07T05:31:56Z",
"created_at": "2023-11-07T05:31:56Z",
"providers": [
{
"id": "<string>",
"name": "<string>",
"logo": "<string>",
"type": "<string>",
"description": "<string>",
"is_hidden": true
}
],
"assets": [
{
"id": "<string>",
"address": "<string>",
"chain_id": "<string>",
"decimals": 123,
"icon": "<string>",
"is_btc": true,
"is_eth": true,
"is_stable": true,
"name": "<string>",
"price_usd": 123,
"price_usd_24h_change": 123,
"symbol": "<string>"
}
],
"rewards": [
{
"type": "<string>",
"logo": "<string>",
"reward_rate": 123,
"rate_type": "<string>",
"address": "<string>",
"symbol": "<string>",
"reward_multiplier": 123,
"chain_id": "<string>",
"remarks": "<string>",
"remarks_url": "<string>",
"is_configurable": true,
"total_supply": "<string>",
"reward_source": "<string>",
"reward_up_base_rate": 123
}
],
"chain": {
"id": "<string>",
"name": "<string>",
"icon": "<string>",
"currency_symbol": "<string>",
"is_l1": true
}
}
]
}{
"code": 123,
"message": "<string>",
"details": [
{
"@type": "<string>"
}
]
}