{"openapi":"3.1.0","info":{"title":"Kaspa API","version":"1.0.0","description":"Live on-chain data from Kaspa (KAS), the fastest proof-of-work Layer 1, via the public api.kaspa.org indexer. Kaspa is not a linear blockchain but a blockDAG running the GHOSTDAG protocol, mined with kHeavyHash at one-or-more blocks per second, so its native state is the UTXO and its native measure of progress is the DAA score. Resolve any address's KAS balance and lifetime transaction count. Pull the unspent outputs an address holds, each with its amount, the transaction that created it, its DAA score and whether it is a coinbase. Read the live blockDAG state — block and header counts, the virtual DAA score, the difficulty, the tip count and pruning point — plus the network hashrate and the circulating-versus-max KAS supply with the share already mined. Look up any transaction with its acceptance status, accepting-block blue score, mass and outputs. Live, no key, nothing stored. Distinct from the XRP Ledger, Stellar, TRON, Aptos, Algorand, Tezos, Cardano, Hedera, Solana and EVM on-chain APIs and from price feeds — this is Kaspa's blockDAG state, UTXO holdings, address balances and transactions. Perfect for wallets, explorers, mining and analytics apps.","contact":{"name":"PremiumApi","url":"https://www.oanor.com/by/premiumapi"}},"servers":[{"url":"https://api.oanor.com/kaspa-api","description":"oanor gateway"}],"tags":[{"name":"Address"},{"name":"Transaction"},{"name":"Network"}],"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/address":{"get":{"operationId":"get_v1_address","tags":["Address"],"summary":"Address balance + tx count","description":"","parameters":[{"name":"address","in":"query","required":true,"description":"Kaspa address (kaspa:…)","schema":{"type":"string"},"example":"kaspa:qrk9decfnl4rayeegp6gd3tc6605zavclkpud5jp78axat5namppwt050d57j"}],"security":[{"oanorKey":[]}],"responses":{"200":{"description":"OK","content":{"application/json":{"example":{"data":{"source":"Kaspa","address":"kaspa:qrk9decfnl4rayeegp6gd3tc6605zavclkpud5jp78axat5namppwt050d57j","balance_kas":35355.54683021,"balance_sompi":3535554683021,"transaction_count":225082999},"meta":{"timestamp":"2026-06-09T20:24:26.222Z","request_id":"0a057e94-abf9-4474-9d04-2705f628e650"},"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/utxos":{"get":{"operationId":"get_v1_utxos","tags":["Address"],"summary":"Unspent outputs an address holds","description":"","parameters":[{"name":"address","in":"query","required":true,"description":"Kaspa address (kaspa:…)","schema":{"type":"string"},"example":"kaspa:qrk9decfnl4rayeegp6gd3tc6605zavclkpud5jp78axat5namppwt050d57j"},{"name":"limit","in":"query","required":false,"description":"Max 1-100","schema":{"type":"string"},"example":"25"}],"security":[{"oanorKey":[]}],"responses":{"200":{"description":"OK","content":{"application/json":{"example":{"data":{"count":25,"utxos":[{"index":0,"amount_kas":200,"is_coinbase":false,"amount_sompi":20000000000,"transaction_id":"ab8488c38f54e597ace4cf637b2e9a8d8a7ab7a89b475825ead1134e3ef51c92","block_daa_score":"456160218"},{"index":0,"amount_kas":200,"is_coinbase":false,"amount_sompi":20000000000,"transaction_id":"9b627c99a97648e66aa83d61fa9c8de4409d235e8c8acc0c089581bc2f87c819","block_daa_score":"456167240"},{"index":0,"amount_kas":200,"is_coinbase":false,"amount_sompi":20000000000,"transaction_id":"b933c2fc55c9c78eb9f68c26ec3d0861053d8b3378640162f14b857c027f32f7","block_daa_score":"456090635"},{"index":0,"amount_kas":200,"is_coinbase":false,"amount_sompi":20000000000,"transaction_id":"5469d9be377b36301eaac091d525f3110e2331b98ef69d9d1f76c6813571fb1c","block_daa_score":"456119364"},{"index":0,"amount_kas":200,"is_coinbase":false,"amount_sompi":20000000000,"transaction_id":"a98fc3cb704b2c493c2054e02cf671db9469e83f6822656627e0cb0959ed0dc7","block_daa_score":"456156513"},{"index":0,"amount_kas":200,"is_coinbase":false,"amount_sompi":20000000000,"transaction_id":"d5c9c4a76b66fd3a2d1852e29584e67524bf33d50c66017c0fa527aeeadd970f","block_daa_score":"456138608"},{"index":0,"amount_kas":200,"is_coinbase":false,"amount_sompi":20000000000,"transaction_id":"557b80c6eb3bb1d7916808395413a0c70ca346467e6a35af0eb89eb87b08b22d","block_daa_score":"456154123"},{"index":0,"amount_kas":200,"is_coinbase":false,"amount_sompi":20000000000,"transaction_id":"214aa6957cec3b675f85b39dc6379bdde2dd0bdbaf302a9ac18093618bd9faf4","block_daa_score":"456169112"},{"index":0,"amount_kas":200,"is_coinbase":false,"amount_sompi":20000000000,"transaction_id":"4b049478631dd41233bc937ef5f86d2b853fb92fc6f501595a404817a897e4c6","block_daa_score":"456161002"},{"index":0,"amount_kas":200,"is_coinbase":false,"amount_sompi":20000000000,"transaction_id":"472a1ffd22e168dc7c146ac8be01b6939f436b0b836d699e8b140462a9972804","block_daa_score":"456161018"},{"index":0,"amount_kas":200,"is_coinbase":false,"amount_sompi":20000000000,"transaction_id":"71dcbe424291564bbe253962fff54528416f8cc07c2eb26ef6d7f1cfccbf2344","block_daa_score":"456149822"},{"index":0,"amount_kas":200,"is_coinbase":false,"amount_sompi":20000000000,"transaction_id":"63d095dce8212d39d699a5ee77503476bb3909c596bcbae36234ed939b92538a","block_daa_score":"456147391"},{"index":0,"amount_kas":200,"is_coinbase":false,"amount_sompi":20000000000,"transaction_id":"1f1a756343d464ce3489d69a6728068e7a90be961b955bad2541cd7f7b608c6b","block_daa_score":"456160350"},{"index":0,"amount_kas":200,"is_coinbase":false,"amount_sompi":20000000000,"transaction_id":"f3ebfa77a07f41cfdc7376bf23e891ab94bf3d4f29dded0dd18f6031d486cb64","block_daa_score":"456160380"},{"index":0,"amount_kas":200,"is_coinbase":false,"amount_sompi":20000000000,"transaction_id":"dd1297ca2bf1cc423c2a7e75ef2db89e89d15e3f77d97f22607fd52fce187e47","block_daa_score":"456160187"},{"index":0,"amount_kas":200,"is_coinbase":false,"amount_sompi":20000000000,"transaction_id":"0bdf02f1e90d2a191b7d8f5f06f15180e1994994aca33c59b98dd4e6af0d7a5e","block_daa_score":"456161169"},{"index":0,"amount_kas":200,"is_coinbase":false,"amount_sompi":20000000000,"transaction_id":"8ba2a25b3848b8a152a1e7cf1a8bff1bf6c70ac9a58dc0ea4e1ea6d90a23b2a2","block_daa_score":"456160919"},{"index":0,"amount_kas":200,"is_coinbase":false,"amount_sompi":20000000000,"transaction_id":"441d9d83dc1dd40dd9ba2feccd141181ed90b7f776a4cf61b902b72601f8aa0e","block_daa_score":"456119255"},{"index":0,"amount_kas":200,"is_coinbase":false,"amount_sompi":20000000000,"transaction_id":"bfa50391da52c46ce3d6223587ea7c8aaed695d3d71a8f27bec9fabeb1f0f086","block_daa_score":"456166664"},{"index":0,"amount_kas":200,"is_coinbase":false,"amount_sompi":20000000000,"transaction_id":"345f3014298795830fa2f7c0f257a49c19bd14db9e7fc881d2794144a78a57a3","block_daa_score":"456158291"},{"index":0,"amount_kas":200,"is_coinbase":false,"amount_sompi":20000000000,"transaction_id":"04c252073af8cdd50be38958acffb1f6e72be72c5fe80f7fe94294b6de002771","block_daa_score":"456152890"},{"index":0,"amount_kas":200,"is_coinbase":false,"amount_sompi":20000000000,"transaction_id":"c4f89fd1ccb2e99f63c00bc33abe5021a69cbcae01b5bd074f2ecea2876c78cd","block_daa_score":"456151044"},{"index":0,"amount_kas":200,"is_coinbase":false,"amount_sompi":20000000000,"transaction_id":"4a95dcffeabed97f44e190ff409de33fdb7b942427984747c0d6ef7730381d70","block_daa_score":"456161311"},{"index":0,"amount_kas":200,"is_coinbase":false,"amount_sompi":20000000000,"transaction_id":"405a4077bfbd32865069f9bced95ae9cc7db6baca0f6be7247a20eeee1590d7a","block_daa_score":"456160850"},{"index":0,"amount_kas":200,"is_coinbase":false,"amount_sompi":20000000000,"transaction_id":"c6749174f24534665f5e3af2d8214f6cfa2827467052d96817a59d7fc50793f7","block_daa_score":"456160884"}],"source":"Kaspa","address":"kaspa:qrk9decfnl4rayeegp6gd3tc6605zavclkpud5jp78axat5namppwt050d57j","utxo_count":3653},"meta":{"timestamp":"2026-06-09T20:24:27.001Z","request_id":"1e0edc9d-24fc-40df-b30d-c1ac81f7f9ad"},"status":"ok","message":"UTXOs 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":"Transaction with acceptance + outputs","description":"","parameters":[{"name":"id","in":"query","required":true,"description":"Transaction id (64 hex)","schema":{"type":"string"},"example":"e68bb4b426848d00e45ad6ab5ed32c6621c04ecf23fa4592dcceb9a6beaf7e1d"}],"security":[{"oanorKey":[]}],"responses":{"200":{"description":"OK","content":{"application/json":{"example":{"data":{"hash":"534c80dc8216cd48155da130071378c282af5694b8b9fd2b2194b9b2e20b3d1c","source":"Kaspa","outputs":[{"address":"kaspa:qrk9decfnl4rayeegp6gd3tc6605zavclkpud5jp78axat5namppwt050d57j","amount_kas":2.59577652,"amount_sompi":259577652},{"address":"kaspa:qpamkvhgh0kzx50gwvvp5xs8ktmqutcy3dfs9dc3w7lm9rq0zs76vf959mmrp","amount_kas":2.59565436,"amount_sompi":259565436},{"address":"kaspa:qqje6ps46n6pvjstupfxgrg6v3pegd22q84jachnfrnz2vh5vznqw8redgln6","amount_kas":2.59565436,"amount_sompi":259565436},{"address":"kaspa:qrvqn64vxkcevdev6k2y49slxw4ls57cjzdqmqkcgh9wu7xmghk57v4ehla0t","amount_kas":2.59565436,"amount_sompi":259565436},{"address":"kaspa:qzvedczjpmg0eeg32ly2ztqa3kuz0yvq2qu72rqpl7ddujg8jnezq5rp5etye","amount_kas":2.59565436,"amount_sompi":259565436},{"address":"kaspa:qqje6ps46n6pvjstupfxgrg6v3pegd22q84jachnfrnz2vh5vznqw8redgln6","amount_kas":2.59565436,"amount_sompi":259565436},{"address":"kaspa:qqzffjn32q670kat0huq5j0pcvk95r8j0am62c8fyzd6yr24tefaq758ug3tw","amount_kas":2.59565436,"amount_sompi":259565436}],"block_time":"2026-06-09T20:00:06.001Z","is_accepted":true,"output_count":7,"transaction_id":"e68bb4b426848d00e45ad6ab5ed32c6621c04ecf23fa4592dcceb9a6beaf7e1d","total_output_kas":18.16970268,"accepting_block_blue_score":"454272353"},"meta":{"timestamp":"2026-06-09T20:24:27.261Z","request_id":"faa77514-1c54-44ed-9b7e-bacfa90a2f3e"},"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/network":{"get":{"operationId":"get_v1_network","tags":["Network"],"summary":"Live blockDAG state, hashrate, supply","description":"","parameters":[],"security":[{"oanorKey":[]}],"responses":{"200":{"description":"OK","content":{"application/json":{"example":{"data":{"source":"Kaspa","network":"kaspa-mainnet","tip_count":8,"difficulty":20020037488530896,"block_count":1119140,"hashrate_th":400631.73779149126,"header_count":1119140,"percent_mined":95.7978,"pruning_point":"efb6ba82988204c64e1399f45b64e30e3f3ee82b27d3c31085eaac659f6f06f2","max_supply_kas":28704035604.999996,"past_median_time":"2026-06-09T20:22:15.182Z","virtual_daa_score":"456170501","circulating_supply_kas":27497840063.842094},"meta":{"timestamp":"2026-06-09T20:24:27.535Z","request_id":"e4ea679d-60d9-4d50-b806-06588e869992"},"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"}}}}},"x-oanor-pricing":[{"slug":"free","name":"Free","price_cents_month":0,"monthly_call_quota":6500,"rps_limit":2,"hard_limit":true},{"slug":"starter","name":"Starter","price_cents_month":1300,"monthly_call_quota":140000,"rps_limit":5,"hard_limit":true},{"slug":"pro","name":"Pro","price_cents_month":3800,"monthly_call_quota":870000,"rps_limit":15,"hard_limit":true},{"slug":"business","name":"Business","price_cents_month":8800,"monthly_call_quota":4600000,"rps_limit":40,"hard_limit":true}],"x-oanor-marketplace-url":"https://www.oanor.com/api/kaspa-api"}