curl --request GET \
--url https://api.gauntlet.xyz/v1/users/{wallet_address}/positions/{vault_id}/timeseries \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.gauntlet.xyz/v1/users/{wallet_address}/positions/{vault_id}/timeseries"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.gauntlet.xyz/v1/users/{wallet_address}/positions/{vault_id}/timeseries', 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.gauntlet.xyz/v1/users/{wallet_address}/positions/{vault_id}/timeseries",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$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.gauntlet.xyz/v1/users/{wallet_address}/positions/{vault_id}/timeseries"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
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.gauntlet.xyz/v1/users/{wallet_address}/positions/{vault_id}/timeseries")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.gauntlet.xyz/v1/users/{wallet_address}/positions/{vault_id}/timeseries")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"data": [
{
"cost_basis": {
"native": "<string>",
"usd": "<string>"
},
"pnl": {
"realized": {
"native": "<string>",
"usd": "<string>"
},
"total": {
"native": "<string>",
"usd": "<string>"
},
"unrealized": {
"native": "<string>",
"usd": "<string>"
}
},
"roi_pct": {
"native": 123,
"usd": 123
},
"shares_owned": "<string>",
"timestamp": "2023-11-07T05:31:56Z",
"value": {
"native": "<string>",
"usd": "<string>"
}
}
],
"meta": {
"count": 123,
"limit": 123,
"refreshed_at": "2023-11-07T05:31:56Z",
"request_id": "<string>",
"end": "2023-11-07T05:31:56Z",
"next_cursor": "<string>",
"partial_errors": [
{
"code": "<string>",
"message": "<string>",
"resource_id": "<string>"
}
],
"start": "2023-11-07T05:31:56Z"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": "<unknown>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": "<unknown>"
}
}Get user position timeseries for a specific vault
Returns historical value, cost basis, grouped PnL, and ROI data for a single vault position. Default order is asc (oldest first, chart-friendly); pass ?order=desc for newest-first list views. Cursor-paginated — pass meta.next_cursor back as ?next= for the next page (cursor is bound to the order it was created with). Defaults to granularity=day (one UTC-midnight snapshot per day); week returns Monday 00:00 UTC snapshots, month returns first-of-month 00:00 UTC snapshots, and hour returns the raw hourly cadence. Default page size is 1000.
curl --request GET \
--url https://api.gauntlet.xyz/v1/users/{wallet_address}/positions/{vault_id}/timeseries \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.gauntlet.xyz/v1/users/{wallet_address}/positions/{vault_id}/timeseries"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.gauntlet.xyz/v1/users/{wallet_address}/positions/{vault_id}/timeseries', 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.gauntlet.xyz/v1/users/{wallet_address}/positions/{vault_id}/timeseries",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$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.gauntlet.xyz/v1/users/{wallet_address}/positions/{vault_id}/timeseries"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
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.gauntlet.xyz/v1/users/{wallet_address}/positions/{vault_id}/timeseries")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.gauntlet.xyz/v1/users/{wallet_address}/positions/{vault_id}/timeseries")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"data": [
{
"cost_basis": {
"native": "<string>",
"usd": "<string>"
},
"pnl": {
"realized": {
"native": "<string>",
"usd": "<string>"
},
"total": {
"native": "<string>",
"usd": "<string>"
},
"unrealized": {
"native": "<string>",
"usd": "<string>"
}
},
"roi_pct": {
"native": 123,
"usd": 123
},
"shares_owned": "<string>",
"timestamp": "2023-11-07T05:31:56Z",
"value": {
"native": "<string>",
"usd": "<string>"
}
}
],
"meta": {
"count": 123,
"limit": 123,
"refreshed_at": "2023-11-07T05:31:56Z",
"request_id": "<string>",
"end": "2023-11-07T05:31:56Z",
"next_cursor": "<string>",
"partial_errors": [
{
"code": "<string>",
"message": "<string>",
"resource_id": "<string>"
}
],
"start": "2023-11-07T05:31:56Z"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": "<unknown>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": "<unknown>"
}
}Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Ethereum wallet address
Vault identifier
Query Parameters
Window start: ISO 8601 date (2026-01-01, read as 00:00:00 UTC) or RFC 3339 timestamp (2026-01-01T00:00:00Z).
Window end: ISO 8601 date (2026-01-01, read as 00:00:00 UTC) or RFC 3339 timestamp (2026-01-01T00:00:00Z).
Opaque cursor from previous meta.next_cursor.
Page size (1–10000, default 1000).
Sort direction: asc (default) or desc.
Sampling granularity: day (default), hour, week, or month. Day/week/month buckets start at 00:00 UTC; weeks start Monday and months start on the 1st.