Skip to main content
GET
/
v2
/
tokenized_assets
/
markets
Python (SDK)
from compass_api_sdk import CompassAPI


with CompassAPI(
    api_key_auth="<YOUR_API_KEY_HERE>",
) as compass_api:

    res = compass_api.tokenized_assets.tokenized_assets_markets()

    # Handle response
    print(res)
import { CompassApiSDK } from "@compass-labs/api-sdk";

const compassApiSDK = new CompassApiSDK({
apiKeyAuth: "<YOUR_API_KEY_HERE>",
});

async function run() {
const result = await compassApiSDK.tokenizedAssets.tokenizedAssetsMarkets({});

console.log(result);
}

run();
curl --request GET \
--url https://api.compasslabs.ai/v2/tokenized_assets/markets \
--header 'x-api-key: <api-key>'
const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};

fetch('https://api.compasslabs.ai/v2/tokenized_assets/markets', 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.compasslabs.ai/v2/tokenized_assets/markets",
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.compasslabs.ai/v2/tokenized_assets/markets"

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.compasslabs.ai/v2/tokenized_assets/markets")
.header("x-api-key", "<api-key>")
.asString();
require 'uri'
require 'net/http'

url = URI("https://api.compasslabs.ai/v2/tokenized_assets/markets")

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
{
  "markets": [
    {
      "change_24h_pct": "1.49",
      "change_24h_usd": "5.21",
      "contract_address": "0xf6b1117ec07684D3958caD8BEb1b302bfD21103f",
      "current_price_usd": "354.82",
      "decimals": 18,
      "name": "Tesla, Inc.",
      "region_exposure": [
        "US"
      ],
      "sectors": [
        "Consumer Discretionary"
      ],
      "symbol": "TSLAon",
      "underlying_ticker": "TSLA"
    },
    {
      "change_24h_pct": "-0.46",
      "change_24h_usd": "-1.07",
      "contract_address": "0x6cdcF8C170552DCA1a4dD8Bb1aB6dB7e7E0bF7c4",
      "current_price_usd": "229.13",
      "decimals": 18,
      "name": "Apple Inc.",
      "region_exposure": [
        "US"
      ],
      "sectors": [
        "Technology"
      ],
      "symbol": "AAPLon",
      "underlying_ticker": "AAPL"
    },
    {
      "change_24h_pct": "2.16",
      "change_24h_usd": "2.92",
      "contract_address": "0x9c3F4D8F9eC6c1F9aB1f2C3D4E5F60718293A4B5",
      "current_price_usd": "138.41",
      "decimals": 18,
      "name": "NVIDIA Corporation",
      "region_exposure": [
        "US"
      ],
      "sectors": [
        "Technology"
      ],
      "symbol": "NVDAon",
      "underlying_ticker": "NVDA"
    }
  ]
}
{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}
{
"error": "<string>",
"message": "<string>"
}

Authorizations

x-api-key
string
header
required

Your Compass API Key. Get your key here.

Query Parameters

category
string | null

Filter markets by category (e.g. 'tech', 'finance').

search
string | null

Case-insensitive substring match against the on-chain symbol, underlying ticker, and underlying name.

provider
enum<string> | null

Filter by issuer ('ondo' equities, 'midas' RWA yield). Issuer/provider of a tokenized asset.

Available options:
ondo,
midas,
ixs
asset_class
enum<string> | null

Filter by asset class (EQUITY, T_BILLS, BASIS_TRADE, BTC_YIELD). Asset class of a tokenized asset.

EQUITY trades via the order endpoints (build/submit/cancel); the RWA yield classes (T_BILLS, BASIS_TRADE, BTC_YIELD) and MANAGED_VAULT trade via the swap-based transact/buy and transact/sell endpoints. MANAGED_VAULT (IXS ERC-4626 vaults) is special in that a sell is an asynchronous redemption request settled off-chain by the vault operator.

Available options:
EQUITY,
T_BILLS,
BASIS_TRADE,
BTC_YIELD,
MANAGED_VAULT
chain
enum<string> | null

Filter by network. Equities are Ethereum-only; RWA yield assets exist on Ethereum and Base. The chain to use.

Available options:
base,
ethereum,
arbitrum,
hyperevm,
tempo,
bsc

Response

Successful Response

List of tokenized equity markets.

markets
Market · object[]
required

Tokenized equity markets surfaced on Ethereum.