TEST NETWORK. This marketplace runs on the Sepolia test network. Its tokens, NFTs and prices have no real value, and nothing here is on Ethereum mainnet.

Test Grove

API reference

This marketplace is an API first. This site is one client of it: every page is built from the calls below, and each example here runs against the live book.

Basics

The base URL is https://demo.pandoexchange.com. Reads need no key. Requests and responses are JSON.

  • A collection is named by its chain id and contract address, as in 11155111/0xc7335e2f6871f01b7c9e50fd707494ee3eaca39a.
  • Amounts are wei, as decimal strings, in fields ending in Wei. They are never floating-point numbers.
  • priceWei is the maker’s price. New listings and offers made here pay the configured fee inside that price. Each purchase quote gives the buyer a maximum spend before gas.
  • Lists come as { "object": "list", "data": [], "hasMore": false, "nextCursor": null }. Pass nextCursor back as cursor for the next page.
  • Every response carries a Request-Id header. Server-Timing says how long this marketplace spent on it.
  • Marketplace reads use the operator’s current collections and enabled venues. For a live book, use the WebSocket.

Errors

A failed request answers with a status code and one shape:

{
  "error": {
    "type": "invalid_request",
    "message": "expected a 20-byte hex address",
    "param": "collection"
  }
}
invalid_request400. A parameter is missing or malformed. param names it.
unauthorized401. The route needs a token and did not get the right one.
not_found404. No such collection, listing or image.
unprocessable422. The request is well formed but cannot be carried out, such as a signature that does not match.
upstream_error502. A source this marketplace depends on failed.
not_configured503. This deployment is missing a setting the route needs.
rate_limited429. Too many requests needing a fresh chain read (pool estimates, purchase quotes) from one address this minute. Retry-After says when to try again.
internal_error500. A fault on our side. Quote the Request-Id.

Collections

The collection response lists supported purchase routes.

GET/v1/collections

Every collection on this marketplace, highest 7-day volume first, each with its floor from the merged book.

limit1 to 100. Default 50.
cursornextCursor from the previous page.
qMatch on name, slug or contract address.
curl https://demo.pandoexchange.com/v1/collections?limit=5
GET/v1/collections/11155111/0xc7335e2f6871f01b7c9e50fd707494ee3eaca39a

One collection by chain id and contract address. The floor is the cheapest current price from the enabled venues. A null price is unavailable.

curl https://demo.pandoexchange.com/v1/collections/11155111/0xc7335e2f6871f01b7c9e50fd707494ee3eaca39a
GET/v1/collections/test-grove

The same collection by its slug, for when a person is typing.

curl https://demo.pandoexchange.com/v1/collections/test-grove

The book

Each collection has an order book for the enabled venues. The lowest current price comes first.

GET/v1/collections/11155111/0xc7335e2f6871f01b7c9e50fd707494ee3eaca39a/depth

Lists asks by total cost and bids by net proceeds before gas. best.collectionBid covers the whole collection. New listings and offers made here carry the configured fee.

limitEntries per side, 1 to 200. Default 25.
curl https://demo.pandoexchange.com/v1/collections/11155111/0xc7335e2f6871f01b7c9e50fd707494ee3eaca39a/depth?limit=5
WS/v1/collections/11155111/0xc7335e2f6871f01b7c9e50fd707494ee3eaca39a/ws

A WebSocket. It sends the current depth on connect, then the new depth each time the book changes. Send the text ping and it answers pong.

wscat -c wss://demo.pandoexchange.com/v1/collections/11155111/0xc7335e2f6871f01b7c9e50fd707494ee3eaca39a/ws
GET/v1/collections/11155111/0xc7335e2f6871f01b7c9e50fd707494ee3eaca39a/tokens

Minted NFTs in numeric token-ID order. Each page includes known ownership, indexed listings and traits, and finalized indexing progress. Unlisted items have permanent token pages.

cursorThe decimal nextCursor from the previous page.
ownerFilter by holder address. Add offers=1 to find tokens with marketplace offers.
traitType, traitValueUse both to filter by an indexed trait.
curl https://demo.pandoexchange.com/v1/collections/11155111/0xc7335e2f6871f01b7c9e50fd707494ee3eaca39a/tokens?limit=50
GET/v1/collections/11155111/0xc7335e2f6871f01b7c9e50fd707494ee3eaca39a/tokens/1

One token by its exact decimal ID. A missing token returns 404 when absence is established. An unresolved lookup returns 503.

curl https://demo.pandoexchange.com/v1/collections/11155111/0xc7335e2f6871f01b7c9e50fd707494ee3eaca39a/tokens/1
GET/v1/collections/11155111/0xc7335e2f6871f01b7c9e50fd707494ee3eaca39a/offers

