Floor API

Get list of supported NFT collections

## Request
curl -X "GET" "https://oracle-api.banksea.finance/moonbeam/v1/floor_price/list" \
     -H 'x-api-key: test-api-key' \
     -H 'Content-Type: application/json; charset=utf-8'
  • Interface: /moonbeam/v1/floor_price/list

  • Method: GET

  • Data Format: JSON

  • Response Data:

FieldTypeDescription

collection

String

The NFT collection.

name

String

The name of the NFT collection.

address_contract

String

The contract address of the NFT collection.

  • Response Example:

    {
        "success": true,
        "code": "200",
        "message": "success",
        "data": [
            {
                "collection": "beanies",
                "name": "BEANS NFT",
                "address_contract": "0xd3A9c48Df4d9342dc1A0EE2c185CE50588729Fa9"
            }
        ]
    }

Get NFT collection AI floor price

## Request
curl -X "POST" "https://oracle-api.banksea.finance/moonbeam/v1/floor_price" \
     -H 'x-api-key: test-api-key' \
     -H 'Content-Type: application/json; charset=utf-8' \
     -d $'{
    "collection":"beanies"
}'
  • Interface: /moonbeam/v1/floor_price

  • Method: POST

  • Data Format: JSON

  • Request Parameter:

ParameterTypeRequiredDescription

collection

String

Y

The NFT collection.

  • Request Example:

    {
        "collection":"beanies"
    }
  • Response Data:

FieldTypeDescription

floor_price

Number

The floor price.

avg_price_24hr

Number

The avg price of the collection over the past 24 hours.

ai_floor_price

Number

The AI floor price.

timestamp

Number

timestamp

  • Response Example:

    {
        "success": true,
        "code": "200",
        "message": "success",
        "data": {
            "timestamp": 1664334000,
            "floor_price": 22.000000,
            "avg_price_24hr": null,
            "ai_floor_price": 23.697200
        }
    }

Get NFT collection AI floor price history

## Request
curl -X "POST" "https://oracle-api.banksea.finance/moonbeam/v1/floor_price/history" \
     -H 'x-api-key: test-api-key' \
     -H 'Content-Type: application/json; charset=utf-8' \
     -d $'{
    "collection":"beanies"
}'
  • Interface: /moonbeam/v1/floor_price/history

  • Method: POST

  • Data Format: JSON

  • Request Parameter:

ParameterTypeRequiredDescription

collection

String

Y

The NFT collection.

  • Request Example:

    {
        "collection":"beanies"
    }
  • Response Data:

FieldTypeDescription

floor_price

Number

The floor price.

avg_price_24hr

Number

The avg price of the collection over the past 24 hours.

ai_floor_price

Number

The AI floor price.

timestamp

Number

timestamp

  • Response Example:

    {
        "success": true,
        "code": "200",
        "message": "success",
        "data": [
            {
                "timestamp": 1664327439,
                "floor_price": 22.000000,
                "avg_price_24hr": null,
                "ai_floor_price": 24.380500
            },
            {
                "timestamp": 1664334000,
                "floor_price": 22.000000,
                "avg_price_24hr": null,
                "ai_floor_price": 23.697200
            }
        ]
    }

Last updated