Get orderbook

GET /nft/orders/:chainId/orderbook/

Query parameters:

makerAsset (optional): address of an ERC20/721/1155 token

makerAssetType (optional): encoded token type ERC20/721/1155 (0: ERC20, 1: ERC1155, 2: ERC721)

takerAsset (optional): address of an ERC20/721/1155 token

takerAssetType (optional): encoded token type ERC20/721/1155 (0: ERC20, 1: ERC1155, 2: ERC721)

Example:

  • Get the whole orderbook

curl -X GET \
  'https://api.paraswap.io/nft/orders/137/orderbook/'
  • Get orderbook where makerAsset equal 0x2953399124f0cbb46d2cbacd8a89cf0599974963

curl -X GET \
  'https://api.paraswap.io/nft/orders/137/orderbook/?makerAsset=0x2953399124f0cbb46d2cbacd8a89cf0599974963'
  • Get orderbook where makerAsset type is ERC1155 and takerAsset is ERC20:

curl -X GET \
  'https://api.paraswap.io/nft/orders/137/orderbook/?makerAssetType=1&takerAssetType=0'

Response

Last updated