Live marketplace offers (signed here, paid in Sepolia WETH), best for the seller first, with the marketplace fee, any creator royalty and the seller's proceeds. scope is collection (any NFT), tokens (any NFT with one trait, signed for a Merkle root), or token (one NFT, signed for its exact tokenId). With tokenId, covers says whether that NFT can be sold into each offer. Only the ERC-721 collections this site lists on the Sepolia test network.

tokenIdOptional. A decimal token ID to check each offer against.
curl https://demo.pandoexchange.com/v1/collections/11155111/0xc7335e2f6871f01b7c9e50fd707494ee3eaca39a/offers?tokenId=1
GET/v1/collections/11155111/0xc7335e2f6871f01b7c9e50fd707494ee3eaca39a/offers/traits

The traits a marketplace offer can be made for, each with how many NFTs carry it. complete is false until every NFT's traits have been read; offers for one trait are refused until then, so a trait always names an exact set.

curl https://demo.pandoexchange.com/v1/collections/11155111/0xc7335e2f6871f01b7c9e50fd707494ee3eaca39a/offers/traits
GET/v1/collections/11155111/0xc7335e2f6871f01b7c9e50fd707494ee3eaca39a/items

Lists NFTs for sale, cheapest first. Items include venue and traits. Facets count matching items for each venue and trait.

venueComma-separated: native.
traitType:Value, repeatable. Values of one type are alternatives; different types must all match. Items whose traits are unread never match.
qWords to match: a whole number matches a token ID exactly; any word matches trait text. Up to 100 characters.
likeA token ID. Orders the list by how closely each NFT's traits match that token's: most trait values shared first, then rarer shared values, then cheapest. Values that only say a trait is missing ("None") are not counted. Each item gains match: matched of of trait values, and score (0 to 1, weighted by rarity). NFTs sharing no trait, or not yet read, are left out.
limitItems per page, 1 to 1000. Default 100.
cursorThe nextCursor from the previous page.
curl https://demo.pandoexchange.com/v1/collections/11155111/0xc7335e2f6871f01b7c9e50fd707494ee3eaca39a/items?limit=5
GET/v1/collections/11155111/0xc7335e2f6871f01b7c9e50fd707494ee3eaca39a/traits

Indexed traits as [type, value] pairs by token ID. read, pending and failed report progress for reviewed collections.

curl https://demo.pandoexchange.com/v1/collections/11155111/0xc7335e2f6871f01b7c9e50fd707494ee3eaca39a/traits
GET/v1/collections/11155111/0xc7335e2f6871f01b7c9e50fd707494ee3eaca39a/activity

Sales, mints, transfers and burns, newest first. The book reads the chain and follows it three blocks behind. The index reports how far it has read.

typeComma-separated: sale, mint, transfer, burn. Default: all four.
tokenIdOnly this token's events.
sinceUnix seconds. Nothing older.
limitEvents per page, 1 to 1000. Default 50.
cursorThe nextCursor from the previous page (an event id, blockNumber:logIndex).
curl https://demo.pandoexchange.com/v1/collections/11155111/0xc7335e2f6871f01b7c9e50fd707494ee3eaca39a/activity?type=sale&limit=5
GET/v1/collections/11155111/0xc7335e2f6871f01b7c9e50fd707494ee3eaca39a/floor-history

The floor (what the cheapest NFT cost a buyer, after venue fees) and the best collection-wide offer (net to a seller), as the book recorded them: one point each time either changed, and at least one an hour. before is the record in force at the start of the range. A listing is signed off chain, so nothing earlier than recordingSince can be read back. SepoliaETH and Sepolia WETH are counted 1:1.

range1d, 7d, 30d or 90d. Default 7d.
curl https://demo.pandoexchange.com/v1/collections/11155111/0xc7335e2f6871f01b7c9e50fd707494ee3eaca39a/floor-history?range=7d
GET/v1/collections/11155111/0xc7335e2f6871f01b7c9e50fd707494ee3eaca39a/stats

How many orders the book holds and how quickly events reach it, as percentiles in milliseconds.

curl https://demo.pandoexchange.com/v1/collections/11155111/0xc7335e2f6871f01b7c9e50fd707494ee3eaca39a/stats

Wallets

Read a wallet’s holdings from the collection books. The address is public and the page /w/{address} shows the same information.

GET/v1/wallets/0x1111111111111111111111111111111111111111

Returns holdings, the collection floor and best collection offer, and the last sale for each held NFT. The response identifies books and offer feeds that could not be read. Includes the maker’s listings and offers made here.

