{"openapi":"3.1.0","info":{"title":"Ergo On-Chain & Native Token API","version":"1.0.0","description":"Live on-chain data from the Ergo (ERG) blockchain via the public Ergo Platform explorer — clean JSON, no cache. Ergo is a proof-of-work cryptocurrency built on the extended-UTXO (eUTXO) model with first-class native tokens, Sigma-protocol smart contracts and storage rent — a distinctly different design from account-based chains. Read the network head (best block height, mining difficulty, miner reward); browse the most recent blocks with their miner, size, difficulty and reward; fetch a single block by header id; look up any address's confirmed ERG balance and every native token it holds; or resolve a native token's id, name, decimals, emission amount and description. Read live from Ergo, nothing stored. This is Ergo's own extended-UTXO chain, native-token and Autolykos-PoW layer — distinct from the Bitcoin, Decred, EOS, Internet Computer and other on-chain APIs and from price feeds.","contact":{"name":"PremiumApi","url":"https://www.oanor.com/by/premiumapi"}},"servers":[{"url":"https://api.oanor.com/ergo-api","description":"oanor gateway"}],"tags":[{"name":"Network"},{"name":"Blocks"},{"name":"Block"},{"name":"Address"},{"name":"Token"},{"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 head — best block, difficulty, miner reward","description":"","parameters":[],"security":[{"oanorKey":[]}],"responses":{"200":{"description":"OK"},"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/blocks":{"get":{"operationId":"get_v1_blocks","tags":["Blocks"],"summary":"Most recent blocks with miner, size, difficulty, reward","description":"","parameters":[{"name":"limit","in":"query","required":false,"description":"Number of blocks (1-50)","schema":{"type":"string"},"example":"10"}],"security":[{"oanorKey":[]}],"responses":{"200":{"description":"OK"},"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 single block by header id","description":"","parameters":[{"name":"id","in":"query","required":true,"description":"Block header id (64 hex)","schema":{"type":"string"},"example":"63359f6e2b35749e283540848927d3e67112c4e40e96169fd85aa0aa2967a2a2"}],"security":[{"oanorKey":[]}],"responses":{"200":{"description":"OK"},"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 confirmed ERG balance and native tokens held","description":"","parameters":[{"name":"address","in":"query","required":true,"description":"Ergo address","schema":{"type":"string"},"example":"9gqhrGQN3eQmTFAW9J6KNX8ffUhe8BmTesE45b9nBmL7VJohhtY"}],"security":[{"oanorKey":[]}],"responses":{"200":{"description":"OK"},"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/token":{"get":{"operationId":"get_v1_token","tags":["Token"],"summary":"A native token's id, name, decimals, emission and description","description":"","parameters":[{"name":"id","in":"query","required":true,"description":"Token id (64 hex)","schema":{"type":"string"},"example":"03faf2cb329f2e90d6d23b58d91bbb6c046aa143261cc21f52fbe2824bfcbf04"}],"security":[{"oanorKey":[]}],"responses":{"200":{"description":"OK"},"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"},"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":1000,"rps_limit":3,"hard_limit":true},{"slug":"starter","name":"Starter","price_cents_month":1050,"monthly_call_quota":36000,"rps_limit":12,"hard_limit":true},{"slug":"pro","name":"Pro","price_cents_month":2850,"monthly_call_quota":185000,"rps_limit":30,"hard_limit":true},{"slug":"business","name":"Business","price_cents_month":6600,"monthly_call_quota":920000,"rps_limit":58,"hard_limit":true}],"x-oanor-marketplace-url":"https://www.oanor.com/api/ergo-api"}