Skip to main content

Market Routes

These endpoints provide access to marketplace data, including listings, bids, sales, and user activity.

Get Listings by Collection

Returns market listings for a specific collection.

GET /api/market/listings-by-collection

Parameters

NameRequiredDescription
creatorNo*Creator address of the collection
collectionNo*Name of the collection
lootboxIdNo*ID of the lootbox (alternative to creator/collection)

Note: You must provide either the creator/collection pair OR the lootboxId.

Example Request

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

Alternative Example (using lootboxId)

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

Response

Coming Soon

Get Bids by Collection

Returns market bids for a specific collection.

GET /api/market/bids-by-collection

Parameters

NameRequiredDescription
creatorNo*Creator address of the collection
collectionNo*Name of the collection
lootboxIdNo*ID of the lootbox (alternative to creator/collection)

Note: You must provide either the creator/collection pair OR the lootboxId.

Example Request

fetch('https://api.crystara.trade/mainnet/market/bids-by-collection?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 Transaction History

Returns the 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

Search Collections and Tokens

Searches for collections and tokens by text.

GET /api/market/search

Parameters

NameRequiredDescription
textYesSearch text

Example Request

fetch('https://api.crystara.trade/mainnet/market/search?text=crypto', {
headers: {
'x-api-key': 'your-api-key-here'
}
})
.then(response => response.json())
.then(data => console.log(data));

Response

Coming Soon

Get Listing Cards

Returns paginated listing cards with various filtering options.

GET /api/market/listing-cards

Parameters

NameRequiredDescription
pageNoPage number (default: 1)
limitNoNumber of results per page (default: 20)
searchNoSearch text
minPriceNoMinimum price filter
maxPriceNoMaximum price filter
coinTypeNoFilter by coin type
collectionNameNoFilter by collection name
creatorAddressNoFilter by creator address
byPopularNoSort by popularity if true
collectionUrlNoFilter by collection URL

Example Request

fetch('https://api.crystara.trade/mainnet/market/listing-cards?page=1&limit=20&minPrice=100&maxPrice=1000&collectionName=CryptoWarriors', {
headers: {
'x-api-key': 'your-api-key-here'
}
})
.then(response => response.json())
.then(data => console.log(data));

Response

Coming Soon

Get Total Listing Cards

Returns the total count of listing cards matching the filter criteria.

GET /api/market/total-listing-cards

Parameters

NameRequiredDescription
searchNoSearch text
minPriceNoMinimum price filter
maxPriceNoMaximum price filter
coinTypeNoFilter by coin type
collectionNameNoFilter by collection name
creatorAddressNoFilter by creator address

Example Request

fetch('https://api.crystara.trade/mainnet/market/total-listing-cards?minPrice=100&maxPrice=1000&collectionName=CryptoWarriors', {
headers: {
'x-api-key': 'your-api-key-here'
}
})
.then(response => response.json())
.then(data => console.log(data));

Response

Coming Soon

Get Listing Card Details

Returns detailed information about a specific token listing.

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

Get User Trading Activity

Returns a user's trading activity history.

GET /api/market/user-activity

Parameters

NameRequiredDescription
addressYesUser's wallet address
pageNoPage number (default: 1)
limitNoNumber of results per page (default: 20)

Example Request

fetch('https://api.crystara.trade/mainnet/market/user-activity?address=0x123abc...&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 User Listings

Returns a user's active listings.

GET /api/market/user-listings

Parameters

NameRequiredDescription
addressYesUser's wallet address
pageNoPage number (default: 1)
limitNoNumber of results per page (default: 20)

Example Request

fetch('https://api.crystara.trade/mainnet/market/user-listings?address=0x123abc...&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 User Bids

Returns a user's active bids.

GET /api/market/user-bids

Parameters

NameRequiredDescription
addressYesUser's wallet address
pageNoPage number (default: 1)
limitNoNumber of results per page (default: 20)

Example Request

fetch('https://api.crystara.trade/mainnet/market/user-bids?address=0x123abc...&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 User Purchase History

Returns a user's purchase history.

GET /api/market/user-history

Parameters

NameRequiredDescription
addressYesUser's wallet address
pageNoPage number (default: 1)
limitNoNumber of results per page (default: 20)

Example Request

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

Response

Coming Soon

Understanding Market Data

The market data returned by these endpoints includes:

  • Listing Information: Seller, price, quantity, listing time
  • Token Information: Creator, collection, token name, property version
  • Price History: Historical price data (where available)
  • Status: Whether the listing is active, sold, or cancelled

Prices are denominated in the smallest unit of the relevant currency (e.g., SUPRA).

Note: These routes were last updated June 2025.