{"openapi":"3.1.0","info":{"title":"ApeChain Chain API","version":"1.0.0","description":"Live on-chain data for ApeChain — the ApeCoin DAO Layer 2 — via its public Blockscout explorer (no wallet, no key). The stats endpoint returns chain-wide totals (blocks, transactions, addresses, average block time, gas used); gas gives the current gas-price oracle (slow/average/fast). Blocks lists the latest blocks, and a single block resolves by height or by hash with its transaction count, gas, miner and timestamp. The address endpoint returns any account's APE balance, nonce, contract flag and token holdings; transaction resolves a tx by hash with its from/to, value in APE, fee, status and block. The token endpoint returns an ERC-20 token's metadata (name, symbol, decimals, total supply, holders) by contract address, and search runs a universal lookup across addresses, tokens, blocks and transactions. Gas, balances, values and fees are denominated in APE, the native coin. Real on-chain data straight from the explorer, refreshed every call — no key. 9 endpoints. For multi-chain coverage combine with the other oanor chain APIs (Ethereum, Base, Arbitrum and more).","contact":{"name":"PremiumApi","url":"https://www.oanor.com/by/premiumapi"}},"servers":[{"url":"https://api.oanor.com/apechain-api","description":"oanor gateway"}],"tags":[{"name":"Chain"},{"name":"Blocks"},{"name":"Accounts"},{"name":"Transactions"},{"name":"Tokens"},{"name":"Search"},{"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/gas":{"get":{"operationId":"get_v1_gas","tags":["Chain"],"summary":"Gas-price oracle","description":"","parameters":[],"security":[{"oanorKey":[]}],"responses":{"200":{"description":"OK","content":{"application/json":{"example":{"data":{"fast":97.73,"slow":97.73,"unit":"gwei","average":97.73,"gas_used_today":"18782267410"},"meta":{"timestamp":"2026-06-08T09:48:59.913Z","request_id":"8f54ebd3-3a0d-4cfc-a296-730334d9ed18"},"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":["Chain"],"summary":"Chain stats","description":"","parameters":[],"security":[{"oanorKey":[]}],"responses":{"200":{"description":"OK","content":{"application/json":{"example":{"data":{"gas_prices":{"fast":97.73,"slow":97.73,"average":97.73},"total_blocks":39345572,"gas_used_today":"18782267410","market_cap_usd":0,"total_addresses":"5232156","total_transactions":"126251217","transactions_today":"96532","network_utilization_percent":3.9903813586761316e-8},"meta":{"timestamp":"2026-06-08T09:49:00.221Z","request_id":"8b81218b-5163-4b52-acfd-332987b1fd6c"},"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/block":{"get":{"operationId":"get_v1_block","tags":["Blocks"],"summary":"A block by height or hash","description":"","parameters":[{"name":"height","in":"query","required":false,"description":"Block height","schema":{"type":"string"},"example":"39379419"},{"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":"0x50b3bf55a959068ed832a3a4213d611b2c917527a0465b4977d0a65483f5145e","size":2007,"miner":"0xA4b000000000000000000073657175656e636572","height":39379419,"gas_used":254365,"tx_count":2,"gas_limit":1125899906842624,"timestamp":"2026-06-08T07:03:33.000000Z","burnt_fees":"25864535247400000","difficulty":"1","base_fee_per_gas":"101682760000"}},"meta":{"timestamp":"2026-06-08T09:49:00.578Z","request_id":"8786f1d1-c801-414e-878a-0b02709d9bcb"},"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":["Blocks"],"summary":"Latest blocks","description":"","parameters":[],"security":[{"oanorKey":[]}],"responses":{"200":{"description":"OK","content":{"application/json":{"example":{"data":{"count":50,"blocks":[{"hash":"0x287bc5dd242b09cd77c5970a5d11009c3ec570bf308cc3794e421e39881381b1","size":953,"miner":"0xA4b000000000000000000073657175656e636572","height":39386157,"gas_used":172464,"tx_count":2,"gas_limit":1125899906842624,"timestamp":"2026-06-08T09:48:59.000000Z","burnt_fees":"17536615520640000","difficulty":"1","base_fee_per_gas":"101682760000"},{"hash":"0xf878d86b77249b4a4d62ef08dd6f51521a8674094c1a763826eb7fed750411a2","size":1214,"miner":"0xA4b000000000000000000073657175656e636572","height":39386156,"gas_used":859929,"tx_count":2,"gas_limit":1125899906842624,"timestamp":"2026-06-08T09:48:58.000000Z","burnt_fees":"87439954124040000","difficulty":"1","base_fee_per_gas":"101682760000"},{"hash":"0x9c113c2b4d505ee0a8f92809170fa7ce30c89df865adb4b4bae88e201957412b","size":953,"miner":"0xA4b000000000000000000073657175656e636572","height":39386155,"gas_used":320048,"tx_count":2,"gas_limit":1125899906842624,"timestamp":"2026-06-08T09:48:57.000000Z","burnt_fees":"32543363972480000","difficulty":"1","base_fee_per_gas":"101682760000"},{"hash":"0x12841779236d86ed7fc9cff660834222df5c69e89535133abbd232ed38910765","size":975,"miner":"0xA4b000000000000000000073657175656e636572","height":39386154,"gas_used":42176,"tx_count":2,"gas_limit":1125899906842624,"timestamp":"2026-06-08T09:48:55.000000Z","burnt_fees":"4288572085760000","difficulty":"1","base_fee_per_gas":"101682760000"},{"hash":"0x4cb321067adc85e6c74d2970e8c3beec1c850c7b491e92fbb7d1d0843e6e0008","size":3140,"miner":"0xA4b000000000000000000073657175656e636572","height":39386153,"gas_used":2240536,"tx_count":2,"gas_limit":1125899906842624,"timestamp":"2026-06-08T09:48:54.000000Z","burnt_fees":"227823884359360000","difficulty":"1","base_fee_per_gas":"101682760000"},{"hash":"0x131c17d4a02f0fff7deb008455ba0ceafe928377bc1855d252e68658b4ce0841","size":816,"miner":"0xA4b000000000000000000073657175656e636572","height":39386152,"gas_used":23526,"tx_count":2,"gas_limit":1125899906842624,"timestamp":"2026-06-08T09:48:48.000000Z","burnt_fees":"2392188611760000","difficulty":"1","base_fee_per_gas":"101682760000"},{"hash":"0x2a2d5b878425002e1907803b8cbff81a19af9d51b299c0ff27fd8177f7d7842c","size":953,"miner":"0xA4b000000000000000000073657175656e636572","height":39386151,"gas_used":244527,"tx_count":2,"gas_limit":1125899906842624,"timestamp":"2026-06-08T09:48:45.000000Z","burnt_fees":"24864180254520000","difficulty":"1","base_fee_per_gas":"101682760000"},{"hash":"0x3b6b1f067f5bc705786ef3ea29d33952cf3ac2882cb469959e20c9d0dd8f2811","size":945,"miner":"0xA4b000000000000000000073657175656e636572","height":39386150,"gas_used":131018,"tx_count":2,"gas_limit":1125899906842624,"timestamp":"2026-06-08T09:48:44.000000Z","burnt_fees":"13322271849680000","difficulty":"1","base_fee_per_gas":"101682760000"},{"hash":"0xf9a7950b690e9a1d4aabad797ee46bc71e9e3bd56a261e24d6a2d8aacfb3bb29","size":1214,"miner":"0xA4b000000000000000000073657175656e636572","height":39386149,"gas_used":810142,"tx_count":2,"gas_limit":1125899906842624,"timestamp":"2026-06-08T09:48:44.000000Z","burnt_fees":"82377474551920000","difficulty":"1","base_fee_per_gas":"101682760000"},{"hash":"0x82c00f626bf6a89c07958f1303c89f09000d888f6f1f54c4935982c7358a51f5","size":953,"miner":"0xA4b000000000000000000073657175656e636572","height":39386148,"gas_used":293549,"tx_count":2,"gas_limit":1125899906842624,"timestamp":"2026-06-08T09:48:37.000000Z","burnt_fees":"29848872515240000","difficulty":"1","base_fee_per_gas":"101682760000"},{"hash":"0xd8757e753fa1fc92a57981ab92d09c5c8dd5c8c4e558ae3605f6434aedf1be96","size":953,"miner":"0xA4b000000000000000000073657175656e636572","height":39386147,"gas_used":448759,"tx_count":2,"gas_limit":1125899906842624,"timestamp":"2026-06-08T09:48:37.000000Z","burnt_fees":"45631053694840000","difficulty":"1","base_fee_per_gas":"101682760000"},{"hash":"0x6e6ed86b75c75dceba0cd6b125626bc536b028f232d22bd8d49c0c8765d546bd","size":1218,"miner":"0xA4b000000000000000000073657175656e636572","height":39386146,"gas_used":810723,"tx_count":2,"gas_limit":1125899906842624,"timestamp":"2026-06-08T09:48:35.000000Z","burnt_fees":"82436552235480000","difficulty":"1","base_fee_per_gas":"101682760000"},{"hash":"0x7afe87e0819b5ff9f178add553baed3838bb70cce35d636e96ff58e8d2d62bf6","size":816,"miner":"0xA4b000000000000000000073657175656e636572","height":39386145,"gas_used":23526,"tx_count":2,"gas_limit":1125899906842624,"timestamp":"2026-06-08T09:48:34.000000Z","burnt_fees":"2392188611760000","difficulty":"1","base_fee_per_gas":"101682760000"},{"hash":"0x2e3a98b38581dd3e0a8833d778958d4825e6a390f1f32191dc0d88a5474224c9","size":3140,"miner":"0xA4b000000000000000000073657175656e636572","height":39386144,"gas_used":2190737,"tx_count":2,"gas_limit":1125899906842624,"timestamp":"2026-06-08T09:48:34.000000Z","burnt_fees":"222760184594120000","difficulty":"1","base_fee_per_gas":"101682760000"},{"hash":"0x3da37646c6262ce14f5e90c7cfda7396eb71e87bdf9f4076ff6d558507b6968a","size":975,"miner":"0xA4b000000000000000000073657175656e636572","height":39386143,"gas_used":42176,"tx_count":2,"gas_limit":1125899906842624,"timestamp":"2026-06-08T09:48:33.000000Z","burnt_fees":"4288572085760000","difficulty":"1","base_fee_per_gas":"101682760000"},{"hash":"0x072d3e084508e2a7ff9ae8a84bf5b88c73e1177d5d6cd98d4dc9dbdce3bdaedf","size":953,"miner":"0xA4b000000000000000000073657175656e636572","height":39386142,"gas_used":244527,"tx_count":2,"gas_limit":1125899906842624,"timestamp":"2026-06-08T09:48:31.000000Z","burnt_fees":"24864180254520000","difficulty":"1","base_fee_per_gas":"101682760000"},{"hash":"0xc1bcd7394b08d456120f82e21040d03bf5e63b3c061ce27fb589fb36184d906a","size":1214,"miner":"0xA4b000000000000000000073657175656e636572","height":39386141,"gas_used":810142,"tx_count":2,"gas_limit":1125899906842624,"timestamp":"2026-06-08T09:48:30.000000Z","burnt_fees":"82377474551920000","difficulty":"1","base_fee_per_gas":"101682760000"},{"hash":"0x40a5c5c204a37f9a9d0ff98051ebb8b4da3b1a55b41167dc6b4bb143a441113e","size":2007,"miner":"0xA4b000000000000000000073657175656e636572","height":39386140,"gas_used":254353,"tx_count":2,"gas_limit":1125899906842624,"timestamp":"2026-06-08T09:48:29.000000Z","burnt_fees":"25863315054280000","difficulty":"1","base_fee_per_gas":"101682760000"},{"hash":"0x091018a681cd6608644605030d993f5301d425c14c0ba426228555db512f4e44","size":1043,"miner":"0xA4b000000000000000000073657175656e636572","height":39386139,"gas_used":112183,"tx_count":2,"gas_limit":1125899906842624,"timestamp":"2026-06-08T09:48:28.000000Z","burnt_fees":"11407077065080000","difficulty":"1","base_fee_per_gas":"101682760000"},{"hash":"0x799851bb80a70b8d7179949b55cdc28ce460131d497b521be0ef26cb33769ffe","size":816,"miner":"0xA4b000000000000000000073657175656e636572","height":39386138,"gas_used":23526,"tx_count":2,"gas_limit":1125899906842624,"timestamp":"2026-06-08T09:48:21.000000Z","burnt_fees":"2392188611760000","difficulty":"1","base_fee_per_gas":"101682760000"},{"hash":"0x1c88cb994476f4c75c3e5988cdf96a3b4479175cb6cbbfa2eafe1f01b45157d3","size":953,"miner":"0xA4b000000000000000000073657175656e636572","height":39386137,"gas_used":244527,"tx_count":2,"gas_limit":1125899906842624,"timestamp":"2026-06-08T09:48:18.000000Z","burnt_fees":"24864180254520000","difficulty":"1","base_fee_per_gas":"101682760000"},{"hash":"0xae4129c99d379b06179bee49a7cce834bf0ac5c2b3d4cddb4b450e1749aea39e","size":1214,"miner":"0xA4b000000000000000000073657175656e636572","height":39386136,"gas_used":810142,"tx_count":2,"gas_limit":1125899906842624,"timestamp":"2026-06-08T09:48:16.000000Z","burnt_fees":"82377474551920000","difficulty":"1","base_fee_per_gas":"101682760000"},{"hash":"0x8f9fa1f88c0a1ab2c736b4f0c55158c4e5ed614f1b6f489465473885bb7ca272","size":953,"miner":"0xA4b000000000000000000073657175656e636572","height":39386135,"gas_used":247995,"tx_count":2,"gas_limit":1125899906842624,"timestamp":"2026-06-08T09:48:14.000000Z","burnt_fees":"25216816066200000","difficulty":"1","base_fee_per_gas":"101682760000"},{"hash":"0x5289dd0322e44bcb977e451c7a1b971ce04b0cd5727821ec9d8c1ceeadbb5d8e","size":3140,"miner":"0xA4b000000000000000000073657175656e636572","height":39386134,"gas_used":2190701,"tx_count":2,"gas_limit":1125899906842624,"timestamp":"2026-06-08T09:48:12.000000Z","burnt_fees":"222756524014760000","difficulty":"1","base_fee_per_gas":"101682760000"},{"hash":"0xbac537ebaae192a41b1e343aa03b1b2845cb5cb85b3231662c9b833b916d3aee","size":816,"miner":"0xA4b000000000000000000073657175656e636572","height":39386133,"gas_used":23526,"tx_count":2,"gas_limit":1125899906842624,"timestamp":"2026-06-08T09:48:07.000000Z","burnt_fees":"2392188611760000","difficulty":"1","base_fee_per_gas":"101682760000"},{"hash":"0x4646e7e1d900e487be783c4c3d19fe614a27d5f9265455a57bec58535391f956","size":953,"miner":"0xA4b000000000000000000073657175656e636572","height":39386132,"gas_used":244527,"tx_count":2,"gas_limit":1125899906842624,"timestamp":"2026-06-08T09:48:04.000000Z","burnt_fees":"24864180254520000","difficulty":"1","base_fee_per_gas":"101682760000"},{"hash":"0x35c99608f529f80f2c76469afd7cb9f9b59aadeac145e342ed0058d76e34a653","size":1214,"miner":"0xA4b000000000000000000073657175656e636572","height":39386131,"gas_used":810142,"tx_count":2,"gas_limit":1125899906842624,"timestamp":"2026-06-08T09:48:03.000000Z","burnt_fees":"82377474551920000","difficulty":"1","base_fee_per_gas":"101682760000"},{"hash":"0xc036ea9c19e9bc077566621acdcf2b86b93bd73037926aaff393f59b9c9b2641","size":975,"miner":"0xA4b000000000000000000073657175656e636572","height":39386130,"gas_used":42188,"tx_count":2,"gas_limit":1125899906842624,"timestamp":"2026-06-08T09:48:02.000000Z","burnt_fees":"4289792278880000","difficulty":"1","base_fee_per_gas":"101682760000"},{"hash":"0x58868f15487ac7fa1156aa4e4c927b41dd1b9dfbd031e79150f0a77524c4e8c4","size":975,"miner":"0xA4b000000000000000000073657175656e636572","height":39386129,"gas_used":42188,"tx_count":2,"gas_limit":1125899906842624,"timestamp":"2026-06-08T09:47:58.000000Z","burnt_fees":"4289792278880000","difficulty":"1","base_fee_per_gas":"101682760000"},{"hash":"0x5a2f7850eec0cc720caccf1b12fd8241f401846b9a64f56cf8ac1ab57d1808d4","size":975,"miner":"0xA4b000000000000000000073657175656e636572","height":39386128,"gas_used":42176,"tx_count":2,"gas_limit":1125899906842624,"timestamp":"2026-06-08T09:47:57.000000Z","burnt_fees":"4288572085760000","difficulty":"1","base_fee_per_gas":"101682760000"},{"hash":"0xc6e19cb9f8beaf4ede24cad77f327b49ee51b5bcfaa27d70c9db19ee1f99f6b3","size":28118,"miner":"0xA4b000000000000000000073657175656e636572","height":39386127,"gas_used":369936,"tx_count":2,"gas_limit":1125899906842624,"timestamp":"2026-06-08T09:47:56.000000Z","burnt_fees":"37616113503360000","difficulty":"1","base_fee_per_gas":"101682760000"},{"hash":"0x9a4b3d0eb6a3de72c57e11cc9641b72f4a1b17fc1617610f11501f418663bdf1","size":816,"miner":"0xA4b000000000000000000073657175656e636572","height":39386126,"gas_used":23526,"tx_count":2,"gas_limit":1125899906842624,"timestamp":"2026-06-08T09:47:53.000000Z","burnt_fees":"2392188611760000","difficulty":"1","base_fee_per_gas":"101682760000"},{"hash":"0x4a346b4e370179b1186d757f2a8b01d42fb7fb6e8360a84d453751552c29f1d0","size":975,"miner":"0xA4b000000000000000000073657175656e636572","height":39386125,"gas_used":42188,"tx_count":2,"gas_limit":1125899906842624,"timestamp":"2026-06-08T09:47:52.000000Z","burnt_fees":"4289792278880000","difficulty":"1","base_fee_per_gas":"101682760000"},{"hash":"0xb6d086c0bac20ea3836cfca921bad17d98554e04e6dc841fa748289dd4ef934b","size":953,"miner":"0xA4b000000000000000000073657175656e636572","height":39386124,"gas_used":293537,"tx_count":2,"gas_limit":1125899906842624,"timestamp":"2026-06-08T09:47:50.000000Z","burnt_fees":"29847652322120000","difficulty":"1","base_fee_per_gas":"101682760000"},{"hash":"0x17cefbd96d5ac2dab79453886519df5112ea73497fc8ab83e91aa65ad721bf0a","size":953,"miner":"0xA4b000000000000000000073657175656e636572","height":39386123,"gas_used":244816,"tx_count":2,"gas_limit":1125899906842624,"timestamp":"2026-06-08T09:47:50.000000Z","burnt_fees":"24893566572160000","difficulty":"1","base_fee_per_gas":"101682760000"},{"hash":"0xa2c2772cf4b394f1e242cb5ea8c0daef97f99879a8fc17a1cebb8bba4f2f6aa8","size":1215,"miner":"0xA4b000000000000000000073657175656e636572","height":39386122,"gas_used":810154,"tx_count":2,"gas_limit":1125899906842624,"timestamp":"2026-06-08T09:47:49.000000Z","burnt_fees":"82378694745040000","difficulty":"1","base_fee_per_gas":"101682760000"},{"hash":"0xed96c2a4b980d22654c96322ec031fe148955921197ef5952a09421d81b163f3","size":3140,"miner":"0xA4b000000000000000000073657175656e636572","height":39386121,"gas_used":2190701,"tx_count":2,"gas_limit":1125899906842624,"timestamp":"2026-06-08T09:47:48.000000Z","burnt_fees":"222756524014760000","difficulty":"1","base_fee_per_gas":"101682760000"},{"hash":"0xbaca12ae85ce2f8969692fa90a57e0b66a0a3a37a451078e2b5e40275de88e03","size":975,"miner":"0xA4b000000000000000000073657175656e636572","height":39386120,"gas_used":42188,"tx_count":2,"gas_limit":1125899906842624,"timestamp":"2026-06-08T09:47:46.000000Z","burnt_fees":"4289792278880000","difficulty":"1","base_fee_per_gas":"101682760000"},{"hash":"0x02b0eca79726a1a646182ca216842f9ff880e69f51c2e1dc9e2b7383ad2f97a9","size":2007,"miner":"0xA4b000000000000000000073657175656e636572","height":39386119,"gas_used":254377,"tx_count":2,"gas_limit":1125899906842624,"timestamp":"2026-06-08T09:47:45.000000Z","burnt_fees":"25865755440520000","difficulty":"1","base_fee_per_gas":"101682760000"},{"hash":"0xdc55e3a1f52414653b038d1bcd587a2d69e9c82873d3ddbc946958186b60183b","size":953,"miner":"0xA4b000000000000000000073657175656e636572","height":39386118,"gas_used":523380,"tx_count":2,"gas_limit":1125899906842624,"timestamp":"2026-06-08T09:47:42.000000Z","burnt_fees":"53218722928800000","difficulty":"1","base_fee_per_gas":"101682760000"},{"hash":"0x87e3a1d8a0ad06fbd2f2b668f61fecc37c061fe8d7f48cf8a6cef10c2720c4c1","size":815,"miner":"0xA4b000000000000000000073657175656e636572","height":39386117,"gas_used":21003,"tx_count":2,"gas_limit":1125899906842624,"timestamp":"2026-06-08T09:47:41.000000Z","burnt_fees":"2135643008280000","difficulty":"1","base_fee_per_gas":"101682760000"},{"hash":"0x63c616ff4a6e30a6304f811a98710c64a7ea4c468010c8e667711aded8b27595","size":1091,"miner":"0xA4b000000000000000000073657175656e636572","height":39386116,"gas_used":774602,"tx_count":2,"gas_limit":1125899906842624,"timestamp":"2026-06-08T09:47:40.000000Z","burnt_fees":"78763669261520000","difficulty":"1","base_fee_per_gas":"101682760000"},{"hash":"0x75743081ebb6d4e9a36c614a2ba4f506f47081c1a0c56a40042174d5e1a802f9","size":953,"miner":"0xA4b000000000000000000073657175656e636572","height":39386115,"gas_used":172464,"tx_count":2,"gas_limit":1125899906842624,"timestamp":"2026-06-08T09:47:38.000000Z","burnt_fees":"17536615520640000","difficulty":"1","base_fee_per_gas":"101682760000"},{"hash":"0x8c9933e47c75f04bf7ca1d2c9c6ad1d073667b5ce5b339dc6f672d9edee5c5d9","size":1214,"miner":"0xA4b000000000000000000073657175656e636572","height":39386114,"gas_used":810142,"tx_count":2,"gas_limit":1125899906842624,"timestamp":"2026-06-08T09:47:37.000000Z","burnt_fees":"82377474551920000","difficulty":"1","base_fee_per_gas":"101682760000"},{"hash":"0x62c01a29c9552a36152b94fd29f5de50b1fbaa15dda3e1b8bfca331e10958491","size":1011,"miner":"0xA4b000000000000000000073657175656e636572","height":39386113,"gas_used":122170,"tx_count":2,"gas_limit":1125899906842624,"timestamp":"2026-06-08T09:47:36.000000Z","burnt_fees":"12422582789200000","difficulty":"1","base_fee_per_gas":"101682760000"},{"hash":"0x91309a7facac56113fa74ebfba8346c451b5a15caf67b80fb24068353cffc4f1","size":975,"miner":"0xA4b000000000000000000073657175656e636572","height":39386112,"gas_used":42176,"tx_count":2,"gas_limit":1125899906842624,"timestamp":"2026-06-08T09:47:34.000000Z","burnt_fees":"4288572085760000","difficulty":"1","base_fee_per_gas":"101682760000"},{"hash":"0x78a662f9020017f193e8d4ebbb144c4d35607449f04071a619497306b81f5cd9","size":2007,"miner":"0xA4b000000000000000000073657175656e636572","height":39386111,"gas_used":254377,"tx_count":2,"gas_limit":1125899906842624,"timestamp":"2026-06-08T09:47:34.000000Z","burnt_fees":"25865755440520000","difficulty":"1","base_fee_per_gas":"101682760000"},{"hash":"0x8428394465caff813937bc218aa7393b801543ef78437ebd17188c9f87f9447d","size":1873,"miner":"0xA4b000000000000000000073657175656e636572","height":39386110,"gas_used":119310,"tx_count":2,"gas_limit":1125899906842624,"timestamp":"2026-06-08T09:47:32.000000Z","burnt_fees":"12131770095600000","difficulty":"1","base_fee_per_gas":"101682760000"},{"hash":"0xd7592740f340c231b8fb07b326e997b327d0d8add42b22f2bfc4989b1a2aa2c6","size":953,"miner":"0xA4b000000000000000000073657175656e636572","height":39386109,"gas_used":301747,"tx_count":2,"gas_limit":1125899906842624,"timestamp":"2026-06-08T09:47:30.000000Z","burnt_fees":"30682467781720000","difficulty":"1","base_fee_per_gas":"101682760000"},{"hash":"0xa30f88f9908bf75818cb90287108c2364a6af5412ddf1f2b270d044ade91bd94","size":2007,"miner":"0xA4b000000000000000000073657175656e636572","height":39386108,"gas_used":254377,"tx_count":2,"gas_limit":1125899906842624,"timestamp":"2026-06-08T09:47:30.000000Z","burnt_fees":"25865755440520000","difficulty":"1","base_fee_per_gas":"101682760000"}]},"meta":{"timestamp":"2026-06-08T09:49:01.195Z","request_id":"39abe23a-b1c1-431d-b9f8-6972dcf5692c"},"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/address":{"get":{"operationId":"get_v1_address","tags":["Accounts"],"summary":"Account balance & holdings","description":"","parameters":[{"name":"address","in":"query","required":true,"description":"Account address (0x + 40 hex)","schema":{"type":"string"},"example":"0xCfdEe1E80f67d45761F321f3c9eCB28AAe769810"}],"security":[{"oanorKey":[]}],"responses":{"200":{"description":"OK","content":{"application/json":{"example":{"data":{"address":{"hash":"0xCfdEe1E80f67d45761F321f3c9eCB28AAe769810","balance_ape":166.1572865920117,"balance_wei":"166157286592011706571","is_contract":false,"is_verified":false}},"meta":{"timestamp":"2026-06-08T09:49:01.560Z","request_id":"6cf0e416-fb07-42fa-ad80-5e2534acca92"},"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":["Transactions"],"summary":"A transaction by hash","description":"","parameters":[{"name":"hash","in":"query","required":true,"description":"Transaction hash (0x + 64 hex)","schema":{"type":"string"},"example":"0x85c930da7249b62653992c5c695e1e93aedcb5b0048f4679bb161037f72e752d"}],"security":[{"oanorKey":[]}],"responses":{"200":{"description":"OK","content":{"application/json":{"example":{"data":{"transaction":{"to":"0x0000000071727De22E5E9d8BAf0edAc6f37da032","from":"0xCfdEe1E80f67d45761F321f3c9eCB28AAe769810","hash":"0x85c930da7249b62653992c5c695e1e93aedcb5b0048f4679bb161037f72e752d","type":2,"block":39379419,"nonce":84687,"method":"handleOps","status":"ok","fee_ape":0.0258645352474,"fee_wei":"25864535247400000","gas_used":254365,"gas_price":"101682760000","timestamp":"2026-06-08T07:03:33.000000Z","value_ape":0,"value_wei":"0","confirmations":6739}},"meta":{"timestamp":"2026-06-08T09:49:01.863Z","request_id":"37b07735-f012-40c2-9f0b-d65f1986f28e"},"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/token":{"get":{"operationId":"get_v1_token","tags":["Tokens"],"summary":"ERC-20 token metadata","description":"","parameters":[{"name":"address","in":"query","required":true,"description":"Token contract address","schema":{"type":"string"},"example":"0x75785fc84D68C9848feC6ed602118c129db20367"}],"security":[{"oanorKey":[]}],"responses":{"200":{"description":"OK","content":{"application/json":{"example":{"data":{"token":{"name":"Arbinaut","type":"ERC-721","symbol":"APENAUT","address":"0x75785fc84D68C9848feC6ed602118c129db20367","holders":406154,"total_supply":"1228757"}},"meta":{"timestamp":"2026-06-08T09:49:02.161Z","request_id":"b7f20cbb-f69d-49ea-864b-01a4562b5738"},"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/search":{"get":{"operationId":"get_v1_search","tags":["Search"],"summary":"Universal search","description":"","parameters":[{"name":"q","in":"query","required":true,"description":"Address, token, block or tx","schema":{"type":"string"},"example":"APENAUT"}],"security":[{"oanorKey":[]}],"responses":{"200":{"description":"OK","content":{"application/json":{"example":{"data":{"count":3,"query":"APENAUT","results":[{"name":"Arbinaut","type":"token","symbol":"APENAUT","address":"0x75785fc84D68C9848feC6ed602118c129db20367"},{"name":"APENAUTA","type":"token","symbol":"APENAUTA","address":"0xC4D342e2d330f713692F9EA695BED9E08FD00e74"},{"name":"Arbinaut","type":"token","symbol":"APENAUT","address":"0x4B58509aC08a49F562f3B91348c34DFC6d99032D"}]},"meta":{"timestamp":"2026-06-08T09:49:02.491Z","request_id":"6070f553-09af-4676-badc-b3abaa6f90ac"},"status":"ok","message":"Search results 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":"Spec","description":"","parameters":[],"security":[{"oanorKey":[]}],"responses":{"200":{"description":"OK","content":{"application/json":{"example":{"data":{"service":"apechain-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, coin price, market cap, gas).","GET /v1/token":"ERC-20 token detail by contract (address=).","GET /v1/blocks":"The most recent blocks.","GET /v1/search":"Search addresses, tokens, blocks & txns (q=).","GET /v1/address":"Address balance, ENS & contract info (address=).","GET /v1/transaction":"Transaction detail (hash=)."},"description":"Live ApeChain on-chain data via Blockscout: network stats, a gas oracle (gwei), recent blocks and block detail, address balances with ENS, transaction detail, ERC-20 token detail and a universal search across addresses, tokens, blocks and transactions. ApeChain is the ApeCoin DAO Layer 2; gas, balances and fees are in APE. Real on-chain data, no key."},"meta":{"timestamp":"2026-06-08T09:49:02.591Z","request_id":"d690850d-86d6-4ea6-9d9b-504452287658"},"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":5400,"rps_limit":2,"hard_limit":true},{"slug":"basic","name":"Basic","price_cents_month":3250,"monthly_call_quota":152000,"rps_limit":8,"hard_limit":true},{"slug":"pro","name":"Pro","price_cents_month":10000,"monthly_call_quota":845000,"rps_limit":20,"hard_limit":true},{"slug":"mega","name":"Mega","price_cents_month":33500,"monthly_call_quota":4850000,"rps_limit":50,"hard_limit":true}],"x-oanor-marketplace-url":"https://www.oanor.com/api/apechain-api"}