---
title: "SearchMetadata"
method: POST
path: "/rpc/Metadata/SearchMetadata"
deprecated: true
---

# SearchMetadata

`POST /rpc/Metadata/SearchMetadata`

> **Deprecated.**

Deprecated: Use SearchTokens() and SearchContracts() instead.

## Request body

- MetadataSearchMetadataRequest
  - `filter` string
  - `chainID` string
  - `types` ContractType[] — []ContractType
  - `excludeTokenMetadata` boolean

## Response `200`

OK

- MetadataSearchMetadataResponse
  - `tokenMetadata` TokenMetadata[] — []TokenMetadata
    - `tokenId` string, required
    - `name` string, required
    - `description` string
    - `image` string
    - `video` string
    - `audio` string
    - `properties` object — map<string,any>
    - `attributes` object[], required — []map<string,any>
    - `imageData` string
    - `externalUrl` string
    - `backgroundColor` string
    - `animationUrl` string
    - `decimals` number
    - `updatedAt` string
    - `assets` Asset[] — []Asset
      - `id` number, required
      - `collectionId` number, required
      - `tokenId` string
      - `url` string
      - `metadataField` string, required
      - `filename` string
      - `filesize` number
      - `mimeType` string
      - `width` number
      - `height` number
      - `updatedAt` string
    - `status` 'NOT_AVAILABLE' | 'STALE' | 'AVAILABLE', required — Represented as uint32 on the server side
    - `queuedAt` string
    - `lastFetched` string
  - `contractInfo` ContractInfo[] — []ContractInfo
    - `chainId` number, required
    - `address` string, required
    - `name` string, required
    - `type` string, required
    - `symbol` string, required
    - `decimals` number
    - `logoURI` string, required
    - `deployed` boolean, required
    - `bytecodeHash` string, required
    - `extensions` ContractInfoExtensions, required
      - `link` string, required
      - `description` string, required
      - `categories` string[], required — []string
      - `ogImage` string, required
      - `ogName` string, required
      - `originChainId` number, required
      - `originAddress` string, required
      - `blacklist` boolean, required
      - `verified` boolean, required
      - `verifiedBy` string, required
      - `featured` boolean, required
    - `contentHash` number, required
    - `updatedAt` string, required
    - `notFound` boolean, required
    - `queuedAt` string
    - `status` 'NOT_AVAILABLE' | 'STALE' | 'AVAILABLE', required — Represented as uint32 on the server side

## Other responses

- `4XX` — Client error
- `5XX` — Server error

---

[API](https://skmtc.net/sequence/apis/analytics-api.md) · [All operations](https://skmtc.net/sequence/apis/analytics-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/sequence/analytics-api/versions/12db1459a050/schema)
