List market assets
curl --request GET \
--url http://localhost:8000/api/v1/market/assets \
--header 'Authorization: Bearer <token>'import requests
url = "http://localhost:8000/api/v1/market/assets"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('http://localhost:8000/api/v1/market/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_PORT => "8000",
CURLOPT_URL => "http://localhost:8000/api/v1/market/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 := "http://localhost:8000/api/v1/market/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("http://localhost:8000/api/v1/market/assets")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("http://localhost:8000/api/v1/market/assets")
http = Net::HTTP.new(url.host, url.port)
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"assets": [
{
"ticker": "<string>",
"asset_id": "<string>",
"name": "<string>",
"precision": 123,
"protocol_ids": {},
"media": {
"file_path": "<string>",
"digest": "<string>",
"mime": "<string>"
},
"issued_supply": 123,
"timestamp": 123,
"endpoints": [
{
"layer": "<string>",
"min_amount": 123,
"max_amount": 123,
"is_active": true
}
],
"is_active": true,
"added_at": 123,
"supported_layers": [
"<string>"
]
}
],
"total": 123,
"limit": 123,
"offset": 123,
"network": "regtest",
"timestamp": 123
}{
"error_code": "VALIDATION_ERROR",
"message": "Invalid layer: BTC_FAKE. Valid layers: BTC_LN, BTC_L1, RGB_LN, RGB_L1, etc.",
"details": {},
"request_id": "req_01HV8Q9X7G0Q7Y3Z"
}{
"error": "missing_api_key"
}{
"error_code": "ASSET_NOT_FOUND",
"message": "Asset not found: BTCX",
"details": {},
"request_id": "req_01HV8Q9X7G0Q7Y3Z"
}{
"detail": [
{
"loc": [
"body",
"rfq_id"
],
"msg": "Field required",
"type": "missing"
}
]
}{
"error_code": "RATE_LIMIT_EXCEEDED",
"message": "Too many requests",
"details": {
"retry_after": 60
},
"request_id": "req_01HV8Q9X7G0Q7Y3Z"
}{
"error_code": "INTERNAL_ERROR",
"message": "Internal Server Error",
"details": {},
"request_id": "req_01HV8Q9X7G0Q7Y3Z"
}market
List market assets
List assets supported by the maker with optional filters and pagination. This endpoint is safe to poll and cache.
GET
/
api
/
v1
/
market
/
assets
List market assets
curl --request GET \
--url http://localhost:8000/api/v1/market/assets \
--header 'Authorization: Bearer <token>'import requests
url = "http://localhost:8000/api/v1/market/assets"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('http://localhost:8000/api/v1/market/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_PORT => "8000",
CURLOPT_URL => "http://localhost:8000/api/v1/market/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 := "http://localhost:8000/api/v1/market/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("http://localhost:8000/api/v1/market/assets")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("http://localhost:8000/api/v1/market/assets")
http = Net::HTTP.new(url.host, url.port)
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"assets": [
{
"ticker": "<string>",
"asset_id": "<string>",
"name": "<string>",
"precision": 123,
"protocol_ids": {},
"media": {
"file_path": "<string>",
"digest": "<string>",
"mime": "<string>"
},
"issued_supply": 123,
"timestamp": 123,
"endpoints": [
{
"layer": "<string>",
"min_amount": 123,
"max_amount": 123,
"is_active": true
}
],
"is_active": true,
"added_at": 123,
"supported_layers": [
"<string>"
]
}
],
"total": 123,
"limit": 123,
"offset": 123,
"network": "regtest",
"timestamp": 123
}{
"error_code": "VALIDATION_ERROR",
"message": "Invalid layer: BTC_FAKE. Valid layers: BTC_LN, BTC_L1, RGB_LN, RGB_L1, etc.",
"details": {},
"request_id": "req_01HV8Q9X7G0Q7Y3Z"
}{
"error": "missing_api_key"
}{
"error_code": "ASSET_NOT_FOUND",
"message": "Asset not found: BTCX",
"details": {},
"request_id": "req_01HV8Q9X7G0Q7Y3Z"
}{
"detail": [
{
"loc": [
"body",
"rfq_id"
],
"msg": "Field required",
"type": "missing"
}
]
}{
"error_code": "RATE_LIMIT_EXCEEDED",
"message": "Too many requests",
"details": {
"retry_after": 60
},
"request_id": "req_01HV8Q9X7G0Q7Y3Z"
}{
"error_code": "INTERNAL_ERROR",
"message": "Internal Server Error",
"details": {},
"request_id": "req_01HV8Q9X7G0Q7Y3Z"
}Authorizations
Pass a Kaleido API key such as kld_live_c_....
Query Parameters
Filter by asset UUID (e.g., 'rgb:2dkSTbr-...')
Filter by ticker (e.g., 'BTC', 'USDT')
Filter by layer (e.g., 'BTC_LN', 'RGB_L1')
Filter by network (e.g., 'LN', 'L1')
Filter by protocol (e.g., 'BTC', 'RGB')
Filter by active status
Items per page (max 100)
Required range:
1 <= x <= 100Offset for pagination
Required range:
x >= 0Was this page helpful?
⌘I