---
updatedAt: 2025-11-12T01:02:10.000Z
agentTools:
  projectIndex: https://docs.blockberry.one/llms.txt
---

# getObjectMetadata

Get the metadata (type, name, image, project name and image, etc.) of the queried object: NFT, package, domain NFT, pool, or coin.

# OpenAPI definition

```json
{
  "openapi": "3.0.1",
  "info": {
    "title": "Iota mainnet API",
    "description": "The Iota Blockchain API is used to retrieve Iota Blockchain data. In order to execute queries you need to get API Key and use it in header 'x-api-key'. However, before that you need to sign up on the explorer or company website. If an account is created on the website <strong>https://staketab.com/</strong> or <strong>https://suiscan.xyz/</strong>, the user will be granted the <strong>ROLE_USER</strong> role. After that you may fetch API KEY.",
    "termsOfService": "terms-of-service",
    "contact": {
      "name": "Staketab tech support",
      "url": "https://staketab.com/",
      "email": "support@staketab.com"
    },
    "license": {
      "name": "Apache 2.0",
      "url": "https://www.apache.org/licenses/LICENSE-2.0"
    },
    "version": "1.0.0"
  },
  "servers": [
    {
      "url": "https://api.blockberry.one/iota-testnet",
      "description": "Production"
    }
  ],
  "security": [
    {
      "x-api-key": []
    }
  ],
  "paths": {
    "/v1/metadata/objects": {
      "post": {
        "tags": [
          "Objects"
        ],
        "summary": "getObjectMetadata",
        "description": "Get the metadata (type, name, image, project name and image, etc.) of the queried object: NFT, package, domain NFT, pool, or coin.",
        "operationId": "getObjectMetadata",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ObjectMetadataSearchParams"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "*/*": {
                "schema": {
                  "type": "object",
                  "additionalProperties": {
                    "$ref": "#/components/schemas/MetadataDtoAPI"
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "MetadataDtoAPI": {
        "type": "object",
        "properties": {
          "objectType": {
            "type": "string",
            "enum": [
              "ACCOUNT",
              "COIN",
              "OBJECT",
              "DOMAIN_NFT",
              "NFT",
              "COLLECTION",
              "OTHER_OBJECT",
              "PACKAGE",
              "TRANSACTION",
              "TRANSACTION_FUNCTION",
              "TRANSACTION_MODULE",
              "POOL",
              "UNKNOWN"
            ]
          },
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "imgUrl": {
            "type": "string"
          },
          "symbol": {
            "type": "string"
          },
          "poolCoins": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PoolCoinMetadataAPI"
            }
          },
          "projectName": {
            "type": "string"
          },
          "projectImg": {
            "type": "string"
          },
          "isIndexed": {
            "type": "boolean"
          },
          "securityMessage": {
            "type": "string"
          }
        }
      },
      "PoolCoinMetadataAPI": {
        "type": "object",
        "properties": {
          "coinType": {
            "type": "string"
          },
          "coinSymbol": {
            "type": "string"
          },
          "imgUrl": {
            "type": "string"
          },
          "coinSeq": {
            "type": "integer",
            "format": "int32"
          },
          "securityMessage": {
            "type": "string"
          },
          "hasNoMetadata": {
            "type": "boolean"
          }
        }
      },
      "ObjectMetadataSearchParams": {
        "required": [
          "hashes"
        ],
        "type": "object",
        "properties": {
          "hashes": {
            "type": "array",
            "description": "Enter part or full object digest (hash) to get its metadata.",
            "example": "0x04b72fda6c0560886fb9ff90276842097c0e953e5211612cc3cd03de26b562db",
            "items": {
              "type": "string",
              "description": "Enter part or full object digest (hash) to get its metadata.",
              "example": "0x04b72fda6c0560886fb9ff90276842097c0e953e5211612cc3cd03de26b562db"
            }
          }
        }
      }
    },
    "securitySchemes": {
      "x-api-key": {
        "type": "apiKey",
        "name": "x-api-key",
        "in": "header"
      }
    }
  },
  "x-readme": {
    "explorer-enabled": true,
    "proxy-enabled": true
  }
}
```