Skip to main content
GET
/
v1
/
chains
/
{chain_name}
/
search
/
stacks
Search NFT stacks
curl --request GET \
  --url https://api.sandbox.immutable.com/v1/chains/{chain_name}/search/stacks
{
  "result": [
    {
      "stack": {
        "stack_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
        "chain": {
          "id": "eip155:13372",
          "name": "imtbl-zkevm-testnet"
        },
        "contract_address": "<string>",
        "contract_type": "ERC721",
        "created_at": "2022-08-16T17:43:26.991388Z",
        "updated_at": "2022-08-16T17:43:26.991388Z",
        "name": "Sword",
        "description": "2022-08-16T17:43:26.991388Z",
        "image": "https://some-url",
        "external_url": "https://some-url",
        "animation_url": "https://some-url",
        "youtube_url": "https://some-url",
        "attributes": [
          {
            "trait_type": "Aqua Power",
            "value": "Happy",
            "display_type": "number"
          }
        ]
      },
      "stack_count": 1,
      "market": {
        "floor_listing": {
          "listing_id": "018792C9-4AD7-8EC4-4038-9E05C598534A",
          "price_details": {
            "token": {
              "type": "NATIVE",
              "symbol": "IMX"
            },
            "amount": "9750000000000000000",
            "fee_inclusive_amount": "9750000000000000000",
            "fees": [
              {
                "type": "TAKER_ECOSYSTEM",
                "recipient_address": "0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92233",
                "amount": "1000000000000000000"
              }
            ],
            "converted_prices": {
              "ETH": "0.0058079775",
              "USD": "15.89"
            }
          },
          "token_id": "1",
          "contract_address": "0xe9b00a87700f660e46b6f5deaa1232836bcc07d3",
          "creator": "0xe9b00a87700f660e46b6f5deaa1232836bcc07d3",
          "amount": "1"
        },
        "top_bid": {
          "bid_id": "018792C9-4AD7-8EC4-4038-9E05C598534A",
          "price_details": {
            "token": {
              "type": "NATIVE",
              "symbol": "IMX"
            },
            "amount": "9750000000000000000",
            "fee_inclusive_amount": "9750000000000000000",
            "fees": [
              {
                "type": "TAKER_ECOSYSTEM",
                "recipient_address": "0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92233",
                "amount": "1000000000000000000"
              }
            ],
            "converted_prices": {
              "ETH": "0.0058079775",
              "USD": "15.89"
            }
          },
          "token_id": "1",
          "contract_address": "0xe9b00a87700f660e46b6f5deaa1232836bcc07d3",
          "creator": "0xe9b00a87700f660e46b6f5deaa1232836bcc07d3",
          "amount": "1"
        },
        "last_trade": {
          "trade_id": "4e28df8d-f65c-4c11-ba04-6a9dd47b179b",
          "contract_address": "0xe9b00a87700f660e46b6f5deaa1232836bcc07d3",
          "token_id": "1",
          "price_details": [
            {
              "token": {
                "type": "NATIVE",
                "symbol": "IMX"
              },
              "amount": "9750000000000000000",
              "fee_inclusive_amount": "9750000000000000000",
              "fees": [
                {
                  "type": "TAKER_ECOSYSTEM",
                  "recipient_address": "0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92233",
                  "amount": "1000000000000000000"
                }
              ],
              "converted_prices": {
                "ETH": "0.0058079775",
                "USD": "15.89"
              }
            }
          ],
          "amount": "1",
          "created_at": "2022-08-16T17:43:26.991388Z"
        }
      },
      "listings": [
        {
          "listing_id": "018792C9-4AD7-8EC4-4038-9E05C598534A",
          "price_details": {
            "token": {
              "type": "NATIVE",
              "symbol": "IMX"
            },
            "amount": "9750000000000000000",
            "fee_inclusive_amount": "9750000000000000000",
            "fees": [
              {
                "type": "TAKER_ECOSYSTEM",
                "recipient_address": "0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92233",
                "amount": "1000000000000000000"
              }
            ],
            "converted_prices": {
              "ETH": "0.0058079775",
              "USD": "15.89"
            }
          },
          "token_id": "1",
          "contract_address": "0xe9b00a87700f660e46b6f5deaa1232836bcc07d3",
          "creator": "0xe9b00a87700f660e46b6f5deaa1232836bcc07d3",
          "amount": "1"
        }
      ],
      "bids": [
        {
          "bid_id": "018792C9-4AD7-8EC4-4038-9E05C598534A",
          "price_details": {
            "token": {
              "type": "NATIVE",
              "symbol": "IMX"
            },
            "amount": "9750000000000000000",
            "fee_inclusive_amount": "9750000000000000000",
            "fees": [
              {
                "type": "TAKER_ECOSYSTEM",
                "recipient_address": "0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92233",
                "amount": "1000000000000000000"
              }
            ],
            "converted_prices": {
              "ETH": "0.0058079775",
              "USD": "15.89"
            }
          },
          "token_id": "1",
          "contract_address": "0xe9b00a87700f660e46b6f5deaa1232836bcc07d3",
          "creator": "0xe9b00a87700f660e46b6f5deaa1232836bcc07d3",
          "amount": "1"
        }
      ]
    }
  ],
  "page": {
    "previous_cursor": "ewogICJ0eXBlIjogInByZXYiLAogICJpdGVtIjogewogICAgImlkIjogNjI3NTEzMCwKICAgICJjcmVhdGVkX2F0IjogIjIwMjItMDktMTNUMTc6MDQ6MTIuMDI0MTI2WiIKICB9Cn0=",
    "next_cursor": "ewogICJ0eXBlIjogInByZXYiLAogICJpdGVtIjogewogICAgImlkIjogNjI3NTEzMCwKICAgICJjcmVhdGVkX2F0IjogIjIwMjItMDktMTNUMTc6MDQ6MTIuMDI0MTI2WiIKICB9Cn0="
  }
}

Path Parameters

chain_name
string
required

The name of chain

Example:

"imtbl-zkevm-testnet"

Query Parameters

contract_address
string[]
required

List of contract addresses to filter by

Required array length: 1 - 20 elements
account_address
string

Account address to filter by

Example:

"0xe9b00a87700f660e46b6f5deaa1232836bcc07d3"

only_include_owner_listings
boolean

Whether to the listings should include only the owner created listings

Example:

true

only_if_has_active_listings
boolean

Filters results to include only stacks that have a current active listing. False and 'null' return all unfiltered stacks.

Example:

true

traits
string

JSON encoded traits to filter by. e.g. encodeURIComponent(JSON.stringify({"rarity": {"values": ["common", "rare"], "condition": "eq"}}))

keyword
string

Keyword to search NFT name and description. Alphanumeric characters only.

Example:

"sword"

payment_token
string

Filters the active listings, bids, floor listing and top bid by the specified payment token, either the address of the payment token contract or 'NATIVE'

Example:

"NATIVE"

sort_by
enum<string>

Sort results in a specific order

Available options:
cheapest_first
page_size
integer<int32>
default:100

Number of results to return per page Maximum number of items to return

Required range: 1 <= x <= 200
Example:

10

page_cursor
string

Encoded page cursor to retrieve previous or next page. Use the value returned in the response.

Example:

"ewogICJ0eXBlIjogInByZXYiLAogICJpdGVtIjogewogICAgImlkIjogNjI3NTEzMCwKICAgICJjcmVhdGVkX2F0IjogIjIwMjItMDktMTNUMTc6MDQ6MTIuMDI0MTI2WiIKICB9Cn0="

Response

200 response

Search stacks result

result
object[]
required

List of stack bundles

page
object
required

Pagination properties