Blockfrost · JSON Structure

Blockfrost Drep Structure

drep schema from Blockfrost API

Type: object Properties: 9 Required: 9
BlockchainCardanoCryptocurrencyDAppsNFTWeb3

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

Properties

drep_id hex amount active active_epoch has_script retired expired last_active_epoch

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-structure.json",
  "name": "drep",
  "description": "drep schema from Blockfrost API",
  "required": [
    "drep_id",
    "hex",
    "amount",
    "active",
    "active_epoch",
    "has_script",
    "retired",
    "expired",
    "last_active_epoch"
  ],
  "type": "object",
  "properties": {
    "drep_id": {
      "description": "Bech32 encoded DRep address",
      "type": "string"
    },
    "hex": {
      "description": "The raw bytes of the DRep",
      "type": "string"
    },
    "amount": {
      "description": "The total amount of voting power this DRep is delegated.",
      "type": "string"
    },
    "active": {
      "description": "Registration state of the DRep",
      "deprecated": true,
      "type": "boolean"
    },
    "active_epoch": {
      "description": "Epoch of the most recent registration",
      "deprecated": true,
      "type": "int32"
    },
    "has_script": {
      "description": "Flag which shows if this DRep credentials are a script hash",
      "type": "boolean"
    },
    "retired": {
      "description": "Registration state of the DRep. Set to `true` if the DRep has been deregistered; otherwise, `false`.",
      "type": "boolean"
    },
    "expired": {
      "description": "Whether the DRep has been inactive for a consecutive number of epochs (determined by a epoch parameter `drep_activity`)",
      "type": "boolean"
    },
    "last_active_epoch": {
      "description": "Epoch of the most recent action - registration, update, deregistration or voting",
      "type": "int32"
    }
  }
}

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-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.