Ordinal recursion is the mechanism by which an inscription can access a whitelisted set of resources exposed by ord server despite the normal inscription sandbox. Recursive endpoints can return other inscription content, inscription metadata and relationships, sat and UTXO data, transactions, and selected Bitcoin block data. Current recursion documentation — first-party repository
Compatibility contract
The ord documentation gives recursive endpoints stronger compatibility promises than ordinary server routes:
- recursive endpoints will not be removed;
- existing object fields will not be renamed or change type;
- new fields may be added and fields may be reordered.
Clients therefore need to tolerate unfamiliar fields and must not depend on JSON field order. Current recursion documentation
That promise matters because an inscription may be immutable while the software serving it continues to evolve.
Endpoint map
Shared inscription content
| Endpoint | Returns | What it enables |
|---|---|---|
/content/<INSCRIPTION_ID> |
Raw content of another inscription | Shared code, images, audio, stylesheets, fonts and other reusable resources. |
This is the primitive behind much of Ordinals Public Goods. An HTML inscription can load a dependency by inscription ID instead of embedding another copy of the same resource.
Bitcoin block data
| Endpoint | Returns | What it enables |
|---|---|---|
/r/block/<QUERY> |
Complete serialized Bitcoin block, queried by height or hash, hex encoded | Local block and transaction decoding inside an inscription. |
/r/blockhash |
Latest block hash | Tip-aware applications. |
/r/blockhash/<HEIGHT> |
Block hash at a given height | Height-to-hash resolution. |
/r/blockheight |
Latest block height | Current-chain-height logic. |
/r/blockinfo/<QUERY> |
Structured block information for a height or hash | Fee, size, difficulty and other block-level applications without decoding the full block. |
/r/blocktime |
Latest block header timestamp | Time-aware interfaces, with the usual limits described at Bitcoin time. |
The raw-block endpoint is the important boundary here. It exposes the serialized block itself instead of only selected pre-interpreted fields. A recursive application can decode transactions locally and apply its own higher-level rules.
Inscription relationships and content
| Endpoint | Returns | What it enables |
|---|---|---|
/r/children/<INSCRIPTION_ID> |
First 100 child inscription IDs | Parent-child collection discovery. |
/r/children/<INSCRIPTION_ID>/<PAGE> |
A page of 100 child IDs | Large collection pagination. |
/r/children/<INSCRIPTION_ID>/inscriptions |
Details for first 100 child inscriptions | Rich child browsers without one request per child. |
/r/children/<INSCRIPTION_ID>/inscriptions/<PAGE> |
Paginated child details | Large hierarchy traversal. |
/r/parents/<INSCRIPTION_ID> |
First 100 parent inscription IDs | Reverse provenance traversal. |
/r/parents/<INSCRIPTION_ID>/<PAGE> |
A page of parent IDs | Multi-parent pagination. |
/r/parents/<INSCRIPTION_ID>/inscriptions |
Details for first 100 parent inscriptions | Rich ancestry interfaces. |
/r/parents/<INSCRIPTION_ID>/inscriptions/<PAGE> |
Paginated parent details | Larger ancestry graphs. |
/r/inscription/<INSCRIPTION_ID> |
Structured information about an inscription | Index-aware inscription applications. |
/r/metadata/<INSCRIPTION_ID> |
Hex-encoded CBOR metadata in JSON | Metadata-aware rendering and application logic. |
/r/undelegated-content/<INSCRIPTION_ID> |
The target inscription's own content rather than delegated content | Inspection of the original body behind delegation. |
These routes turn Inscription provenance and Inscription delegation into queryable application primitives rather than facts that only an explorer UI can display.
Sat-indexed data
The following routes require the server to run with --index-sats:
| Endpoint | Returns | What it enables |
|---|---|---|
/r/sat/<SAT_NUMBER> |
First 100 inscription IDs on a sat | Sat-centric inscription discovery. |
/r/sat/<SAT_NUMBER>/<PAGE> |
Paginated inscription IDs | Reinscription histories on heavily used sats. |
/r/sat/<SAT_NUMBER>/at/<INDEX> |
Inscription ID at a positive or negative index | First/latest/Nth inscription lookup. |
/r/sat/<SAT_NUMBER>/at/<INDEX>/content |
Content of the indexed inscription | Direct content selection from a sat's inscription stack. |
The current documentation says <SAT_NUMBER> is the actual numeric sat number, not degree, percentile or decimal notation.
Transaction and UTXO data
| Endpoint | Returns | What it enables |
|---|---|---|
/r/tx/<TRANSACTION_ID> |
Serialized transaction hex | Local Bitcoin transaction decoding. |
/r/utxo/<OUTPOINT> |
UTXO value plus indexed inscriptions, runes and sat ranges when the corresponding indices are available | Asset-aware UTXO inspection and ownership-state interfaces. |
The transaction endpoint carries the same backwards-compatibility intent as /r/block if Bitcoin serialization ever changes incompatibly.
Legacy plain-text shortcuts
For backwards compatibility, the documentation also lists plain-text routes:
/blockheight/blockhash/blockhash/<HEIGHT>/blocktime
New work should understand that these coexist with the /r/ JSON-oriented namespace rather than treating them as identical response formats.
What recursion makes possible
The official documentation names remixing, shared code and assets, generative art, and layered image composition as examples. The capability has since grown into a broader application substrate. Current recursion documentation
- Reusable on-chain software
- Libraries such as Three.js and other Ordinals Public Goods can be addressed once and reused by many inscriptions.
- Chain-native applications
/r/blockand/r/txlet an inscription decode Bitcoin structures locally rather than depending on an application-specific JSON API.
- Provenance-aware interfaces
- Parent and child endpoints let applications navigate provenance directly.
- Sat-aware experiences
- With a sat index, an application can react to inscription stacks and specific sat identities.
- Delegated content systems
- The recursive namespace exposes both normal content resolution and undelegated content, allowing applications to inspect delegation explicitly.
The result is a dependency graph. An inscription can be immutable while still depending on other immutable inscriptions and on stable recursive interfaces supplied by ord server.
Proposals are not endpoints
The ordinary explorer surface and the recursive namespace overlap, but they are not the same thing. A capability visible on an ord server page does not automatically mean an inscription can call it recursively. BOMB therefore records proposal, implementation, merge, release and deployment as separate states.
Address data remains an open recursion problem
On 26 February 2024, Casey Rodarmor opened ord issue #3173 requesting a paginated recursive endpoint for the inscriptions held by an address. A later commenter explicitly noted that the ordinary GET /address/<ADDRESS> route had appeared while a recursive equivalent had not. The issue remains open as of 28 September 2026. Open address-recursion issue
On 12 February 2026, Bitoshi Blockamoto opened the “Recursion Improvement Proposal” discussion #4480, widening that idea into a proposed family: /r/address/<address>, plus narrower /sats, /tx and /inscriptions forms. The same discussion proposed block-transaction, block-inscription, properties, gallery, metaprotocol and self-inscription routes. These are proposal records, not evidence that the endpoints shipped. The current recursion documentation still does not list an /r/address route. Recursion Improvement Proposal · Current recursion documentation
The raw-block endpoint grew out of a narrower proposal
Discussion #4480 originally proposed /r/block/<height-or-hash>/tx, returning the transactions in a block. Dave4506 opened PR #4496 for that route on 10 March 2026. The PR remains open and unmerged as of 1 October 2026. Open block-transactions PR
On 5 September 2026, Blockamoto argued in that PR that returning the complete block hex would be a more general primitive: a caller could decode transactions locally and avoid fetching every transaction again through /r/tx. The next day, issue #4562 proposed /r/block/<QUERY> with a tested implementation. Casey then implemented and merged PR #4563 on 12 September. Design-shift comment · Raw-block proposal · Merged raw-block implementation
The evidence supports a design progression from a server-selected transaction list toward a lower-level raw-block primitive. It does not prove that PR #4496 was formally rejected or superseded: that PR is still open. BOMB therefore records the generalization without inventing a maintainer decision that the public record does not contain.
Early development
3a4575b2a8fe6e7968146f290d494c2346d40ff692314050babcaa7268347f4bi0 through /content/ as the JSNES emulator and licence, then loaded separately inscribed application code, stylesheet and artwork around the game ROM. This is contemporary evidence of recursion being used as a modular application mechanism within days of the first recursion documentation, not merely proposed as an abstract capability. Contemporary creator walkthrough · Ordinals Public Goods/r/metadata/<INSCRIPTION_ID> on 1 November; it shipped in ord 0.11.0 on 7 November. This separated inscription metadata from inscription content as a recursively queryable object. Metadata recursion PR · 0.11.0 releaseord 0.12.0 the next day. The same 0.12.0 release also shipped PR #2431, the first /r/children/<INSCRIPTION_ID> recursive endpoint. Sat stacks and parent-child descendants therefore became first-class recursive address spaces in the same tagged release. Sat recursion PR · Children recursion PR · 0.12.0 release/r/inscription/<INSCRIPTION_ID> on 21 February and shipped in ord 0.16.0 on 11 March. Recursive inscriptions could now request structured inscription details rather than only content, metadata or relationship lists. Inscription-details PR · 0.16.0 release/r/parents/<INSCRIPTION_ID> and paginated parent-ID routes on 22 May. PR #3771 followed on 30 May with richer child-inscription responses instead of IDs alone. Both shipped in ord 0.19.0 on 9 July. This came after multi-parent indexing itself, which had shipped in 0.17.0, so provenance could be indexed before inscriptions had a recursive reverse-ancestry endpoint, and child IDs were recursively available before richer child objects. Parent recursion PR · Rich child recursion PR · 0.19.0 release · Inscription provenance/r/undelegated-content/<INSCRIPTION_ID> and shipped the same day in ord 0.21.2. A delegated inscription could now recursively recover its own original body rather than only the content selected by its delegate. Undelegated-content PR · 0.21.2 release · Inscription delegation/r/utxo/<OUTPOINT> and shipped the same day in ord 0.22.1. This extended recursion from inscription- and sat-centric queries to an unspent-output view that can expose value and indexed assets. The route was later moved into the dedicated recursive module by PR #4287 on 21 March 2025, a code-organization change that shipped in 0.23.0 rather than the route's introduction. UTXO recursion PR · 0.22.1 release · Recursive-module move/r/sat/<SAT_NUMBER>/at/<INDEX>/content on 24 January, letting a recursive caller fetch the content of a particular inscription in a sat's stack directly. Three days later, PR #4147 merged /r/tx/<TRANSACTION_ID>, a proxy to Bitcoin Core raw transaction hex. Both shipped in ord 0.22.2 on 27 January. Sat-content PR · Raw-transaction PR · 0.22.2 release/r/parents/<ID>/inscriptions and its paginated form, on 17 February. They shipped in ord 0.23.0 on 31 March. Parent IDs and parent details therefore have distinct endpoint histories. Direct repository record · 0.23.0 release/r/block/<height-or-hash>/tx. Proposal discussion · Block-transactions PR/r/block/<QUERY> through PR #4563 on 12 September. Design-shift comment · Proposal and implementation record · Merged implementationThe sequence is revealing: recursion did not arrive as today's endpoint set in one release. It accumulated in layers: shared resources and chain-tip primitives first, then metadata, sats and children, then structured inscription details, richer provenance and delegation inspection, then raw transaction and UTXO access, and finally complete serialized blocks. For historical claims, “recursion existed” is therefore less precise than naming the endpoint and the ord release that actually exposed it.
Merge, release and deployment
As of 26 September 2026, the repository's latest tagged release is still ord 0.29.0 from 5 August 2026. The raw-block endpoint merged on 12 September, so it exists on master but is not yet in a tagged release. Latest tagged release · Merge record
A server operator can run master or a custom build, so merge status, release status and live deployment remain separate claims.
Relevance to Bitmap
Bitmap derives Districts from blocks and Parcels from transactions. Raw block recursion gives an inscription a route to fetch the source Bitcoin block and decode transaction structure locally.
That changes the available infrastructure, not the Bitmap standard. Bitmap validity remains a separate application-layer rule system.
Open research
When the first post-0.29.0 tagged ord release appears, verify which of the current master recursive endpoints ship in that release.
Push the early-use chronology earlier than the documented 20 June 2023 JSNES/NES demonstration if primary records survive, and distinguish one-off demonstrations from sustained production use.
Complete the remaining early chronology for the chain-tip family (
/r/blockhash, /r/blockheight, /r/blockinfo, /r/blocktime) and the original shared /content/<INSCRIPTION_ID> route. The archive now dates metadata, sat, child, inscription-detail, parent, delegation, UTXO and raw-transaction recursion separately.Track issue #3173 and discussion #4480 for any eventual
/r/address implementation. Do not treat the ordinary explorer address route as recursive until a recursive route is actually merged and documented.