Fetch underlying Hyperliquid HLP TVL and PnL series.
curl --request GET \
--url https://portal.signalite.ai/api/v1/hlpimport requests
url = "https://portal.signalite.ai/api/v1/hlp"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://portal.signalite.ai/api/v1/hlp', 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://portal.signalite.ai/api/v1/hlp",
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://portal.signalite.ai/api/v1/hlp"
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://portal.signalite.ai/api/v1/hlp")
.asString();require 'uri'
require 'net/http'
url = URI("https://portal.signalite.ai/api/v1/hlp")
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{
"success": true,
"data": {
"vault": {
"name": "<string>",
"tvlUsd": 123,
"apr": 123,
"aprPct": 123,
"ratePct": 123,
"rateKind": "apy",
"apyPct": 123
},
"signaliteProjected": {
"rateKind": "apr",
"grossHlpAprPct": 123,
"projectedAprPct": 123,
"trailing365dNetApyPct": 123,
"displayApyPct": 123,
"performanceFeeBps": 123,
"managementFeeBps": 123,
"methodology": "trailing_365d_hlp_net_apy"
},
"pnl": {
"latestUsd": 123,
"series": [
{
"t": 123,
"timestamp": "2023-11-07T05:31:56Z",
"value": 123
}
]
},
"tvl": {
"series": [
{
"t": 123,
"timestamp": "2023-11-07T05:31:56Z",
"value": 123
}
]
},
"returns": {
"methodology": "flow_adjusted_pnl_over_start_account_value",
"windows": {
"7d": {
"startT": 123,
"startTimestamp": "2023-11-07T05:31:56Z",
"endT": 123,
"endTimestamp": "2023-11-07T05:31:56Z",
"days": 123,
"startAccountValueUsd": 123,
"pnlDeltaUsd": 123,
"returnPct": 123,
"aprPct": 123,
"apyPct": 123
},
"30d": {
"startT": 123,
"startTimestamp": "2023-11-07T05:31:56Z",
"endT": 123,
"endTimestamp": "2023-11-07T05:31:56Z",
"days": 123,
"startAccountValueUsd": 123,
"pnlDeltaUsd": 123,
"returnPct": 123,
"aprPct": 123,
"apyPct": 123
},
"90d": {
"startT": 123,
"startTimestamp": "2023-11-07T05:31:56Z",
"endT": 123,
"endTimestamp": "2023-11-07T05:31:56Z",
"days": 123,
"startAccountValueUsd": 123,
"pnlDeltaUsd": 123,
"returnPct": 123,
"aprPct": 123,
"apyPct": 123
},
"180d": {
"startT": 123,
"startTimestamp": "2023-11-07T05:31:56Z",
"endT": 123,
"endTimestamp": "2023-11-07T05:31:56Z",
"days": 123,
"startAccountValueUsd": 123,
"pnlDeltaUsd": 123,
"returnPct": 123,
"aprPct": 123,
"apyPct": 123
},
"365d": {
"startT": 123,
"startTimestamp": "2023-11-07T05:31:56Z",
"endT": 123,
"endTimestamp": "2023-11-07T05:31:56Z",
"days": 123,
"startAccountValueUsd": 123,
"pnlDeltaUsd": 123,
"returnPct": 123,
"aprPct": 123,
"apyPct": 123
},
"allTime": {
"startT": 123,
"startTimestamp": "2023-11-07T05:31:56Z",
"endT": 123,
"endTimestamp": "2023-11-07T05:31:56Z",
"days": 123,
"startAccountValueUsd": 123,
"pnlDeltaUsd": 123,
"returnPct": 123,
"aprPct": 123,
"apyPct": 123
}
},
"rolling30d": {
"windowDays": 123,
"series": [
{
"t": 123,
"timestamp": "2023-11-07T05:31:56Z",
"returnPct": 123,
"aprPct": 123,
"apyPct": 123
}
]
}
}
},
"meta": {
"updatedAt": "2023-11-07T05:31:56Z"
}
}{
"success": false,
"error": {
"code": "ACTION_BUILD_FAILED",
"message": "<string>"
}
}{
"success": false,
"error": {
"code": "ACTION_BUILD_FAILED",
"message": "<string>"
}
}{
"success": false,
"error": {
"code": "ACTION_BUILD_FAILED",
"message": "<string>"
}
}Product
Fetch underlying Hyperliquid HLP TVL and PnL series.
GET
/
api
/
v1
/
hlp
Fetch underlying Hyperliquid HLP TVL and PnL series.
curl --request GET \
--url https://portal.signalite.ai/api/v1/hlpimport requests
url = "https://portal.signalite.ai/api/v1/hlp"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://portal.signalite.ai/api/v1/hlp', 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://portal.signalite.ai/api/v1/hlp",
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://portal.signalite.ai/api/v1/hlp"
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://portal.signalite.ai/api/v1/hlp")
.asString();require 'uri'
require 'net/http'
url = URI("https://portal.signalite.ai/api/v1/hlp")
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{
"success": true,
"data": {
"vault": {
"name": "<string>",
"tvlUsd": 123,
"apr": 123,
"aprPct": 123,
"ratePct": 123,
"rateKind": "apy",
"apyPct": 123
},
"signaliteProjected": {
"rateKind": "apr",
"grossHlpAprPct": 123,
"projectedAprPct": 123,
"trailing365dNetApyPct": 123,
"displayApyPct": 123,
"performanceFeeBps": 123,
"managementFeeBps": 123,
"methodology": "trailing_365d_hlp_net_apy"
},
"pnl": {
"latestUsd": 123,
"series": [
{
"t": 123,
"timestamp": "2023-11-07T05:31:56Z",
"value": 123
}
]
},
"tvl": {
"series": [
{
"t": 123,
"timestamp": "2023-11-07T05:31:56Z",
"value": 123
}
]
},
"returns": {
"methodology": "flow_adjusted_pnl_over_start_account_value",
"windows": {
"7d": {
"startT": 123,
"startTimestamp": "2023-11-07T05:31:56Z",
"endT": 123,
"endTimestamp": "2023-11-07T05:31:56Z",
"days": 123,
"startAccountValueUsd": 123,
"pnlDeltaUsd": 123,
"returnPct": 123,
"aprPct": 123,
"apyPct": 123
},
"30d": {
"startT": 123,
"startTimestamp": "2023-11-07T05:31:56Z",
"endT": 123,
"endTimestamp": "2023-11-07T05:31:56Z",
"days": 123,
"startAccountValueUsd": 123,
"pnlDeltaUsd": 123,
"returnPct": 123,
"aprPct": 123,
"apyPct": 123
},
"90d": {
"startT": 123,
"startTimestamp": "2023-11-07T05:31:56Z",
"endT": 123,
"endTimestamp": "2023-11-07T05:31:56Z",
"days": 123,
"startAccountValueUsd": 123,
"pnlDeltaUsd": 123,
"returnPct": 123,
"aprPct": 123,
"apyPct": 123
},
"180d": {
"startT": 123,
"startTimestamp": "2023-11-07T05:31:56Z",
"endT": 123,
"endTimestamp": "2023-11-07T05:31:56Z",
"days": 123,
"startAccountValueUsd": 123,
"pnlDeltaUsd": 123,
"returnPct": 123,
"aprPct": 123,
"apyPct": 123
},
"365d": {
"startT": 123,
"startTimestamp": "2023-11-07T05:31:56Z",
"endT": 123,
"endTimestamp": "2023-11-07T05:31:56Z",
"days": 123,
"startAccountValueUsd": 123,
"pnlDeltaUsd": 123,
"returnPct": 123,
"aprPct": 123,
"apyPct": 123
},
"allTime": {
"startT": 123,
"startTimestamp": "2023-11-07T05:31:56Z",
"endT": 123,
"endTimestamp": "2023-11-07T05:31:56Z",
"days": 123,
"startAccountValueUsd": 123,
"pnlDeltaUsd": 123,
"returnPct": 123,
"aprPct": 123,
"apyPct": 123
}
},
"rolling30d": {
"windowDays": 123,
"series": [
{
"t": 123,
"timestamp": "2023-11-07T05:31:56Z",
"returnPct": 123,
"aprPct": 123,
"apyPct": 123
}
]
}
}
},
"meta": {
"updatedAt": "2023-11-07T05:31:56Z"
}
}{
"success": false,
"error": {
"code": "ACTION_BUILD_FAILED",
"message": "<string>"
}
}{
"success": false,
"error": {
"code": "ACTION_BUILD_FAILED",
"message": "<string>"
}
}{
"success": false,
"error": {
"code": "ACTION_BUILD_FAILED",
"message": "<string>"
}
}