---
title: "Script CBOR"
method: GET
path: "/scripts/{script_hash}/cbor"
tags: ["Cardano » Scripts"]
---

# Script CBOR

`GET /scripts/{script_hash}/cbor`

CBOR representation of a `plutus` script

## Path parameters

- `script_hash` string, required

## Response `200`

Return the CBOR representation of a `plutus` script

- ScriptCbor
  - `cbor` string, nullable, required — CBOR contents of the `plutus` script, null for `timelocks`

## Other responses

- `400` — Bad request
- `403` — Authentication secret is missing or invalid
- `404` — Component not found
- `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)
