curl --request GET \
--url https://api.range.org/v2/accounts/tokens \
--header 'X-API-KEY: <api-key>'import requests
url = "https://api.range.org/v2/accounts/tokens"
headers = {"X-API-KEY": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-KEY': '<api-key>'}};
fetch('https://api.range.org/v2/accounts/tokens', 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.range.org/v2/accounts/tokens",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-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://api.range.org/v2/accounts/tokens"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-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://api.range.org/v2/accounts/tokens")
.header("X-API-KEY", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.range.org/v2/accounts/tokens")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-API-KEY"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"items": [
{
"kind": "asset",
"symbol": "USDC",
"name": "USD Coin",
"amount": "1523.44",
"usd": 1523.44,
"usd_string": "1523.44",
"priced": true,
"override_state": "on",
"effective_state": "shown",
"breakdown": [
{
"network": "ethereum",
"denom": "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",
"amount": "1000.00",
"usd": 1000
}
],
"network": "ethereum",
"denom": "0xdac17f958d2ee523a2206206994597c13d831ec"
}
],
"meta": {
"next_cursor": "eyJpZCI6IjkxeFFlV3Z...",
"previous_cursor": "eyJpZCI6IjkxeFFlV3Z...",
"first_page_cursor": "eyJpZCI6IjkxeFFlV3Z...",
"last_page_cursor": "eyJpZCI6IjkxeFFlV3Z...",
"total_count": 100,
"page_number": 1
}
}Enumerate manageable tokens
Returns one paginated list of every token the caller workspace can manage: held balances (canonical assets aggregated across chains, plus uncurated tokens keyed by network+denom) union tokens carrying a stored whitelist override. Always shows everything — does not accept show_all. Composable filters: state, has_override, priced, network. The two logically contradictory filter combinations (see docs) return an empty list, not a 400. refresh=true busts the cached aggregate and re-scans stored balances only — no live RPC/chain fan-out, unlike GET /accounts/concentration’s refresh.
curl --request GET \
--url https://api.range.org/v2/accounts/tokens \
--header 'X-API-KEY: <api-key>'import requests
url = "https://api.range.org/v2/accounts/tokens"
headers = {"X-API-KEY": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-KEY': '<api-key>'}};
fetch('https://api.range.org/v2/accounts/tokens', 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.range.org/v2/accounts/tokens",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-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://api.range.org/v2/accounts/tokens"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-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://api.range.org/v2/accounts/tokens")
.header("X-API-KEY", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.range.org/v2/accounts/tokens")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-API-KEY"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"items": [
{
"kind": "asset",
"symbol": "USDC",
"name": "USD Coin",
"amount": "1523.44",
"usd": 1523.44,
"usd_string": "1523.44",
"priced": true,
"override_state": "on",
"effective_state": "shown",
"breakdown": [
{
"network": "ethereum",
"denom": "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",
"amount": "1000.00",
"usd": 1000
}
],
"network": "ethereum",
"denom": "0xdac17f958d2ee523a2206206994597c13d831ec"
}
],
"meta": {
"next_cursor": "eyJpZCI6IjkxeFFlV3Z...",
"previous_cursor": "eyJpZCI6IjkxeFFlV3Z...",
"first_page_cursor": "eyJpZCI6IjkxeFFlV3Z...",
"last_page_cursor": "eyJpZCI6IjkxeFFlV3Z...",
"total_count": 100,
"page_number": 1
}
}Authorizations
Authorization method required to allow user to access the api endpoints.
Query Parameters
Opaque cursor for the next page of results — echo back meta.next_cursor from the previous response verbatim.
"eyJ1c2QiOjUyMy40NCwiYW1vdW50IjoiNTIzLjQ0Iiwic3ltYm9sIjoiVVNEQyIsIm5ldHdvcmsiOm51bGwsImRlbm9tIjpudWxsfQ=="
1 <= x <= 100050
Restrict to entries whose effective_state matches. Omit to return both.
shown, hidden Restrict to entries that do (true) or do not (false) carry a stored override. Finds every customization, including orphans and dead config.
Restrict to entries whose priced flag matches. Use priced=false to isolate the unpriced tail where spam concentrates.
Restrict to entries held on (or, for uncurated tokens, keyed to) one network.
"ethereum"
Bust the cached balance aggregate and re-scan stored balances before assembling the list. No live RPC / chain fan-out — for that, call POST /accounts/refresh first. Diverges from GET /accounts/concentration, where refresh=true does trigger a live chain refresh.
Was this page helpful?