Passer au contenu principal

Ordinals & Runes API Overview

Mis à jour le
Jun 18, 2026

API Ordinals & Runes

Aperçu

The Ordinals & Runes API is a marketplace add-on that provides access to Bitcoin Ordinals inscriptions and Runes fungible tokens. Quicknode exposes this API supporting both REST and JSON-RPC interfaces.

How to Access the Ordinals & Runes API

To enable the Ordinals & Runes API add-on on your Quicknode endpoint:


  1. Accédez à votre tableau de bord Quicknode
  2. Select your Bitcoin endpoint (or create a new one)
  3. Accédez à l'onglet « Extensions »
  4. Find Ordinals & Runes API in the marketplace and enable it

Once enabled, the Ordinals & Runes API is accessible via your endpoint URL using the add-on path: /addon/679/

Interfaces prises en charge

API REST

The REST API provides a familiar HTTP interface with path parameters for querying inscriptions, runes, sats, and block data.

Chemin d'accès de base : /addon/679/

informations

Le Accept: application/json header is required for all REST API requests.

Exemple :

curl -X GET \
"https://YOUR_QUICKNODE_ENDPOINT_HERE.com/addon/679/status" \
-H "Accept: application/json"

API JSON-RPC

The JSON-RPC API wraps Ordinals methods behind standard JSON-RPC calls (e.g., ord_getInscription, ord_getRune). Cela s'avère utile si votre application utilise déjà JSON-RPC pour d'autres interactions avec la blockchain.

Exemple :

curl -X POST \
"https://YOUR_QUICKNODE_ENDPOINT_HERE.com" \
-H "Content-Type: application/json" \
--data '{"method":"ord_getBlockHash","params":["800000"],"id":1,"jsonrpc":"2.0"}'

Mappage des méthodes REST vers RPC

Point de terminaison RESTMéthode JSON-RPC
GET /collections/{page}ord_getCollections
GET /content/{inscription_id}ord_getContent
GET /inscription/{inscription_id}ord_getInscription
GET /inscriptions/{page}ord_getInscriptions
GET /inscriptions/block/{blockheight}/{page}ord_getInscriptionsByBlock
GET /output/{outpoint}ord_getOutput
GET /r/blockhashord_getCurrentBlockHash
GET /r/blockhash/{blockheight}ord_getBlockHash
GET /r/blockheightord_getCurrentBlockHeight
GET /r/blockinfo/{blockheight}ord_getBlockInfo
GET /r/blocktimeord_getCurrentBlockTime
GET /r/children/{inscription_id}/{page}ord_getChildren
GET /r/inscription/{inscription_id}ord_getInscriptionRecursive
GET /r/metadata/{inscription_id}ord_getMetadata
GET /r/sat/{sat}/at/{index}ord_getSatAtIndex
GET /r/sat/{sat}/{page}ord_getSatRecursive
GET /rune/{runeid}ord_getRune
GET /runes/{page}ord_getRunes
GET /sat/{sat}ord_getSat
GET /statusord_getStatus
GET /tx/{txid}ord_getTx

On adore les commentaires !

Si vous avez des commentaires ou des questions concernant cette documentation, faites-le nous savoir. Nous serions ravis de vous entendre !

Partager ce document