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.
Early development
/r/parents/<INSCRIPTION_ID> and paginated parent-ID routes on 22 May. They 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. Parent recursion PR · 0.19.0 release · Inscription provenance/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/<QUERY> merged through PR #4563 after issue #4562 proposed exposing a complete serialized block to recursive inscriptions. Proposal · Merged implementationMerge, 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.
Locate the earliest mainnet inscriptions that used recursive endpoints and distinguish demonstrations from sustained production use.
Complete the endpoint chronology for the remaining recursive namespace. Parent-ID and parent-detail routes are now dated separately; the same merge-versus-release treatment should be applied to children, metadata, delegation, sat and UTXO routes.