limitNFTs per collection, 1 to 100. Default 24.
collectionA contract address: only that collection.
cursorWith collection: the nextCursor (a token ID) from the previous page. Each collection's next is the full URL.
curl https://demo.pandoexchange.com/v1/wallets/0x1111111111111111111111111111111111111111?limit=5

Listings

A listing made here is a Seaport 1.6 order. Its price includes the configured fee and any royalty reported by the collection. Prepare the order, then submit the signature. Only the ERC-721 collections this site lists on the Sepolia test network.

POST/v1/collections/11155111/0xc7335e2f6871f01b7c9e50fd707494ee3eaca39a/listings/prepare

Checks that the seller holds the NFT, reads their Seaport counter and the creator royalty for this NFT at this price, and returns the amounts (marketplace fee, creator amount and recipient, seller proceeds) with either the approval transaction to send first or the typed data to sign. A royalty read that fails asks for a retry; an implausible one holds the collection.

curl https://demo.pandoexchange.com/v1/collections/11155111/0xc7335e2f6871f01b7c9e50fd707494ee3eaca39a/listings/prepare \
  -H 'content-type: application/json' \
  -d '{"seller":"0x1111111111111111111111111111111111111111","tokenId":"1","priceWei":"1000000000000000000","durationSeconds":604800}'
POST/v1/collections/11155111/0xc7335e2f6871f01b7c9e50fd707494ee3eaca39a/listings/submit

Puts the signed order on the book once the signature, holder and approval check out and every payment line is the one this marketplace builds now, each in its role (seller, marketplace fee, creator).

curl https://demo.pandoexchange.com/v1/collections/11155111/0xc7335e2f6871f01b7c9e50fd707494ee3eaca39a/listings/submit \
  -H 'content-type: application/json' \
  -d '{"route":"seaport","order":"the typedData.message from prepare","signature":"0x…"}'
POST/v1/collections/11155111/0xc7335e2f6871f01b7c9e50fd707494ee3eaca39a/listings

The older submit URL: the same { order, signature } goes through exactly the checks of listings/submit, and the answer is that route's. The older listings/build is retired (410); use listings/prepare.

curl https://demo.pandoexchange.com/v1/collections/11155111/0xc7335e2f6871f01b7c9e50fd707494ee3eaca39a/listings \
  -H 'content-type: application/json' \
  -d '{"order":"the typedData.message from prepare","signature":"0x…"}'

Fills

The purchase quote simulates the chosen NFTs for the buyer on the Sepolia test network. The buyer reviews and submits each transaction in their wallet.

POST/v1/collections/11155111/0xc7335e2f6871f01b7c9e50fd707494ee3eaca39a/purchases/quote

Simulates a purchase and returns an unsigned transaction, its maximum spend and its expiry. The buyer needs enough SepoliaETH for the maximum and gas. For a listing made here, pass source native, a token ID and the order hash.

curl https://demo.pandoexchange.com/v1/collections/11155111/0xc7335e2f6871f01b7c9e50fd707494ee3eaca39a/purchases/quote \
  -H 'content-type: application/json' \
  -d '{"tokenIds":["1"],"buyer":"0x2222222222222222222222222222222222222222","source":"native","orderHash":"0xabababababababababababababababababababababababababababababababab"}'
POST/v1/collections/11155111/0xc7335e2f6871f01b7c9e50fd707494ee3eaca39a/fills/native

The transaction that buys one of this marketplace's own listings. Withheld when the collection's creator royalty for that NFT at that price no longer matches the line the seller signed; the seller must then cancel and sign again.

curl https://demo.pandoexchange.com/v1/collections/11155111/0xc7335e2f6871f01b7c9e50fd707494ee3eaca39a/fills/native \
  -H 'content-type: application/json' \
  -d '{"orderHash":"0xabababababababababababababababababababababababababababababababab","fulfiller":"0x2222222222222222222222222222222222222222"}'

Images

Token images are read from the chain once, stored, and served from here. They are served only for collections this marketplace has reviewed.

GET/img/11155111/0xc7335e2f6871f01b7c9e50fd707494ee3eaca39a/1

A token's image. Add ?size=full for the original; the default is a smaller copy when one was made.

curl https://demo.pandoexchange.com/img/11155111/0xc7335e2f6871f01b7c9e50fd707494ee3eaca39a/1
GET/img/11155111/0xc7335e2f6871f01b7c9e50fd707494ee3eaca39a

The collection's own picture.

curl https://demo.pandoexchange.com/img/11155111/0xc7335e2f6871f01b7c9e50fd707494ee3eaca39a