curl --request GET \
--url https://api.tokenterminal.com/v2/assets \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.tokenterminal.com/v2/assets"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.tokenterminal.com/v2/assets', 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.tokenterminal.com/v2/assets",
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.tokenterminal.com/v2/assets"
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.tokenterminal.com/v2/assets")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.tokenterminal.com/v2/assets")
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": [
{
"asset_id": "<string>",
"asset_type": "<string>",
"name": "<string>",
"symbol": "<string>",
"coingecko_id": "<string>",
"coinmarketcap_id": "<string>",
"reference_asset_id": "<string>",
"addresses": [
{
"chain_id": "<string>",
"token_address": "<string>",
"token_name": "<string>",
"token_symbol": "<string>"
}
],
"products": [
{
"data_id": "<string>",
"product_id": "<string>",
"tags": [
"<string>"
],
"relation_to_the_project": "<string>",
"logo": "<string>"
}
],
"created_at": "<string>",
"inserted_at": "<string>",
"first_onchain_data_at": "<string>",
"chain_ids": [
"<string>"
],
"has_fact_sheet": true
}
],
"total_count": 123
}Get a list of all assets
Use this endpoint to retrieve a list of all assets that are available on the API.
curl --request GET \
--url https://api.tokenterminal.com/v2/assets \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.tokenterminal.com/v2/assets"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.tokenterminal.com/v2/assets', 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.tokenterminal.com/v2/assets",
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.tokenterminal.com/v2/assets"
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.tokenterminal.com/v2/assets")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.tokenterminal.com/v2/assets")
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": [
{
"asset_id": "<string>",
"asset_type": "<string>",
"name": "<string>",
"symbol": "<string>",
"coingecko_id": "<string>",
"coinmarketcap_id": "<string>",
"reference_asset_id": "<string>",
"addresses": [
{
"chain_id": "<string>",
"token_address": "<string>",
"token_name": "<string>",
"token_symbol": "<string>"
}
],
"products": [
{
"data_id": "<string>",
"product_id": "<string>",
"tags": [
"<string>"
],
"relation_to_the_project": "<string>",
"logo": "<string>"
}
],
"created_at": "<string>",
"inserted_at": "<string>",
"first_onchain_data_at": "<string>",
"chain_ids": [
"<string>"
],
"has_fact_sheet": true
}
],
"total_count": 123
}Authorizations
Query Parameters
List of market sector IDs to filter assets by.
Allows you to select one or more market sectors to filter the results. Only assets belonging to any of the specified market sectors will be included. When including multiple market sectors, separate each one with a comma. Example: blockchains-l1,lending.
The full list of available market sectors can be retrieved from the /v2/market-sectors endpoint.
List of reference asset IDs to filter by.
A reference asset is the price reference a tokenized asset tracks (for example creditfund, sp500, btc). Use this to select a specific slice of a broad asset_type — for instance tokenized credit funds only, rather than every tokenized fund. Assets that do not track a reference asset are excluded.
The full list of available reference assets can be retrieved from the /v2/reference-assets endpoint. When including multiple reference assets, separate each one with a comma.