Order Books
List Importable Order Books
Discover commodity order books other instances have published
GET
/
orderbooks
/
commodities
/
api
/
order-books
/
importable
curl "https://api.trusset.org/orderbooks/commodities/api/order-books/importable" \
-H "X-API-Key: trusset_your_key_here"
const res = await fetch(
'https://api.trusset.org/orderbooks/commodities/api/order-books/importable',
{ headers: { 'X-API-Key': 'trusset_your_key_here' } }
);
const { data } = await res.json();
{
"success": true,
"data": [
{
"id": "clx_ob_comm_055",
"tokenAddress": "0x1a4f27c3d0e85b6971af2c5d3e8047b19c06fa2d",
"quoteTokenAddress": "0x98ad0ca091552e23c564b41c74282e5343d03e8a",
"name": "Zurich Vault Gold",
"symbol": "ZVG",
"tokenType": "LIGHT_TOKEN",
"custodyContract": "0xf3dac9cf19da1c95a80de890e200bc86e0c6f2da",
"minOrderSize": "1000000",
"maxOrderSize": null,
"tickSize": "10000",
"makerFeeBps": 0,
"takerFeeBps": 6,
"createdAt": "2025-05-20T14:12:00.000Z"
}
]
}
Returns the commodity order books that other instances have opened for import and that you have not imported yet. A book qualifies when it is
ACTIVE, settles on-chain, has allowImport set, and belongs to another instance. Newest first, capped at 100 entries.
Only a summary is returned, and it does not include the fungibility class. Import the book to read its full record and see whether it is in the same class as your own.
Response Fields
array
Show child attributes
Show child attributes
string
Order book ID. Pass it to Import Order Book.
string
Commodity token.
string
Settlement token (stablecoin).
string
Display name.
string
Display symbol.
string
LIGHT_TOKEN.string
Custody contract the book settles through.
string
Minimum quantity in order book units.
string
Maximum quantity, or
null.string
Price increment in order book units.
integer
Maker fee charged by the owning book.
integer
Taker fee charged by the owning book.
string
ISO 8601 timestamp.
curl "https://api.trusset.org/orderbooks/commodities/api/order-books/importable" \
-H "X-API-Key: trusset_your_key_here"
const res = await fetch(
'https://api.trusset.org/orderbooks/commodities/api/order-books/importable',
{ headers: { 'X-API-Key': 'trusset_your_key_here' } }
);
const { data } = await res.json();
{
"success": true,
"data": [
{
"id": "clx_ob_comm_055",
"tokenAddress": "0x1a4f27c3d0e85b6971af2c5d3e8047b19c06fa2d",
"quoteTokenAddress": "0x98ad0ca091552e23c564b41c74282e5343d03e8a",
"name": "Zurich Vault Gold",
"symbol": "ZVG",
"tokenType": "LIGHT_TOKEN",
"custodyContract": "0xf3dac9cf19da1c95a80de890e200bc86e0c6f2da",
"minOrderSize": "1000000",
"maxOrderSize": null,
"tickSize": "10000",
"makerFeeBps": 0,
"takerFeeBps": 6,
"createdAt": "2025-05-20T14:12:00.000Z"
}
]
}
Error Codes
| Code | HTTP | Cause |
|---|---|---|
SERVICE_NOT_ENABLED | 403 | The Trading service is not enabled on this instance |
⌘I
curl "https://api.trusset.org/orderbooks/commodities/api/order-books/importable" \
-H "X-API-Key: trusset_your_key_here"
const res = await fetch(
'https://api.trusset.org/orderbooks/commodities/api/order-books/importable',
{ headers: { 'X-API-Key': 'trusset_your_key_here' } }
);
const { data } = await res.json();
{
"success": true,
"data": [
{
"id": "clx_ob_comm_055",
"tokenAddress": "0x1a4f27c3d0e85b6971af2c5d3e8047b19c06fa2d",
"quoteTokenAddress": "0x98ad0ca091552e23c564b41c74282e5343d03e8a",
"name": "Zurich Vault Gold",
"symbol": "ZVG",
"tokenType": "LIGHT_TOKEN",
"custodyContract": "0xf3dac9cf19da1c95a80de890e200bc86e0c6f2da",
"minOrderSize": "1000000",
"maxOrderSize": null,
"tickSize": "10000",
"makerFeeBps": 0,
"takerFeeBps": 6,
"createdAt": "2025-05-20T14:12:00.000Z"
}
]
}
