Blockfrost · JSON Structure

Blockfrost Drep Metadata Structure

drep_metadata schema from Blockfrost API

Type: object Properties: 7 Required: 6
BlockchainCardanoCryptocurrencyDAppsNFTWeb3

drep_metadata is a JSON Structure definition published by Blockfrost, describing 7 properties, of which 6 are required. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

drep_id hex url hash json_metadata bytes error

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/blockfrost/refs/heads/main/json-structure/blockfrost-drep-metadata-structure.json",
  "name": "drep_metadata",
  "description": "drep_metadata schema from Blockfrost API",
  "required": [
    "drep_id",
    "hex",
    "url",
    "hash",
    "json_metadata",
    "bytes"
  ],
  "type": "object",
  "properties": {
    "drep_id": {
      "description": "Bech32 encoded addresses",
      "type": "string"
    },
    "hex": {
      "description": "The raw bytes of the DRep",
      "type": "string"
    },
    "url": {
      "description": "URL to the drep metadata",
      "type": "string"
    },
    "hash": {
      "description": "Hash of the metadata file",
      "type": "string"
    },
    "json_metadata": {
      "description": "Content of the JSON metadata (validated CIP-119)",
      "anyOf": [
        {
          "type": "string"
        },
        {
          "additionalProperties": true,
          "type": "object"
        },
        {
          "type": "array",
          "items": {}
        },
        {
          "type": "int32"
        },
        {
          "type": "double"
        },
        {
          "type": "boolean"
        },
        {
          "type": "null"
        }
      ]
    },
    "bytes": {
      "description": "Content of the metadata (raw)",
      "type": "string"
    },
    "error": {
      "description": "Present when metadata could not be fetched or validated.",
      "required": [
        "code",
        "message"
      ],
      "type": "object",
      "properties": {
        "code": {
          "description": "Stable machine-readable error code.",
          "enum": [
            "HASH_MISMATCH",
            "CONNECTION_ERROR",
            "HTTP_RESPONSE_ERROR",
            "DECODE_ERROR",
            "SIZE_EXCEEDED",
            "UNKNOWN_ERROR"
          ],
          "type": "string"
        },
        "message": {
          "description": "Human-readable description of the error.",
          "type": "string"
        }
      }
    }
  }
}

Work with this as data

Every JSON Structure here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for json structure

4 MCP tools reach this
  • find_json_structuresBrowse and filter every JSON Structure in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools

Call it yourself

curl for this page
This JSON Structure
curl "https://apis.io/api/v1/json-structures/blockfrost-drep-metadata-structure"
All json structure
curl "https://apis.io/api/v1/json-structures?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

A second provider on the same verified email joins the account you already have.