---
title: "DRep metadata"
method: GET
path: "/governance/dreps/{drep_id}/metadata"
tags: ["Cardano » Governance"]
---

# DRep metadata

`GET /governance/dreps/{drep_id}/metadata`

DRep metadata information.

## Path parameters

- `drep_id` string, required

## Response `200`

Return the DRep metadata content.

- DrepMetadata
  - `drep_id` string, required — Bech32 encoded addresses
  - `hex` string, required — The raw bytes of the DRep
  - `url` string, required — URL to the drep metadata
  - `hash` string, required — Hash of the metadata file
  - `json_metadata` union, required — Content of the JSON metadata (validated CIP-119)
    - string
    - object
    - unknown[]
      - unknown
    - integer
    - number
    - boolean
  - `bytes` string, nullable, required — Content of the metadata (raw)
  - `error` object — Present when metadata could not be fetched or validated.
    - `code` 'HASH_MISMATCH' | 'CONNECTION_ERROR' | 'HTTP_RESPONSE_ERROR' | 'DECODE_ERROR' | 'SIZE_EXCEEDED' | 'UNKNOWN_ERROR', required — Stable machine-readable error code.
    - `message` string, required — Human-readable description of the error.

## Other responses

- `400` — Bad request
- `403` — Authentication secret is missing or invalid
- `418` — IP has been auto-banned for extensive sending of requests after usage limit has been reached
- `429` — Usage limit reached
- `500` — Internal Server Error

---

[API](https://skmtc.net/txpipe/apis/blockfrost-io-api-documentation.md) · [All operations](https://skmtc.net/txpipe/apis/blockfrost-io-api-documentation/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/txpipe/blockfrost-io-api-documentation/revisions/4a2f67b16876/schema)
