Ordinal Transaction Outputs

This endpoint returns detailed info on Ordinal assets (BTC, inscriptions, runes) for each output of a transaction.

  • βœ… Mempool-aware for BTC

  • πŸ”œ Ordinal data for unconfirmed transactions is coming soon.

get

Retrieve historic ordinal output info for a specific tx. It is mempool aware (btc) but runes & inscriptions will be empty for unconfirmed txs. Coming soon mempool ordinals support.

Authorizations
Path parameters
txidstring Β· regexRequired

Transaction id

Example: 6c5ffa32f6942bb82bf36239fb8a6d233c4da6f91bde81869accef2ef6be674ePattern: ^[a-fA-F0-9]{64}$
Query parameters
offsetnumberOptional
limitnumber Β· min: 25 Β· max: 25Optional
Responses
200

Default Response

application/json
get
GET /v1/ordinals/tx/{txid}/outputs HTTP/1.1
Host: api.secretkeylabs.io
x-api-key: YOUR_API_KEY
Accept: */*
{
  "total": 1,
  "offset": 1,
  "limit": 1,
  "confirmations": 1,
  "blockHeight": 1,
  "items": [
    {
      "vout": 1,
      "value": 1,
      "address": "text",
      "script": "text",
      "runes": [
        {
          "runeId": "text",
          "amount": "text",
          "divisibility": 1
        }
      ],
      "inscriptions": [
        {
          "id": "text",
          "contentType": "text"
        }
      ]
    }
  ]
}

Last updated