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

# Script JSON

`GET /scripts/{script_hash}/json`

JSON representation of a `timelock` script

## Path parameters

- `script_hash` string, required

## Response `200`

Return the JSON representation of a `timelock` script

- ScriptJson
  - `json` union, required — JSON contents of the `timelock` script, null for `plutus` scripts
    - string
    - object
    - unknown[]
      - unknown
    - integer
    - number
    - boolean

## 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)
