Get History
curl --request GET \
--url https://rwapulse.fi/api/v0/liquidity/history \
--header 'Authorization: Bearer <token>'import requests
url = "https://rwapulse.fi/api/v0/liquidity/history"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://rwapulse.fi/api/v0/liquidity/history', 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://rwapulse.fi/api/v0/liquidity/history",
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://rwapulse.fi/api/v0/liquidity/history"
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://rwapulse.fi/api/v0/liquidity/history")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://rwapulse.fi/api/v0/liquidity/history")
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_bodyLiquidity
Get History
Get historical liquidity data
GET
/
liquidity
/
history
Get History
curl --request GET \
--url https://rwapulse.fi/api/v0/liquidity/history \
--header 'Authorization: Bearer <token>'import requests
url = "https://rwapulse.fi/api/v0/liquidity/history"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://rwapulse.fi/api/v0/liquidity/history', 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://rwapulse.fi/api/v0/liquidity/history",
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://rwapulse.fi/api/v0/liquidity/history"
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://rwapulse.fi/api/v0/liquidity/history")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://rwapulse.fi/api/v0/liquidity/history")
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_bodyReturns historical snapshots with optional filters.
curl "https://rwapulse.xyz/api/v0/liquidity/history?symbol=TSLA&startDate=2024-01-01&limit=30" \
-H "Authorization: Bearer rwa_your_key"
Parameters
| Name | Required | Default | Description |
|---|---|---|---|
symbol | No | - | Filter by asset (e.g., TSLA) |
startDate | No | - | Start date (YYYY-MM-DD) |
endDate | No | - | End date (YYYY-MM-DD) |
limit | No | 1000 | Max records (clamped to 5000) |
Response
{
"filters": {
"stockSymbol": "TSLA",
"startDate": "2024-01-01",
"limit": 30
},
"count": 30,
"data": [
{
"stock_symbol": "TSLA",
"token_symbol": "TSLAx",
"tvl_usd": "125000.50",
"volume_24h_usd": "8500.00",
"snapshot_date": "2024-01-15"
}
]
}
Common Mistake
Withoutsymbol, returns all assets. limit must be an integer >= 1.⌘I