Skip to main content

Token Routes

These endpoints provide access to token data, including collections, transactions, and balances.

Get Token Balances

Returns token balances for specici account addresses with enhanced filtering options.

GET /api/token-balances

Parameters

NameRequiredDescription
addressYesFilter by wallet address
greaterThanZeroBalanceNoIf true, only returns tokens with balance > 0
collectionNoFilter by collection name
creatorNoFilter by creator address
crystaraInfoNoIf true, includes additional Crystara-specific information

Example Request

fetch('https://api.crystara.trade/mainnet/token-balances?address=0x123abc...&greaterThanZeroBalance=true&crystaraInfo=true&collection=MyCollection&creator=0xabc123...', {
headers: {
'x-api-key': 'your-api-key-here'
}
})
.then(response => response.json())
.then(data => console.log(data));

Response

Coming Soon

Get Tokens by Lootbox ID

Returns tokens associated with a specific lootbox ID.

GET /api/tokens-by-lootbox

Parameters

NameRequiredDescription
lootboxIdYesNumeric ID of the lootbox

Example Request

fetch('https://api.crystara.trade/mainnet/tokens-by-lootbox?lootboxId=123', {
headers: {
'x-api-key': 'your-api-key-here'
}
})
.then(response => response.json())
.then(data => console.log(data));

Response

Coming Soon

Get Tokens by Collection

Returns tokens in a specific collection with pagination support.

GET /api/tokens-by-collection

Parameters

NameRequiredDescription
creatorYesCreator address of the collection
collectionYesName of the collection
pageNoPage number (default: 1)
limitNoReturned size (default: 50)

Example Request

fetch('https://api.crystara.trade/mainnet/tokens-by-collection?creator=0x123abc...&collection=CryptoWarriors&page=2', {
headers: {
'x-api-key': 'your-api-key-here'
}
})
.then(response => response.json())
.then(data => console.log(data));

Response

Coming Soon

Get Tokens by Lootbox Creator

Returns tokens created by a specific lootbox creator for a collection.

GET /api/tokens-by-lootbox-creator

Parameters

NameRequiredDescription
creatorYesCreator address
collectionYesCollection name

Example Request

fetch('https://api.crystara.trade/mainnet/tokens-by-lootbox-creator?creator=0x123abc...&collection=CryptoWarriors', {
headers: {
'x-api-key': 'your-api-key-here'
}
})
.then(response => response.json())
.then(data => console.log(data));

Response

Coming Soon

Get Token Collection by Lootbox

Returns collection information for tokens in a specific lootbox.

GET /api/token-collection-by-lootbox-creator

Parameters

NameRequiredDescription
creatorYesCreator address
collectionYesCollection name

Example Request

fetch('https://api.crystara.trade/mainnet/token-collection-by-lootbox-creator?creator=0x123abc...&collection=CryptoWarriors', {
headers: {
'x-api-key': 'your-api-key-here'
}
})
.then(response => response.json())
.then(data => console.log(data));

Response

Coming Soon

Get Token Activity

Returns activity history for a specific token.

GET /api/token/activity

Parameters

NameRequiredDescription
tokenNameYesName of the token
creatorYesCreator address
collectionYesCollection name
propertyVersionNoProperty version of the token (default: '0')
pageNoPage number (default: 1)
limitNoNumber of results per page (default: 20)

Example Request

fetch('https://api.crystara.trade/mainnet/token/activity?tokenName=WarriorToken&creator=0x123abc...&collection=CryptoWarriors&page=1&limit=20', {
headers: {
'x-api-key': 'your-api-key-here'
}
})
.then(response => response.json())
.then(data => console.log(data));

Response

Coming Soon

Get Token Traits

Returns trait information for a specific token.

GET /api/token/traits

Parameters

NameRequiredDescription
collectionYesCollection name
creatorYesCreator address
tokenNameYesName of the token
collectionUrlNoURL of the collection
propertyVersionNoProperty version of the token (default: '0')
tokenStandardNoToken standard (default: 'v1')

Example Request

fetch('https://api.crystara.trade/mainnet/token/traits?collection=CryptoWarriors&creator=0x123abc...&tokenName=WarriorToken&tokenStandard=v1', {
headers: {
'x-api-key': 'your-api-key-here'
}
})
.then(response => response.json())
.then(data => console.log(data));

Response

Coming Soon

Get Token Transaction History

Returns transaction history for a specific token.

GET /api/market/token-history-by-tokenId

Parameters

NameRequiredDescription
tokenIdYesID of the token
pageNoPage number (default: 1)
limitNoNumber of results per page (default: 20)

Example Request

fetch('https://api.crystara.trade/mainnet/market/token-history-by-tokenId?tokenId=123&page=1&limit=20', {
headers: {
'x-api-key': 'your-api-key-here'
}
})
.then(response => response.json())
.then(data => console.log(data));

Response

Coming Soon

Get Token Listing Details

Returns detailed listing information for a specific token.

GET /api/market/listing-card

Parameters

NameRequiredDescription
tokenIdYesID of the token
tokenStandardYesStandard of the token (e.g., 'v1', 'v2')

Example Request

fetch('https://api.crystara.trade/mainnet/market/listing-card?tokenId=123&tokenStandard=v1', {
headers: {
'x-api-key': 'your-api-key-here'
}
})
.then(response => response.json())
.then(data => console.log(data));

Response

Coming Soon

Note: These routes were last updated June 2025.