Orderbook API
Trader.xyz hosts a free, real-time NFT orderbook that hosts buy and sell NFT orders.
Last updated
Trader.xyz hosts a free, real-time NFT orderbook that hosts buy and sell NFT orders.
Last updated
Trader.xyz hosts the official orderbook for 0x v4 NFT orders.
Trader.xyz orderbook is an open orderbook that keeps track of off-NFT chain orders and order statuses in real-time. Anyone can add orders to the orderbook as long as they are valid 0x v4 orders.
Having an open orderbook for NFT orders makes it much easier for integrators to build NFT marketplaces and swapping apps -- bring your own frontend and leverage the trader infrastructure. No lock-in and the open orderbook is completely free to use!
GET
https://api.trader.xyz/orderbook/orders
Fetch NFT buy and sell orders that can be filled via 0x v4
Use query params to filter for orders
Name | Type | Description |
---|---|---|
Upon finding an order you like. use the order field as the order object to fill on 0x v4.
POST
https://api.trader.xyz/orderbook/order
Add a signed 0x V4 NFT order to the open orderbook
Name | Type | Description |
---|---|---|
nftToken
String
Contract address for the NFT
(e.g. 0xed5...544
would filter for Azuki on mainnet
nftTokenId
String
Token ID for the NFT
erc20Token
String
Contract address for the ERC20
(e.g. 0xa
...06eb48
is USDC on mainnet)
chainId
String
Chain Id (https://chainid.network/)
maker
String
Maker wallet address
taker
String
Taker wallet address
nonce
String
Unique nonce for order
sellOrBuyNft
String
Filter for either buys (bids) or sells (asks) of NFTs
Accepted filter values: 'sell' or 'buy'
status
String
Filter by real-time order status
Accepted values: 'open' | 'filled' | 'expired' | 'cancelled' | 'all'
visibility
String
Filter by whether an order is public or private (private meaning the order has a specific taker address)
Accepted values: 'public' | 'private'
offset
String
Offset fetching orders
Defaults to 0
limit
String
Amount of orders to fetch
Defaults to 200
. Max is 1000
chainId*
String
Chain that the order is for
(e.g. 1
for mainnet or 137
for Polygon
order*
String
Signed, Fillable 0x v4 NFT order