OpenSea · Schema

PriceResponse

Price information for an asset

NFTMarketplaceWeb3BlockchainTradingDigital Assets

Properties

Name Type Description
amount string Amount in the token's native units
currency string Token symbol
usd string USD equivalent
View JSON Schema on GitHub

JSON Schema

PriceResponse.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://opensea.io/schemas/PriceResponse",
  "title": "PriceResponse",
  "type": "object",
  "description": "Price information for an asset",
  "properties": {
    "amount": {
      "type": "string",
      "description": "Amount in the token's native units",
      "example": 5.5
    },
    "currency": {
      "type": "string",
      "description": "Token symbol",
      "example": "ETH"
    },
    "usd": {
      "type": "string",
      "description": "USD equivalent",
      "example": 19250
    }
  },
  "required": [
    "amount",
    "usd"
  ]
}