---
title: "Get raw transaction hex."
method: GET
path: "/api/rawtx/{txid}"
tags: ["Transactions"]
---

# Get raw transaction hex.

`GET /api/rawtx/{txid}`

Unversioned public endpoint exposed by Blockbook for raw transaction
data.

Load estimate: Medium; payload size grows with raw transaction size.

## Path parameters

- `txid` string, required

## Response `200`

Raw transaction hex as a JSON string.

- string

## Other responses

- `default` — Public API error. Public validation errors are HTTP 400; internal errors are HTTP 500.

---

[API](https://skmtc.dev/trezor/apis/blockbook-api.md) · [All operations](https://skmtc.dev/trezor/apis/blockbook-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/trezor/blockbook-api/revisions/01c375da86bc/schema)
