Skip to main content
GET
/
v1
/
chains
/
{chain_name}
/
quotes
/
{contract_address}
/
stacks
Get pricing data for a list of stack ids
curl --request GET \
  --url https://api.sandbox.immutable.com/v1/chains/{chain_name}/quotes/{contract_address}/stacks
{
  "result": [
    {
      "chain": {
        "id": "eip155:13372",
        "name": "imtbl-zkevm-testnet"
      },
      "stack_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "market_stack": {
        "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"
        }
      },
      "market_collection": {
        "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"
        }
      }
    }
  ],
  "page": {
    "previous_cursor": "ewogICJ0eXBlIjogInByZXYiLAogICJpdGVtIjogewogICAgImlkIjogNjI3NTEzMCwKICAgICJjcmVhdGVkX2F0IjogIjIwMjItMDktMTNUMTc6MDQ6MTIuMDI0MTI2WiIKICB9Cn0=",
    "next_cursor": "ewogICJ0eXBlIjogInByZXYiLAogICJpdGVtIjogewogICAgImlkIjogNjI3NTEzMCwKICAgICJjcmVhdGVkX2F0IjogIjIwMjItMDktMTNUMTc6MDQ6MTIuMDI0MTI2WiIKICB9Cn0="
  }
}

Path Parameters

chain_name
string
required

The name of chain

Example:

"imtbl-zkevm-testnet"

contract_address
string
required

Contract address for collection that these stacks are on

Query Parameters

stack_id
string<uuid>[]
required

List of stack ids to get pricing data for

Required array length: 1 - 20 elements
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"

page_cursor
string

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

Example:

"ewogICJ0eXBlIjogInByZXYiLAogICJpdGVtIjogewogICAgImlkIjogNjI3NTEzMCwKICAgICJjcmVhdGVkX2F0IjogIjIwMjItMDktMTNUMTc6MDQ6MTIuMDI0MTI2WiIKICB9Cn0="

Response

200 response

Quotes for stacks result

result
object[]
required

List of quotes

page
object
required

Pagination properties