Get wallet history
curl --request GET \
--url https://demo-api.mobula.io/api/1/wallet/historyimport requests
url = "https://demo-api.mobula.io/api/1/wallet/history"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://demo-api.mobula.io/api/1/wallet/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://demo-api.mobula.io/api/1/wallet/history",
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://demo-api.mobula.io/api/1/wallet/history"
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://demo-api.mobula.io/api/1/wallet/history")
.asString();require 'uri'
require 'net/http'
url = URI("https://demo-api.mobula.io/api/1/wallet/history")
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{
"data": {
"wallets": [
"<string>"
],
"balance_usd": 123,
"balance_history": [
[
123
]
],
"backfill_status": "processed"
}
}Wallet
Get Historical Net Worth
Retrieve historical net worth for one or more wallets with filters for time range, assets, liquidity, period, caching, and chain options.
GET
/
1
/
wallet
/
history
Get wallet history
curl --request GET \
--url https://demo-api.mobula.io/api/1/wallet/historyimport requests
url = "https://demo-api.mobula.io/api/1/wallet/history"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://demo-api.mobula.io/api/1/wallet/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://demo-api.mobula.io/api/1/wallet/history",
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://demo-api.mobula.io/api/1/wallet/history"
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://demo-api.mobula.io/api/1/wallet/history")
.asString();require 'uri'
require 'net/http'
url = URI("https://demo-api.mobula.io/api/1/wallet/history")
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{
"data": {
"wallets": [
"<string>"
],
"balance_usd": 123,
"balance_history": [
[
123
]
],
"backfill_status": "processed"
}
}Query Parameters
Wallet address
Comma-separated wallet addresses
Comma-separated blockchain IDs
Start date
End date
Include unlisted assets
Baseline granularity of the history grid (5min, 15min, 1h, 6h, 1d, 7d). Sets the minimum spacing between grid points, NOT a hard cap on the number of points: the response also adds one point per balance-changing transfer, so total points ≈ (to-from)/period + number of transfers.
Data accuracy level
Include testnet data
Minimum liquidity threshold
Filter spam tokens
Response
200 - application/json
Wallet history response
Show child attributes
Show child attributes