{"openapi":"3.1.0","info":{"title":"Base L2 On-Chain API","version":"1.0.0","description":"Live Base mainnet on-chain data as an API, built on the open Blockscout explorer. Base is Coinbase's Ethereum Layer-2 (chain id 8453), where gas and balances are denominated in ETH and fees are a fraction of mainnet. Pull network stats (total blocks and transactions, ETH price, live gas), a gas oracle with slow, average and fast prices in gwei, the most recent blocks and full block detail by height or hash. Look up any address for its ETH balance and contract status, any transaction by hash for its value, fee, status, sender and receiver, and any ERC-20 token by contract for its name, symbol, decimals, holders and USD rate. Real on-chain data, no key needed upstream. Ideal for Base wallets, block explorers, gas trackers, DeFi and on-chain analytics.","contact":{"name":"PremiumApi","url":"https://www.oanor.com/by/premiumapi"}},"servers":[{"url":"https://api.oanor.com/base-api","description":"oanor gateway"}],"tags":[{"name":"Base"},{"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/address":{"get":{"operationId":"get_v1_address","tags":["Base"],"summary":"Address balance & contract info","description":"","parameters":[{"name":"address","in":"query","required":true,"description":"A Base address (0x + 40 hex)","schema":{"type":"string"},"example":"0x4200000000000000000000000000000000000006"}],"security":[{"oanorKey":[]}],"responses":{"200":{"description":"OK","content":{"application/json":{"example":{"data":{"address":{"hash":"0x4200000000000000000000000000000000000006","name":"L2 Standard Bridged WETH (Base)","token":{"name":"L2 Standard Bridged WETH (Base)","type":"ERC-20","symbol":"WETH"},"balance_eth":269635.3830629099,"balance_wei":"269635383062909866984478","is_contract":true,"is_verified":true}},"meta":{"timestamp":"2026-06-08T01:19:39.958Z","request_id":"fdd05d00-8e10-49c9-af37-3e9a0901ecbd"},"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/block":{"get":{"operationId":"get_v1_block","tags":["Base"],"summary":"Block detail by height or hash","description":"","parameters":[{"name":"height","in":"query","required":false,"description":"Block height, e.g. 10000000","schema":{"type":"string"},"example":"10000000"},{"name":"hash","in":"query","required":false,"description":"Block hash (alternative to height)","schema":{"type":"string"}}],"security":[{"oanorKey":[]}],"responses":{"200":{"description":"OK","content":{"application/json":{"example":{"data":{"block":{"hash":"0x53e6b5a20218a155b5758fbbe85a29bfb5be376763e6f310ba61bccf7ece1d85","size":4718,"miner":"0x4200000000000000000000000000000000000011","height":10000000,"gas_used":979572,"tx_count":11,"gas_limit":30000000,"timestamp":"2024-02-01T12:09:07.000000Z","burnt_fees":"259586580","base_fee_per_gas":"265"}},"meta":{"timestamp":"2026-06-08T01:19:40.113Z","request_id":"c61be7bc-75a1-49ad-ad86-314814efb01f"},"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/blocks":{"get":{"operationId":"get_v1_blocks","tags":["Base"],"summary":"The most recent blocks","description":"","parameters":[],"security":[{"oanorKey":[]}],"responses":{"200":{"description":"OK","content":{"application/json":{"example":{"data":{"count":50,"blocks":[{"hash":"0xf4c7149bef48426beda7a3d856b229fb354678380379a4b214c4bef3701ef4d3","size":99992,"miner":"0x4200000000000000000000000000000000000011","height":47046109,"gas_used":23181498,"tx_count":134,"gas_limit":400000000,"timestamp":"2026-06-08T01:19:25.000000Z","burnt_fees":"115907490000000","base_fee_per_gas":"5000000"},{"hash":"0x86378fd51cc6841922b43322ef1eaba27021c23e229854bfb8a72f2207a9930e","size":81195,"miner":"0x4200000000000000000000000000000000000011","height":47046108,"gas_used":22710974,"tx_count":138,"gas_limit":400000000,"timestamp":"2026-06-08T01:19:23.000000Z","burnt_fees":"113554870000000","base_fee_per_gas":"5000000"},{"hash":"0x749c2a408a3dd3b75ddadc121296aa4a12164879364b0c3d7fe1b3b8eb921b54","size":124133,"miner":"0x4200000000000000000000000000000000000011","height":47046107,"gas_used":35709034,"tx_count":137,"gas_limit":400000000,"timestamp":"2026-06-08T01:19:21.000000Z","burnt_fees":"178545170000000","base_fee_per_gas":"5000000"},{"hash":"0xe1a3e89b8c81ff7ca7f4a74f331189a9c72dbe9743805b53451c6b869f3df489","size":98413,"miner":"0x4200000000000000000000000000000000000011","height":47046106,"gas_used":25641577,"tx_count":150,"gas_limit":400000000,"timestamp":"2026-06-08T01:19:19.000000Z","burnt_fees":"128207885000000","base_fee_per_gas":"5000000"},{"hash":"0xe970087a4e343d1505cd517e6bc4f963af747a5fda13600d5f02e9149d27bd19","size":113045,"miner":"0x4200000000000000000000000000000000000011","height":47046105,"gas_used":30901569,"tx_count":197,"gas_limit":400000000,"timestamp":"2026-06-08T01:19:17.000000Z","burnt_fees":"154507845000000","base_fee_per_gas":"5000000"},{"hash":"0x470a4c5d93596e3c73495ff956e811d6b51df52bd10ce64dc12d6aabe5d4f168","size":125268,"miner":"0x4200000000000000000000000000000000000011","height":47046104,"gas_used":26550359,"tx_count":177,"gas_limit":400000000,"timestamp":"2026-06-08T01:19:15.000000Z","burnt_fees":"132751795000000","base_fee_per_gas":"5000000"},{"hash":"0xec1e466b4d716ca5958148b66ab20fe36f45bc30678c9346fff7891e9d7c2b8e","size":124125,"miner":"0x4200000000000000000000000000000000000011","height":47046103,"gas_used":19860807,"tx_count":181,"gas_limit":400000000,"timestamp":"2026-06-08T01:19:13.000000Z","burnt_fees":"99304035000000","base_fee_per_gas":"5000000"},{"hash":"0x016b2f29f6055c5ec094f1a0aeee4bf0f93fa533f0dc611ad7ca7c29b4926e88","size":104687,"miner":"0x4200000000000000000000000000000000000011","height":47046102,"gas_used":33468149,"tx_count":262,"gas_limit":400000000,"timestamp":"2026-06-08T01:19:11.000000Z","burnt_fees":"167340745000000","base_fee_per_gas":"5000000"},{"hash":"0x319964ce75f1b766824c765e7825b75fd4339caf87fd48b89d3917aff9d9bd29","size":102502,"miner":"0x4200000000000000000000000000000000000011","height":47046101,"gas_used":37114009,"tx_count":170,"gas_limit":400000000,"timestamp":"2026-06-08T01:19:09.000000Z","burnt_fees":"185570045000000","base_fee_per_gas":"5000000"},{"hash":"0x8f7a4a4a3c98d48c177c58eda6a7d55c75f67fbf7abfbe394f4e511cb8053e12","size":110348,"miner":"0x4200000000000000000000000000000000000011","height":47046100,"gas_used":32872332,"tx_count":183,"gas_limit":400000000,"timestamp":"2026-06-08T01:19:07.000000Z","burnt_fees":"164361660000000","base_fee_per_gas":"5000000"},{"hash":"0x760a333beb1060a041be73ba4d127c3da4be21d76ac9776bceffd037454af50d","size":109413,"miner":"0x4200000000000000000000000000000000000011","height":47046099,"gas_used":33103740,"tx_count":216,"gas_limit":400000000,"timestamp":"2026-06-08T01:19:05.000000Z","burnt_fees":"165518700000000","base_fee_per_gas":"5000000"},{"hash":"0x294859ef3c66c6a9d6fb33e7b12f484a4018a5cdc59f40bf309339f7c9a327b7","size":140177,"miner":"0x4200000000000000000000000000000000000011","height":47046098,"gas_used":38285073,"tx_count":269,"gas_limit":400000000,"timestamp":"2026-06-08T01:19:03.000000Z","burnt_fees":"191425365000000","base_fee_per_gas":"5000000"},{"hash":"0xbc7f61333f89eb4cfe691bd37df591b6b569809d727f338c5910857ba4940871","size":136258,"miner":"0x4200000000000000000000000000000000000011","height":47046097,"gas_used":40192413,"tx_count":245,"gas_limit":400000000,"timestamp":"2026-06-08T01:19:01.000000Z","burnt_fees":"200962065000000","base_fee_per_gas":"5000000"},{"hash":"0xf22cfcfbc4f0d86a3f51cc71d824b9991a6edb2a7a9ec0a9d121d13a68acbf92","size":128606,"miner":"0x4200000000000000000000000000000000000011","height":47046096,"gas_used":50452175,"tx_count":306,"gas_limit":400000000,"timestamp":"2026-06-08T01:18:59.000000Z","burnt_fees":"252260875000000","base_fee_per_gas":"5000000"},{"hash":"0x7d6d6b06f0f42f90b694b1f2f67daa5fa285a6f8a270ca5f876f43be0c0a2959","size":113117,"miner":"0x4200000000000000000000000000000000000011","height":47046095,"gas_used":32438645,"tx_count":215,"gas_limit":400000000,"timestamp":"2026-06-08T01:18:57.000000Z","burnt_fees":"162193225000000","base_fee_per_gas":"5000000"},{"hash":"0x91fb05fb6ec9143aed0d2649f7c025b641013798469aee9d90469dd20ad3bbbe","size":95264,"miner":"0x4200000000000000000000000000000000000011","height":47046094,"gas_used":22072202,"tx_count":181,"gas_limit":400000000,"timestamp":"2026-06-08T01:18:55.000000Z","burnt_fees":"110361010000000","base_fee_per_gas":"5000000"},{"hash":"0x8b4efc2a8de1eaafca812413c413c0857004147ffde491ac53d360e8e560cd1e","size":186911,"miner":"0x4200000000000000000000000000000000000011","height":47046093,"gas_used":50048007,"tx_count":461,"gas_limit":400000000,"timestamp":"2026-06-08T01:18:53.000000Z","burnt_fees":"250240035000000","base_fee_per_gas":"5000000"},{"hash":"0xe84c6bcdb1be2f5fcbf8422083a5291a708bd9aeb6106a153a77286767ba2457","size":133676,"miner":"0x4200000000000000000000000000000000000011","height":47046092,"gas_used":35323072,"tx_count":232,"gas_limit":400000000,"timestamp":"2026-06-08T01:18:51.000000Z","burnt_fees":"176615360000000","base_fee_per_gas":"5000000"},{"hash":"0x2cd58f8484e70331cf63b24d240f08ee36a8ff7dbd14376be78b19d9089cb301","size":124102,"miner":"0x4200000000000000000000000000000000000011","height":47046091,"gas_used":35033152,"tx_count":201,"gas_limit":400000000,"timestamp":"2026-06-08T01:18:49.000000Z","burnt_fees":"175165760000000","base_fee_per_gas":"5000000"},{"hash":"0xfe56887bf265c4fe8b44ac7e2c49e7ab1b89f1104cfc3902514c49a61ed2482e","size":116749,"miner":"0x4200000000000000000000000000000000000011","height":47046090,"gas_used":37582879,"tx_count":299,"gas_limit":400000000,"timestamp":"2026-06-08T01:18:47.000000Z","burnt_fees":"187914395000000","base_fee_per_gas":"5000000"},{"hash":"0x67fd6d089b5bac4f8470190c40e6105a24257ba0a73e4100d97dd80d86f0a221","size":76951,"miner":"0x4200000000000000000000000000000000000011","height":47046089,"gas_used":23242561,"tx_count":159,"gas_limit":400000000,"timestamp":"2026-06-08T01:18:45.000000Z","burnt_fees":"116212805000000","base_fee_per_gas":"5000000"},{"hash":"0x514536220cc8f33b917bc0eea7c140835aeb48ed70571fb86d5ceb38893e1b06","size":150756,"miner":"0x4200000000000000000000000000000000000011","height":47046088,"gas_used":46539154,"tx_count":231,"gas_limit":400000000,"timestamp":"2026-06-08T01:18:43.000000Z","burnt_fees":"232695770000000","base_fee_per_gas":"5000000"},{"hash":"0x6cd0374901692f828ce4e9461af69555b77eaf0814dd72eaa8109dbac1e9c572","size":182947,"miner":"0x4200000000000000000000000000000000000011","height":47046087,"gas_used":49843711,"tx_count":320,"gas_limit":400000000,"timestamp":"2026-06-08T01:18:41.000000Z","burnt_fees":"249218555000000","base_fee_per_gas":"5000000"},{"hash":"0xebaa1a69f7a47197d29c168604b2734dc416d11b5271b4cfc20aecb2558c4b0d","size":135608,"miner":"0x4200000000000000000000000000000000000011","height":47046086,"gas_used":45673672,"tx_count":282,"gas_limit":400000000,"timestamp":"2026-06-08T01:18:39.000000Z","burnt_fees":"228368360000000","base_fee_per_gas":"5000000"},{"hash":"0x37e44cbd2a5cb1b8bc69e00697eb6e5e47888661af7e32ee45b6242a64c6ead8","size":159917,"miner":"0x4200000000000000000000000000000000000011","height":47046085,"gas_used":45497446,"tx_count":332,"gas_limit":400000000,"timestamp":"2026-06-08T01:18:37.000000Z","burnt_fees":"227487230000000","base_fee_per_gas":"5000000"},{"hash":"0xab06241d9bdbf29c8ed35d7c4111e026defe9e527b37036bafb147501ea770f1","size":130265,"miner":"0x4200000000000000000000000000000000000011","height":47046084,"gas_used":39548214,"tx_count":229,"gas_limit":400000000,"timestamp":"2026-06-08T01:18:35.000000Z","burnt_fees":"197741070000000","base_fee_per_gas":"5000000"},{"hash":"0x566cbd64075b05d12eb1e23a9cfec1731c7d6211abaa8b714e3648959f2cabb5","size":148009,"miner":"0x4200000000000000000000000000000000000011","height":47046083,"gas_used":45391173,"tx_count":281,"gas_limit":400000000,"timestamp":"2026-06-08T01:18:33.000000Z","burnt_fees":"226955865000000","base_fee_per_gas":"5000000"},{"hash":"0x49896181f175991eb7881ec2e32eddaf3a64f44f5debcb70fc1557ee8daf308e","size":105588,"miner":"0x4200000000000000000000000000000000000011","height":47046082,"gas_used":28134159,"tx_count":254,"gas_limit":400000000,"timestamp":"2026-06-08T01:18:31.000000Z","burnt_fees":"140670795000000","base_fee_per_gas":"5000000"},{"hash":"0xf28fb59b2f02aaf33babc7314831c1a85256b721e54f195ee89b4f4bd5131421","size":145873,"miner":"0x4200000000000000000000000000000000000011","height":47046081,"gas_used":45045432,"tx_count":199,"gas_limit":400000000,"timestamp":"2026-06-08T01:18:29.000000Z","burnt_fees":"225227160000000","base_fee_per_gas":"5000000"},{"hash":"0x6f060b233f4d94d9a172f6d8c871e2db8cdf3eb2be1a3787bd4397e5261d680e","size":138444,"miner":"0x4200000000000000000000000000000000000011","height":47046080,"gas_used":44688527,"tx_count":229,"gas_limit":400000000,"timestamp":"2026-06-08T01:18:27.000000Z","burnt_fees":"223442635000000","base_fee_per_gas":"5000000"},{"hash":"0x5c64bbfaa9594d6fa13d358e3fe478bb869f33dc40ce02a7418d6fcdd903bb26","size":164339,"miner":"0x4200000000000000000000000000000000000011","height":47046079,"gas_used":42976359,"tx_count":238,"gas_limit":400000000,"timestamp":"2026-06-08T01:18:25.000000Z","burnt_fees":"214881795000000","base_fee_per_gas":"5000000"},{"hash":"0x3c830d20be3a3f24a0954d397d7e8f76b1d237c52e82bd4aa72ac49466a7c9a8","size":150616,"miner":"0x4200000000000000000000000000000000000011","height":47046078,"gas_used":54221966,"tx_count":300,"gas_limit":400000000,"timestamp":"2026-06-08T01:18:23.000000Z","burnt_fees":"271109830000000","base_fee_per_gas":"5000000"},{"hash":"0x54b7a8cbdbec7ec226837a06e1b994652b0fb182af7679275c19c5d748c0b825","size":139878,"miner":"0x4200000000000000000000000000000000000011","height":47046077,"gas_used":33690652,"tx_count":258,"gas_limit":400000000,"timestamp":"2026-06-08T01:18:21.000000Z","burnt_fees":"168453260000000","base_fee_per_gas":"5000000"},{"hash":"0xe61c0eae8631db4ca01432a58029accd02b7b4e96ea853d8dc5af7d03a8b7f1c","size":151672,"miner":"0x4200000000000000000000000000000000000011","height":47046076,"gas_used":51526657,"tx_count":339,"gas_limit":400000000,"timestamp":"2026-06-08T01:18:19.000000Z","burnt_fees":"257633285000000","base_fee_per_gas":"5000000"},{"hash":"0xc7db5329eafd63bf51a5e2b1ca1629dfeb0d9de0fbb20f7ced0ed277ffcec58d","size":138492,"miner":"0x4200000000000000000000000000000000000011","height":47046075,"gas_used":46248468,"tx_count":303,"gas_limit":400000000,"timestamp":"2026-06-08T01:18:17.000000Z","burnt_fees":"231242340000000","base_fee_per_gas":"5000000"},{"hash":"0xba97e70097f49d39164a3c952ef54d91e94f84f6644f16d0f0bda38c51c7c145","size":116327,"miner":"0x4200000000000000000000000000000000000011","height":47046073,"gas_used":40430171,"tx_count":214,"gas_limit":400000000,"timestamp":"2026-06-08T01:18:13.000000Z","burnt_fees":"202150855000000","base_fee_per_gas":"5000000"},{"hash":"0xbee6e71999f36798919245f972b61e6c43cd0b3ca1a621d7b2fd542342f3ba50","size":127951,"miner":"0x4200000000000000000000000000000000000011","height":47046072,"gas_used":41466328,"tx_count":266,"gas_limit":400000000,"timestamp":"2026-06-08T01:18:11.000000Z","burnt_fees":"207331640000000","base_fee_per_gas":"5000000"},{"hash":"0x6e14b8fbcec5e60dddb021519ec99a0fe3fa75d4fea0b0cf702245c155666f94","size":201970,"miner":"0x4200000000000000000000000000000000000011","height":47046071,"gas_used":75784796,"tx_count":436,"gas_limit":400000000,"timestamp":"2026-06-08T01:18:09.000000Z","burnt_fees":"378923980000000","base_fee_per_gas":"5000000"},{"hash":"0xcd597099f577443252f827854c00f86a4258fe2e1524ab94cf2163b007c4d4d7","size":200583,"miner":"0x4200000000000000000000000000000000000011","height":47046070,"gas_used":65988862,"tx_count":475,"gas_limit":400000000,"timestamp":"2026-06-08T01:18:07.000000Z","burnt_fees":"329944310000000","base_fee_per_gas":"5000000"},{"hash":"0xb01b31e914ae53401d6df9cbf7caea65bb857bef5dfa8ae5aafe28f639bd8245","size":148524,"miner":"0x4200000000000000000000000000000000000011","height":47046069,"gas_used":48050630,"tx_count":325,"gas_limit":400000000,"timestamp":"2026-06-08T01:18:05.000000Z","burnt_fees":"240780121259210","base_fee_per_gas":"5010967"},{"hash":"0x7070e2e598025be41400c7434803ede92f8c12c5090ce6f98c24a1bb965a219a","size":246029,"miner":"0x4200000000000000000000000000000000000011","height":47046068,"gas_used":97548738,"tx_count":664,"gas_limit":400000000,"timestamp":"2026-06-08T01:18:03.000000Z","burnt_fees":"487743690000000","base_fee_per_gas":"5000000"},{"hash":"0xccccf78c70db269540a192a42b85727da35d3284213a21f24a15872e1c348c0e","size":83745,"miner":"0x4200000000000000000000000000000000000011","height":47046067,"gas_used":24114836,"tx_count":154,"gas_limit":400000000,"timestamp":"2026-06-08T01:18:01.000000Z","burnt_fees":"120574180000000","base_fee_per_gas":"5000000"},{"hash":"0x41447e063c3a9497ee393b1ec00e7ca675a860912847d6d92db4566b1fff1036","size":75879,"miner":"0x4200000000000000000000000000000000000011","height":47046066,"gas_used":28519478,"tx_count":190,"gas_limit":400000000,"timestamp":"2026-06-08T01:17:59.000000Z","burnt_fees":"142597390000000","base_fee_per_gas":"5000000"},{"hash":"0xb7943fa48b38aee0417b36c6e899ff351d537bbf7cc31aa59e635f18637e00b9","size":152855,"miner":"0x4200000000000000000000000000000000000011","height":47046065,"gas_used":54148397,"tx_count":354,"gas_limit":400000000,"timestamp":"2026-06-08T01:17:57.000000Z","burnt_fees":"270741985000000","base_fee_per_gas":"5000000"},{"hash":"0x94557145c78542adea5fadf0e10b30379accff081422db7d1ec38c0e0ad1c3a6","size":175798,"miner":"0x4200000000000000000000000000000000000011","height":47046064,"gas_used":62820176,"tx_count":415,"gas_limit":400000000,"timestamp":"2026-06-08T01:17:55.000000Z","burnt_fees":"314100880000000","base_fee_per_gas":"5000000"},{"hash":"0x3931a59de119785d519d4f49a8cf09c382fa458bab93b21e9d207124c9df1632","size":116201,"miner":"0x4200000000000000000000000000000000000011","height":47046063,"gas_used":37810573,"tx_count":248,"gas_limit":400000000,"timestamp":"2026-06-08T01:17:53.000000Z","burnt_fees":"189052865000000","base_fee_per_gas":"5000000"},{"hash":"0xbefdca6c02616d25edb53d2c9c432bc1dc22cde2b42e156e58f012b7bc6d40b5","size":119627,"miner":"0x4200000000000000000000000000000000000011","height":47046062,"gas_used":39537638,"tx_count":238,"gas_limit":400000000,"timestamp":"2026-06-08T01:17:51.000000Z","burnt_fees":"197688190000000","base_fee_per_gas":"5000000"},{"hash":"0x0566439e25b66588bec0be7c1c39d762b1e17f7e59c4845041638d4a8d921374","size":153001,"miner":"0x4200000000000000000000000000000000000011","height":47046061,"gas_used":49441057,"tx_count":301,"gas_limit":400000000,"timestamp":"2026-06-08T01:17:49.000000Z","burnt_fees":"247205285000000","base_fee_per_gas":"5000000"},{"hash":"0xd2b4ae3bdeaa2cb98905a7c14ad4bd2233a8ba309ca84b92fe2f5e924058125e","size":111789,"miner":"0x4200000000000000000000000000000000000011","height":47046060,"gas_used":37895393,"tx_count":219,"gas_limit":400000000,"timestamp":"2026-06-08T01:17:47.000000Z","burnt_fees":"189476965000000","base_fee_per_gas":"5000000"},{"hash":"0x8b5d2a18a31049aca97160d5dfd38e12c4004c617e9ba13d5e59e0cd85ed9d1a","size":220937,"miner":"0x4200000000000000000000000000000000000011","height":47046059,"gas_used":59221859,"tx_count":418,"gas_limit":400000000,"timestamp":"2026-06-08T01:17:45.000000Z","burnt_fees":"296109295000000","base_fee_per_gas":"5000000"}]},"meta":{"timestamp":"2026-06-08T01:19:40.949Z","request_id":"62a7011d-496e-4553-ad4a-905c14e78510"},"status":"ok","message":"Blocks 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/gas":{"get":{"operationId":"get_v1_gas","tags":["Base"],"summary":"Gas oracle (gwei)","description":"","parameters":[],"security":[{"oanorKey":[]}],"responses":{"200":{"description":"OK","content":{"application/json":{"example":{"data":{"fast":0.04,"slow":0.01,"unit":"gwei","average":0.01,"gas_used_today":"1459503368090"},"meta":{"timestamp":"2026-06-08T01:19:41.095Z","request_id":"b44d4662-82fe-4f11-9da5-2f54f646f9a5"},"status":"ok","message":"Gas 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/stats":{"get":{"operationId":"get_v1_stats","tags":["Base"],"summary":"Network stats","description":"","parameters":[],"security":[{"oanorKey":[]}],"responses":{"200":{"description":"OK","content":{"application/json":{"example":{"data":{"chain":"Base","gas_prices":{"fast":0.04,"slow":0.01,"average":0.01},"total_blocks":46847305,"eth_price_usd":1687.87,"gas_used_today":"1459503368090","market_cap_usd":203699776706.84998,"total_addresses":"868154166","total_transactions":"6435391048","transactions_today":"8567849","network_utilization_percent":10.337943745},"meta":{"timestamp":"2026-06-08T01:19:41.213Z","request_id":"137aef2f-8f0f-4b84-832c-83e93ab83d18"},"status":"ok","message":"Stats 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/token":{"get":{"operationId":"get_v1_token","tags":["Base"],"summary":"ERC-20 token detail by contract","description":"","parameters":[{"name":"address","in":"query","required":true,"description":"Token contract address","schema":{"type":"string"},"example":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"}],"security":[{"oanorKey":[]}],"responses":{"200":{"description":"OK","content":{"application/json":{"example":{"data":{"token":{"icon":"https://assets.coingecko.com/coins/images/6319/small/USDC.png?1769615602","name":"USDC","type":"ERC-20","symbol":"USDC","decimals":6,"total_supply":"4321204829658779","exchange_rate_usd":0.999679,"circulating_market_cap":"75655389583.6811"}},"meta":{"timestamp":"2026-06-08T01:19:41.356Z","request_id":"8fdedbae-3beb-46a5-a6fe-c052b940cbb3"},"status":"ok","message":"Token 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":["Base"],"summary":"Transaction detail by hash","description":"","parameters":[{"name":"hash","in":"query","required":true,"description":"A transaction hash (0x + 64 hex)","schema":{"type":"string"},"example":"0x34c5afb9252bced761236b246f44bdfef2ee5052c1f9bfe037366421daf22914"}],"security":[{"oanorKey":[]}],"responses":{"200":{"description":"OK","content":{"application/json":{"example":{"data":{"transaction":{"to":"0x4200000000000000000000000000000000000015","from":"0xDeaDDEaDDeAdDeAdDEAdDEaddeAddEAdDEAd0001","hash":"0x34c5afb9252bced761236b246f44bdfef2ee5052c1f9bfe037366421daf22914","type":126,"block":10000000,"nonce":9999999,"method":"setL1BlockValues","status":"ok","fee_eth":0,"fee_wei":"0","gas_used":46913,"gas_price":"0","timestamp":"2024-02-01T12:09:07.000000Z","value_eth":0,"value_wei":"0","confirmations":37046116}},"meta":{"timestamp":"2026-06-08T01:19:42.240Z","request_id":"9fa0a799-3c3c-493d-a0a8-b1d74919b2b3"},"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 description & endpoints","description":"","parameters":[],"security":[{"oanorKey":[]}],"responses":{"200":{"description":"OK","content":{"application/json":{"example":{"data":{"chain":"Base (L2, chain id 8453)","service":"base-api","endpoints":{"GET /v1/gas":"Gas oracle (slow/average/fast in gwei).","GET /v1/meta":"This document.","GET /v1/block":"Block detail by height= or hash=.","GET /v1/stats":"Network stats (blocks, txns, ETH price, gas).","GET /v1/token":"ERC-20 token detail by contract (address=).","GET /v1/blocks":"The most recent blocks.","GET /v1/address":"Address balance & contract info (address=).","GET /v1/transaction":"Transaction detail (hash=)."},"description":"Live Base (Coinbase's Ethereum L2) on-chain data via Blockscout: network stats, a gas oracle (gwei), recent blocks and block detail, address balances, transaction detail and ERC-20 token detail. Gas and balances are denominated in ETH. Real on-chain data, no key."},"meta":{"timestamp":"2026-06-08T01:19:43.029Z","request_id":"4ef423f8-c864-46fa-a8c9-72de83a3ca65"},"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":8500,"rps_limit":2,"hard_limit":true},{"slug":"starter","name":"Starter","price_cents_month":450,"monthly_call_quota":115000,"rps_limit":8,"hard_limit":true},{"slug":"pro","name":"Pro","price_cents_month":2000,"monthly_call_quota":620000,"rps_limit":25,"hard_limit":true},{"slug":"mega","name":"Mega","price_cents_month":7000,"monthly_call_quota":3100000,"rps_limit":50,"hard_limit":true}],"x-oanor-marketplace-url":"https://www.oanor.com/api/base-api"}