{"openapi":"3.1.0","info":{"title":"Funki API","version":"1.0.0","description":"Live EVM on-chain data for Funki (chain id 33979) — an OP-Stack Layer-2 built for gaming and social applications, with gas paid in ETH — served directly from the public Funki JSON-RPC with server-side resilience. The status endpoint returns the chain and network id, the latest block height and the node client version. The block endpoint returns a block by number (or the latest) with its hash, parent hash, timestamp, transaction count, gas used and gas limit, miner and size. The gas endpoint returns the current gas price in both wei and gwei. The balance endpoint returns the ETH balance and outgoing transaction count for any address, converted from base wei (18 decimals) into whole ETH with exact big-integer scaling. Every figure is read live from the chain over JSON-RPC — nothing bundled or modelled — behind a short server-side cache with keep-warm so the feed stays fast and fresh. Ideal for explorers, wallet and dashboard tooling, gas trackers, address monitors and analytics apps across the Funki gaming and social ecosystem. Live keyless upstream. 5 endpoints.","contact":{"name":"PremiumApi","url":"https://www.oanor.com/by/premiumapi"}},"servers":[{"url":"https://api.oanor.com/funki-api","description":"oanor gateway"}],"tags":[{"name":"Funki"},{"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/balance":{"get":{"operationId":"get_v1_balance","tags":["Funki"],"summary":"Address balance & tx count","description":"","parameters":[{"name":"address","in":"query","required":false,"description":"EVM address (0x + 40 hex)","schema":{"type":"string"},"example":"0x000000000000000000000000000000000000dEaD"}],"security":[{"oanorKey":[]}],"responses":{"200":{"description":"OK","content":{"application/json":{"example":{"data":{"chain":"Funki","symbol":"ETH","address":"0x000000000000000000000000000000000000dEaD","balance":0,"tx_count":0,"balance_wei":"0"},"meta":{"timestamp":"2026-06-15T20:40:16.443Z","request_id":"2a5ae138-95ae-4e7b-9113-98871e16de01"},"status":"ok","message":"Funki balance retrieved","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":["Funki"],"summary":"Block by number (or latest)","description":"","parameters":[{"name":"number","in":"query","required":false,"description":"Block number; omit for latest","schema":{"type":"string"},"example":"5000000"}],"security":[{"oanorKey":[]}],"responses":{"200":{"description":"OK","content":{"application/json":{"example":{"data":{"hash":"0x5239147aba58d96e62427b5bccbbd085279d784d7a734849176cc6bbd9bd4d31","chain":"Funki","miner":"0x4200000000000000000000000000000000000011","number":5000000,"gas_used":43842,"tx_count":1,"gas_limit":30000000,"timestamp":1731211095,"size_bytes":839,"parent_hash":"0x607e5866f3717cfe3bd9d98eb775ee73b4b20dca7136fc42a55826edb7da1403","timestamp_iso":"2024-11-10T03:58:15.000Z"},"meta":{"timestamp":"2026-06-15T20:40:16.678Z","request_id":"106066c7-01c7-4a5e-904a-515bea1f7528"},"status":"ok","message":"Funki block retrieved","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":["Funki"],"summary":"Current gas price","description":"","parameters":[],"security":[{"oanorKey":[]}],"responses":{"200":{"description":"OK","content":{"application/json":{"example":{"data":{"chain":"Funki","source":"eth_gasPrice","symbol":"ETH","gas_price_wei":1000253,"gas_price_gwei":0.001000253},"meta":{"timestamp":"2026-06-15T20:40:16.927Z","request_id":"e7843d3a-4792-484f-b209-418d2d14e02e"},"status":"ok","message":"Funki gas retrieved","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/status":{"get":{"operationId":"get_v1_status","tags":["Funki"],"summary":"Chain status","description":"","parameters":[],"security":[{"oanorKey":[]}],"responses":{"200":{"description":"OK","content":{"application/json":{"example":{"data":{"chain":"Funki","source":"Funki L2 RPC","symbol":"ETH","chain_id":33979,"network_id":33979,"latest_block":30172460,"client_version":"reth/v2.2.0-7680d6d/x86_64-unknown-linux-gnu"},"meta":{"timestamp":"2026-06-15T20:40:17.523Z","request_id":"b6aa4235-b52f-459f-a4a1-6c7f5f1cee56"},"status":"ok","message":"Funki status retrieved","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":{"api":"Funki API","chain":"Funki","source":"Funki L2 JSON-RPC nodes","symbol":"ETH","chain_id":33979,"endpoints":["/v1/status","/v1/block","/v1/gas","/v1/balance","/v1/meta"],"description":"Live EVM on-chain data for Funki — an OP-Stack Layer-2 for gaming and social apps, gas paid in ETH.","documentation":"https://funki-api.oanor.dev"},"meta":{"timestamp":"2026-06-15T20:40:17.600Z","request_id":"c20127b4-ff5a-4e87-90ab-4e979fde0e7e"},"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":320,"rps_limit":2,"hard_limit":true},{"slug":"starter","name":"Starter","price_cents_month":1170,"monthly_call_quota":15100,"rps_limit":8,"hard_limit":true},{"slug":"pro","name":"Pro","price_cents_month":3470,"monthly_call_quota":83000,"rps_limit":16,"hard_limit":true},{"slug":"mega","name":"Mega","price_cents_month":8390,"monthly_call_quota":335000,"rps_limit":40,"hard_limit":true}],"x-oanor-marketplace-url":"https://www.oanor.com/api/funki-api"}