On this page
API reference
Listings and items
Read collection inventory, catalogue rows, traits and OpenSea listing pages.
GET /v1/collections/:chainId/:collection/items#
Read the combined list of fixed listings and pooled NFTs for the For sale view. A pool item has an indicative price for one NFT.
Path and query parameters#
| Name | Type | Required | Meaning | Default | Limits |
|---|---|---|---|---|---|
chainId |
integer | Yes | NFT chain ID. | — | 1 for this API. |
collection |
address | Yes | Selected Ethereum ERC-721 contract. | — | 20 bytes, 0x prefix. |
limit |
integer | No | Maximum rows to return. | 100 | 1–1000. |
cursor |
string | No | Book offset from the previous page. | First page. | o: followed by up to 7 decimal digits. |
sort |
string | No | Price ascending, price descending or token order. | Book default. | low, high, token. |
q |
string | No | Search token IDs or traits. | No search. | 100 characters. |
venue |
repeatable string | No | Include selected venues. | All. | native, opensea, nftx-v2, nftx-v4, nftx-v4-listings. |
trait |
repeatable string | No | Include a trait using type:value. |
All. | Combined filter reads up to 50 distinct values. |
like |
string | No | Order by similarity to an NFT’s traits. | Off. | Token ID with optional leading #. |
Response fields#
| Field | Type | Meaning |
|---|---|---|
object, data |
string and array | Result type and rows. Rows contain identity, venue, token, traits, price, price kind, currency and expiry. Pool rows identify poolId. variablePrice marks moving consideration, priorObservation marks an older pool observation and match can accompany likeness results. |
total, hasMore, nextCursor |
integer, boolean and string or null | Match count and pagination. |
facets |
object | Venue and trait counts and count of unknown traits. |
asOf, validUntil |
integers or null | Snapshot time and freshness boundary in Unix milliseconds. |
Cache. Cache-Control: no-store.
Limit. None specific. Reads the stored book.
Errors#
| Status | Code | Meaning |
|---|---|---|
| 400 | invalid_request |
A path, query or body field failed validation. |
| 404 | not_found |
The collection, feed or venue is unavailable on this site. |
Example request#
curl 'https://marketplace.example/v1/collections/1/0x4a8b01e437c65fa8612e8b699266c0e0a98ff65c/items?limit=3'const response = await fetch("https://marketplace.example/v1/collections/1/0x4a8b01e437c65fa8612e8b699266c0e0a98ff65c/items?limit=3");
const result = await response.json();Example response#
{
"object": "list",
"data": [
{
"object": "item",
"id": "v2-174:4",
"venue": "nftx-v2",
"source": "nftx",
"tokenId": "4",
"poolId": "v2-174",
"priceWei": "835537869790280",
"feeWei": null,
"takerWei": "835537869790280",
"currency": "ETH",
"priceKind": "estimate",
"expiresAt": null,
"traits": [
{
"type": "Tribe",
"value": "Mouse"
},
{
"type": "Background",
"value": "Blueberry"
},
…
]
},
{
"object": "item",
"id": "v2-174:48",
"venue": "nftx-v2",
"source": "nftx",
"tokenId": "48",
"poolId": "v2-174",
"priceWei": "835537869790280",
"feeWei": null,
"takerWei": "835537869790280",
"currency": "ETH",
"priceKind": "estimate",
"expiresAt": null,
"traits": [
{
"type": "Tribe",
"value": "Dog"
},
{
"type": "Background",
"value": "Apple"
},
…
]
},
…
],
"total": 398,
"hasMore": true,
"nextCursor": "o:3",
"facets": {
"venues": {
"opensea": 35,
"nftx-v2": 351,
"nftx-v4": 12
},
"traits": {
"Tribe": {
"Penguin": 25,
"Bee": 15,
"Dog": 57,
"Red Panda": 42,
"Turtle": 31,
"Mouse": 30,
"Cat": 30,
"Owl": 35,
"Gorilla": 27,
"Elephant": 29,
"Llama": 34,
"Frog": 43
},
"Background": {
"Blueberry": 77,
"Peach": 73,
"Lemon": 73,
"Lime": 53,
"Dragonfruit": 61,
"Rainbow": 6,
"Apple": 55
},
"Clothing": {
"Spaghetti Strap": 19,
"None": 128,
"Tank Top": 18,
"Kimono": 17,
"Dress": 19,
"Blouse": 19,
"Tactical Vest": 2,
"Leather Jacket": 2,
"Hoodie": 19,
"Latex Suit": 2,
"Loose Top": 18,
"Crewneck Sweater": 12,
"Band Shirt": 15,
"Nifty Hoodie": 1,
"Crop Top": 19,
"Shaggy Sweater": 14,
"Mesh Shirt": 25,
"Polo": 17,
"Suit": 15,
"White Shirt": 10,
"Tie Dye Shirt": 2,
"Wetsuit": 2,
"Hawaiian Shirt": 3
},
"Neckwear": {
"Shark Necklace": 21,
"Fine Gold Chain": 12,
"None": 171,
"Bandana": 20,
"Choker": 23,
"Headphones": 14,
"Cross Pendant": 2,
"Pearl Necklace": 13,
"Fine Silver Chain": 15,
"Scarf": 15,
"Shell Necklace": 18,
"Pool Noodle": 19,
"Towel": 11,
"Leather Strap": 23,
"Bib": 16,
"Heavy Silver Chain": 1,
"Evil Eye Pendant": 3,
"Heavy Gold Chain": 1
},
"Headwear": {
"None": 167,
"Top Hat": 12,
"Pickelhaube": 17,
"Visor": 17,
"Bike Helmet": 17,
"Beanie": 10,
"Trojan Helmet": 24,
"Baseball Cap": 12,
"Fisherman Hat": 13,
"Straw Hat": 24,
"Fedora": 16,
"Deerstalker": 21,
"Boonie Hat": 19,
"Sweatband": 20,
"#1 Hat": 2,
"Tricorne": 1,
"Propeller Hat": 2,
"Miner Hat": 4
},
"Eyewear": {
"Cateye Glasses": 20,
"None": 195,
"Ski Goggles": 25,
"Prince Nez": 16,
"Sunglasses": 13,
"Nerd Glasses": 16,
"Swim Goggles": 26,
"VR Goggles": 2,
"3D Glasses": 16,
"Sleazy Sunglasses": 3,
"Monocle": 19,
"Eye Mask": 19,
"Hypno Glasses": 11,
"Heart Sunglasses": 15,
"Tree Wizard Spectacles": 1,
"Robotic Eye": 1
},
"Mouthpiece": {
"Rose": 7,
"None": 339,
"Spoon": 9,
"Pipe": 5,
"Piece of Straw": 8,
"Pacifier": 3,
"Space Vape": 5,
"Kazoo": 6,
"Gum": 12,
"Party Blower": 4
}
},
"unknown": 0
},
"asOf": 1796384878785,
"validUntil": 1796385050383
}GET /v1/collections/:chainId/:collection/tokens#
Page the full indexed catalogue, including unlisted NFTs.
Path and query parameters#
| Name | Type | Required | Meaning | Default | Limits |
|---|---|---|---|---|---|
chainId |
integer | Yes | NFT chain ID. | — | 1 for this API. |
collection |
address | Yes | Selected Ethereum ERC-721 contract. | — | 20 bytes, 0x prefix. |
limit |
integer | No | Maximum rows to return. | 50 | 1–50. |
sort |
string | No | Price ascending, price descending or token order. | Book default. | low, high, token. |
cursor |
string | No | Position returned by the previous page. | First page. | Book price/token cursor. |
id |
decimal string | No | Exact NFT ID filter. | All. | uint256. |
idPrefix |
decimal string | No | Match a leading decimal token ID. | All. | uint256. |
facets |
string | No | Set to 0 to skip facets. |
— | — |
owner |
address | No | Filter by indexed owner. | — | — |
traitType |
string | No | Exact trait name. Pair with traitValue. | All. | 150 characters. |
traitValue |
string | No | Exact trait value. Pair with traitType. | All. | 150 characters. |
offers |
string | No | Set to 1 for tokens with offers. |
— | — |
q |
string | No | Search token IDs or traits. | No search. | 100 characters. |
venue |
repeatable string | No | Include selected venues. | All. | native, opensea, nftx-v2, nftx-v4, nftx-v4-listings. |
trait |
repeatable string | No | Include a trait using type:value. |
All. | Combined filter reads up to 50 distinct values. |
Response fields#
| Field | Type | Meaning |
|---|---|---|
object, total, nextCursor |
string, integer and string or null | Result type, total rows and continuation. |
data |
array | Token records described by the next route. |
facets |
array | Trait name, value and matching count n. |
index, version, validUntil |
object, string and integer or null | Index progress, change version and price validity in Unix milliseconds. |
Cache. Cache-Control: no-store.
Limit. None specific. Reads the stored book.
Errors#
| Status | Code | Meaning |
|---|---|---|
| 400 | invalid_request |
A path, query or body field failed validation. |
| 404 | not_found |
The collection, feed or venue is unavailable on this site. |
| 503 | upstream_error |
Indexed holdings for the owner query are temporarily unavailable. |
Example request#
curl 'https://marketplace.example/v1/collections/1/0x4a8b01e437c65fa8612e8b699266c0e0a98ff65c/tokens?limit=2'const response = await fetch("https://marketplace.example/v1/collections/1/0x4a8b01e437c65fa8612e8b699266c0e0a98ff65c/tokens?limit=2");
const result = await response.json();Example response#
{
"object": "list",
"total": 12442,
"facets": [
{
"type": "Background",
"value": "Blueberry",
"n": 900
},
{
"type": "Background",
"value": "Lemon",
"n": 866
},
…
],
"data": [
{
"tokenId": "4",
"owner": "0x9a09eec78998924c24b287f0576253ffa9e87c21",
"observedAtBlock": 26555629,
"name": null,
"traits": [
{
"type": "Background",
"value": "Blueberry"
},
{
"type": "Clothing",
"value": "Dress"
},
…
],
"ask": null,
"pools": [
"v2-174"
],
"poolAsk": {
"poolId": "v2-174",
"priceWei": "835537869790280",
"kind": "estimate",
"asOf": 1796384870760
},
"checkoutPoolAsk": {
"poolId": "v2-174",
"priceWei": "835537869790280",
"kind": "estimate",
"asOf": 1796384870760
},
"venueBid": null,
"signedOffer": null
},
{
"tokenId": "48",
"owner": "0x9a09eec78998924c24b287f0576253ffa9e87c21",
"observedAtBlock": 26555629,
"name": null,
"traits": [
{
"type": "Background",
"value": "Apple"
},
{
"type": "Clothing",
"value": "None"
},
…
],
"ask": null,
"pools": [
"v2-174"
],
"poolAsk": {
"poolId": "v2-174",
"priceWei": "835537869790280",
"kind": "estimate",
"asOf": 1796384870760
},
"checkoutPoolAsk": {
"poolId": "v2-174",
"priceWei": "835537869790280",
"kind": "estimate",
"asOf": 1796384870760
},
"venueBid": null,
"signedOffer": null
}
],
"nextCursor": "000000000000000000000000000000000000000000000000000000000000000835537869790280.48",
"index": {
"mode": "enumerable",
"baselineComplete": true,
"indexedThrough": 26556522,
"snapshotBlock": 26555629,
"snapshotSize": "12442",
"historyNextBlock": null,
"issue": null
},
"version": "1796384870763",
"validUntil": 1796385050383
}GET /v1/collections/:chainId/:collection/tokens/:tokenId#
Read one NFT by ID. The Worker tries to establish existence when the token is missing from the stored catalogue.
Path and query parameters#
| Name | Type | Required | Meaning | Default | Limits |
|---|---|---|---|---|---|
chainId |
integer | Yes | NFT chain ID. | — | 1 for this API. |
collection |
address | Yes | Selected Ethereum ERC-721 contract. | — | 20 bytes, 0x prefix. |
tokenId |
decimal string | Yes | NFT identifier. | — | Unsigned 256-bit integer unless specified. |
Response fields#
| Field | Type | Meaning |
|---|---|---|
tokenId, owner, observedAtBlock |
strings or null and integer or null | NFT, last indexed owner and observation block. |
name, traits |
string or null and array | Token metadata and type / value trait pairs. |
ask, pools, poolAsk, checkoutPoolAsk |
objects or null and array | Known listing, observed pools and indicative pool pricing or checkout information. |
venueBid, signedOffer |
objects or null | Public offer summaries where available. |
Cache. Cache-Control: no-store.
Limit. Chain reads, 60 per minute per visitor when the route falls back to a live read.
Errors#
| Status | Code | Meaning |
|---|---|---|
| 400 | invalid_request |
A path, query or body field failed validation. |
| 404 | not_found |
The collection, feed or venue is unavailable on this site. |
| 429 | rate_limited |
The visitor limit was reached. Retry after 60 seconds. |
| 404 | not_found |
The NFT did not exist at the indexed block. |
| 503 | upstream_error |
The NFT’s existence could not be confirmed. |
Example request#
curl https://marketplace.example/v1/collections/1/0x4a8b01e437c65fa8612e8b699266c0e0a98ff65c/tokens/344const response = await fetch("https://marketplace.example/v1/collections/1/0x4a8b01e437c65fa8612e8b699266c0e0a98ff65c/tokens/344");
const result = await response.json();Example response#
{
"tokenId": "344",
"owner": "0x1111111111111111111111111111111111111111",
"observedAtBlock": 26555629,
"name": null,
"traits": [
{
"type": "Background",
"value": "Blueberry"
},
{
"type": "Clothing",
"value": "Suit"
},
…
],
"ask": null,
"pools": [],
"poolAsk": null,
"checkoutPoolAsk": null,
"venueBid": null,
"signedOffer": null
}GET /v1/collections/:chainId/:collection/traits#
Read the stored trait map and its read progress.
Path and query parameters#
| Name | Type | Required | Meaning | Default | Limits |
|---|---|---|---|---|---|
chainId |
integer | Yes | NFT chain ID. | — | 1 for this API. |
collection |
address | Yes | Selected Ethereum ERC-721 contract. | — | 20 bytes, 0x prefix. |
Response fields#
| Field | Type | Meaning |
|---|---|---|
object, chainId, collection |
string, integer and address | Resource type and identity. |
asOf |
integer | Observation time in Unix milliseconds. |
tokens |
object | Token IDs mapped to arrays of traits. |
read, pending, failed |
integers | Metadata processing counts. |
Cache. Cache-Control: no-store.
Limit. None specific. Reads the stored book.
Errors#
| Status | Code | Meaning |
|---|---|---|
| 400 | invalid_request |
A path, query or body field failed validation. |
| 404 | not_found |
The collection, feed or venue is unavailable on this site. |
Example request#
curl https://marketplace.example/v1/collections/1/0x4a8b01e437c65fa8612e8b699266c0e0a98ff65c/traitsconst response = await fetch("https://marketplace.example/v1/collections/1/0x4a8b01e437c65fa8612e8b699266c0e0a98ff65c/traits");
const result = await response.json();Example response#
{
"object": "traits",
"chainId": 1,
"collection": "0x4a8b01e437c65fa8612e8b699266c0e0a98ff65c",
"asOf": 1796384887330,
"tokens": {
"4": [
[
"Tribe",
"Mouse"
],
[
"Background",
"Blueberry"
],
…
],
"48": [
[
"Tribe",
"Dog"
],
[
"Background",
"Apple"
],
…
],
…
},
"read": 398,
"pending": 0,
"failed": 0
}GET /v1/collections/:chainId/:collection/opensea-listings#
Page OpenSea’s current listing feed through the operator’s key. The feed requests up to 100 rows per page.
Path and query parameters#
| Name | Type | Required | Meaning | Default | Limits |
|---|---|---|---|---|---|
chainId |
integer | Yes | NFT chain ID. | — | 1 for this API. |
collection |
address | Yes | Selected Ethereum ERC-721 contract. | — | 20 bytes, 0x prefix. |
cursor |
string | No | Continuation returned by the previous page. | First page. | At most 2048 characters. |
Response fields#
| Field | Type | Meaning |
|---|---|---|
chainId, collection |
integer and address | Collection identity. |
data |
array | Listing ID, source, token ID, maker, currency, price, taker and fee amounts, and expiry. variablePrice marks a changing price. |
nextCursor |
string or null | OpenSea continuation. |
Cache. Cache-Control: no-store.
Limit. Chain reads, 60 per minute per visitor.
Errors#
| Status | Code | Meaning |
|---|---|---|
| 400 | invalid_request |
A path, query or body field failed validation. |
| 404 | not_found |
The collection, feed or venue is unavailable on this site. |
| 429 | rate_limited |
The visitor limit was reached. Retry after 60 seconds. |
| 502 | upstream_error |
OpenSea could not return this listing page. |
Example request#
curl https://marketplace.example/v1/collections/1/0x4a8b01e437c65fa8612e8b699266c0e0a98ff65c/opensea-listingsconst response = await fetch("https://marketplace.example/v1/collections/1/0x4a8b01e437c65fa8612e8b699266c0e0a98ff65c/opensea-listings");
const result = await response.json();Example response#
{
"chainId": 1,
"collection": "0x4a8b01e437c65fa8612e8b699266c0e0a98ff65c",
"data": [
{
"id": "opensea:0xe2bc2e89fb0231bafbe7c8c9ad32d6fddacfed8084f93154ef6f5ca92d85b742",
"source": "opensea",
"tokenId": "1896",
"maker": "0xfb6cf476f17a9f17732e365acac74cee679d5904",
"currency": "ETH",
"priceWei": "1400000000000000",
"takerWei": "1400000000000000",
"feeWei": "0",
"expiresAt": 1796385284
},
…
],
"nextCursor": null
}