{"openapi":"3.1.0","info":{"title":"Ravencoin On-Chain API","version":"1.0.0","description":"Live on-chain data from the Ravencoin (RVN) blockchain — a UTXO chain purpose-built for issuing and transferring digital assets and tokens, secured by the ASIC-resistant KAW-POW proof-of-work — via the public Trezor Blockbook explorer, clean JSON and no cache. Read the chain state (best block height, difficulty, sync status and node version); fetch a block by height or hash; look up an address's RVN balance, total received and sent and transaction count; or resolve a transaction's block, value, fee and confirmations. Read live from Ravencoin, nothing stored. This is Ravencoin's own KAW-POW asset-chain UTXO ledger — distinct from the Bitcoin, Dash, Decred, Nervos and other on-chain APIs and from price feeds: the RVN network built for tokenisation.","contact":{"name":"PremiumApi","url":"https://www.oanor.com/by/premiumapi"}},"servers":[{"url":"https://api.oanor.com/ravencoin-api","description":"oanor gateway"}],"tags":[{"name":"Network"},{"name":"Block"},{"name":"Address"},{"name":"Transaction"},{"name":"Meta"}],"components":{"securitySchemes":{"oanorKey":{"type":"apiKey","in":"header","name":"x-oanor-key","description":"Get your key at https://www.oanor.com/developer/keys"}}},"security":[{"oanorKey":[]}],"paths":{"/v1/network":{"get":{"operationId":"get_v1_network","tags":["Network"],"summary":"Chain state — best block, difficulty, sync status, node version","description":"","parameters":[],"security":[{"oanorKey":[]}],"responses":{"200":{"description":"OK","content":{"application/json":{"example":{"data":{"chain":"ravencoin","model":"UTXO (asset chain)","source":"Ravencoin (Blockbook)","in_sync":true,"consensus":"KAW-POW (ASIC-resistant PoW)","best_block":4405363,"difficulty":25510.37817996068,"native_token":"RVN","node_version":"4060100","backend_blocks":4405371,"node_subversion":"/Ravencoin:4.6.1/"},"meta":{"timestamp":"2026-06-10T22:58:17.946Z","request_id":"d000ebf6-885d-478e-a1bf-f3dd71f8541f"},"status":"ok","message":"Network state retrieved successfully","success":true}}}},"401":{"description":"Missing or invalid x-oanor-key header"},"402":{"description":"Active subscription required"},"429":{"description":"Rate-limit or monthly quota reached"},"502":{"description":"Upstream did not respond"}}}},"/v1/block":{"get":{"operationId":"get_v1_block","tags":["Block"],"summary":"A block by height or hash","description":"","parameters":[{"name":"height","in":"query","required":false,"description":"Block height","schema":{"type":"string"},"example":"4404000"},{"name":"hash","in":"query","required":false,"description":"Block hash (64 hex)","schema":{"type":"string"}}],"security":[{"oanorKey":[]}],"responses":{"200":{"description":"OK","content":{"application/json":{"example":{"data":{"hash":"0000000000002a2880cef1fd9f00f847fb14f103809672ba17fd620401ecd9e8","time":"2026-06-09T23:59:55.000Z","nonce":"0","height":4404000,"source":"Ravencoin (Blockbook)","version":805306368,"difficulty":22882.22316938028,"size_bytes":319,"merkle_root":"fb2954284eb9f71d03d2666a11f17482beb8a0552750622aac2c9a248264b6d4","confirmations":1372,"transaction_count":1,"previous_block_hash":"000000000001e5d49ea6f76acb00fcc4a9de06741d6517abcf255a1e2d68bc5b"},"meta":{"timestamp":"2026-06-10T22:58:18.156Z","request_id":"5cede15c-b24d-4822-8d42-e51e04954ce1"},"status":"ok","message":"Block retrieved successfully","success":true}}}},"401":{"description":"Missing or invalid x-oanor-key header"},"402":{"description":"Active subscription required"},"429":{"description":"Rate-limit or monthly quota reached"},"502":{"description":"Upstream did not respond"}}}},"/v1/address":{"get":{"operationId":"get_v1_address","tags":["Address"],"summary":"An address's RVN balance, received, sent and tx count","description":"","parameters":[{"name":"address","in":"query","required":true,"description":"Ravencoin address (mainnet starts with R)","schema":{"type":"string"},"example":"RDxu6pcK5HwwRTk5z9eM8E6fXGRbBu3V88"}],"security":[{"oanorKey":[]}],"responses":{"200":{"description":"OK","content":{"application/json":{"example":{"data":{"source":"Ravencoin (Blockbook)","address":"RDxu6pcK5HwwRTk5z9eM8E6fXGRbBu3V88","sent_rvn":3999859.23377731,"balance_rvn":57992427.38055902,"received_rvn":61992286.61433633,"transaction_count":41169,"unconfirmed_balance_rvn":0},"meta":{"timestamp":"2026-06-10T22:58:18.349Z","request_id":"419d7681-f106-4e2b-8eee-a1dd50773efc"},"status":"ok","message":"Address retrieved successfully","success":true}}}},"401":{"description":"Missing or invalid x-oanor-key header"},"402":{"description":"Active subscription required"},"429":{"description":"Rate-limit or monthly quota reached"},"502":{"description":"Upstream did not respond"}}}},"/v1/transaction":{"get":{"operationId":"get_v1_transaction","tags":["Transaction"],"summary":"A transaction's value, fee, counts and confirmations","description":"","parameters":[{"name":"txid","in":"query","required":true,"description":"Transaction id (64 hex)","schema":{"type":"string"},"example":"fb2954284eb9f71d03d2666a11f17482beb8a0552750622aac2c9a248264b6d4"}],"security":[{"oanorKey":[]}],"responses":{"200":{"description":"OK","content":{"application/json":{"example":{"data":{"txid":"fb2954284eb9f71d03d2666a11f17482beb8a0552750622aac2c9a248264b6d4","source":"Ravencoin (Blockbook)","fee_rvn":0,"value_rvn":1250,"block_time":"2026-06-09T23:59:55.000Z","size_bytes":198,"input_count":1,"block_height":4404000,"output_count":2,"value_in_rvn":0,"confirmations":1364},"meta":{"timestamp":"2026-06-10T22:58:18.531Z","request_id":"b2c69fe1-133f-4733-a3bd-2158279fe0f2"},"status":"ok","message":"Transaction retrieved successfully","success":true}}}},"401":{"description":"Missing or invalid x-oanor-key header"},"402":{"description":"Active subscription required"},"429":{"description":"Rate-limit or monthly quota reached"},"502":{"description":"Upstream did not respond"}}}},"/v1/meta":{"get":{"operationId":"get_v1_meta","tags":["Meta"],"summary":"Service metadata","description":"","parameters":[],"security":[{"oanorKey":[]}],"responses":{"200":{"description":"OK","content":{"application/json":{"example":{"data":{"model":"UTXO (asset chain)","source":"Trezor Blockbook for Ravencoin (blockbook.ravencoin.org, live)","service":"ravencoin-api","consensus":"KAW-POW (ASIC-resistant PoW)","endpoints":{"GET /v1/meta":"This document.","GET /v1/block":"A block by height or hash (height=4404000 or hash=64 hex).","GET /v1/address":"An address's RVN balance, received, sent and tx count (address=R...).","GET /v1/network":"Chain state — best block, difficulty, sync status, node version.","GET /v1/transaction":"A transaction's value, fee, counts and confirmations (txid=64 hex)."},"best_block":4405363,"description":"Live on-chain data from the Ravencoin (RVN) blockchain, a UTXO chain purpose-built for issuing and transferring digital assets/tokens, secured by the ASIC-resistant KAW-POW proof-of-work, via the public Trezor Blockbook explorer. The network endpoint returns the chain state (best block height, difficulty, sync status, node version); the block endpoint returns a block by height or hash; the address endpoint returns an address's RVN balance, total received and sent and transaction count; the transaction endpoint returns a transaction's block, value, fee and confirmations. Live, no key, nothing stored. Distinct from the Bitcoin, Dash, Decred, Nervos and other on-chain APIs and from price feeds — this is Ravencoin's own KAW-POW asset-chain UTXO ledger.","native_token":"RVN","upstream_status":"ok"},"meta":{"timestamp":"2026-06-10T22:58:18.728Z","request_id":"d280da29-d1b1-4795-8d61-95ae3e67f6ad"},"status":"ok","message":"Meta","success":true}}}},"401":{"description":"Missing or invalid x-oanor-key header"},"402":{"description":"Active subscription required"},"429":{"description":"Rate-limit or monthly quota reached"},"502":{"description":"Upstream did not respond"}}}}},"x-oanor-pricing":[{"slug":"free","name":"Free","price_cents_month":0,"monthly_call_quota":850,"rps_limit":3,"hard_limit":true},{"slug":"starter","name":"Starter","price_cents_month":980,"monthly_call_quota":30000,"rps_limit":12,"hard_limit":true},{"slug":"pro","name":"Pro","price_cents_month":2700,"monthly_call_quota":155000,"rps_limit":28,"hard_limit":true},{"slug":"business","name":"Business","price_cents_month":6400,"monthly_call_quota":780000,"rps_limit":55,"hard_limit":true}],"x-oanor-marketplace-url":"https://www.oanor.com/api/ravencoin-api"}