{"openapi":"3.1.0","info":{"title":"Linea Network API","version":"1.0.0","description":"Live on-chain data for Linea (chain-id 59144), a Consensys zkEVM Layer 2 that settles to Ethereum and uses ETH for gas. Read the chain status — chain id, latest block number, current gas price, node client version and sync state — fetch any block by number (or the latest) with its hash, parent hash, timestamp, transaction count, gas used and limit, base fee and proposer, read the current gas price and max priority fee in both wei and gwei, and look up any account address for its ETH balance (in wei and whole ETH) and transaction nonce. Addresses use the standard 0x EVM hex form. A short protective cache keeps responses fast while staying within a few seconds of the chain. Distinct from other Layer-1, Layer-2 and Cosmos-chain APIs on the marketplace: this surfaces the Linea zkEVM network specifically.","contact":{"name":"PremiumApi","url":"https://www.oanor.com/by/premiumapi"}},"servers":[{"url":"https://api.oanor.com/linea-api","description":"oanor gateway"}],"tags":[{"name":"Chain"},{"name":"Blocks"},{"name":"Gas"},{"name":"Accounts"},{"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/status":{"get":{"operationId":"get_v1_status","tags":["Chain"],"summary":"Chain status","description":"","parameters":[],"security":[{"oanorKey":[]}],"responses":{"200":{"description":"OK","content":{"application/json":{"example":{"data":{"network":"Linea Mainnet","syncing":false,"chain_id":59144,"block_number":31040546,"native_token":"ETH","gas_price_wei":"41904000","client_version":"besu/v26.3.0-RC0-0676100/linux-x86_64/openjdk-java-25","gas_price_gwei":0.041904},"meta":{"timestamp":"2026-06-15T11:15:00.811Z","request_id":"6aa751da-edb6-4fba-aa5f-3adfd727ec4c"},"status":"ok","message":"Status 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":"Block by number (latest if omitted)","description":"","parameters":[{"name":"number","in":"query","required":false,"description":"Block number; omit for latest","schema":{"type":"string"}}],"security":[{"oanorKey":[]}],"responses":{"200":{"description":"OK","content":{"application/json":{"example":{"data":{"hash":"0x8a179935ee4cf239cd9eda93d319a4ac469c227c27e84aaca74d4e18f3cbad0d","miner":"0x8f81e2e3f8b46467523463835f965ffe476e1c9e","number":31040546,"gas_used":24298,"gas_limit":2000000000,"timestamp":1781522086,"size_bytes":824,"parent_hash":"0x92dc40aeb82ebd444b0bf1f31ff05635ed7081b7fa3c057c6b3a07192ed8739a","transaction_count":1,"base_fee_per_gas_wei":"7"},"meta":{"timestamp":"2026-06-15T11:15:01.058Z","request_id":"f4a652dd-306b-4be4-bc06-93eb01a3a512"},"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/gas":{"get":{"operationId":"get_v1_gas","tags":["Gas"],"summary":"Current gas price and max priority fee","description":"","parameters":[],"security":[{"oanorKey":[]}],"responses":{"200":{"description":"OK","content":{"application/json":{"example":{"data":{"native_token":"ETH","gas_price_wei":"41904000","gas_price_gwei":0.041904,"max_priority_fee_wei":"50284793","max_priority_fee_gwei":0.050285},"meta":{"timestamp":"2026-06-15T11:15:01.295Z","request_id":"9811aa42-cbdc-4bc4-9f89-23c974fa4259"},"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/balance":{"get":{"operationId":"get_v1_balance","tags":["Accounts"],"summary":"ETH balance and nonce for an address","description":"","parameters":[{"name":"address","in":"query","required":true,"description":"EVM address (0x + 40 hex)","schema":{"type":"string"},"example":"0x000000000000000000000000000000000000dEaD"}],"security":[{"oanorKey":[]}],"responses":{"200":{"description":"OK","content":{"application/json":{"example":{"data":{"address":"0x000000000000000000000000000000000000dead","balance_eth":0.00879493,"balance_wei":"8794933319849863","transaction_count":0},"meta":{"timestamp":"2026-06-15T11:15:01.550Z","request_id":"3222fee0-1081-4690-97dc-2cf23b26348f"},"status":"ok","message":"Balance 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 metadata","description":"","parameters":[],"security":[{"oanorKey":[]}],"responses":{"200":{"description":"OK","content":{"application/json":{"example":{"data":{"name":"Linea Network API","source":"Linea public JSON-RPC (rpc.linea.build)","endpoints":[{"path":"/v1/status","description":"Chain id, latest block number, gas price, client version, sync state"},{"path":"/v1/block","description":"Block by number (?number=; omit for latest)"},{"path":"/v1/gas","description":"Current gas price and max priority fee (wei + gwei)"},{"path":"/v1/balance","description":"ETH balance and nonce for an address (?address=0x…)"},{"path":"/v1/meta","description":"This metadata document"}],"disclaimer":"Unofficial proxy of the public Linea JSON-RPC. Not affiliated with Linea / Consensys. Data only; no guarantees of accuracy or availability.","description":"On-chain data for Linea (chain-id 59144), a Consensys zkEVM Layer 2 that settles to Ethereum and uses ETH for gas. Exposes chain status, blocks, current gas prices and account balances via the public JSON-RPC.","native_token":{"symbol":"ETH","decimals":18}},"meta":{"timestamp":"2026-06-15T11:15:01.615Z","request_id":"b9bd2835-7bef-413f-a40b-9b365ee43ae2"},"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":1900,"rps_limit":2,"hard_limit":true},{"slug":"basic","name":"Basic","price_cents_month":1170,"monthly_call_quota":47600,"rps_limit":6,"hard_limit":true},{"slug":"pro","name":"Pro","price_cents_month":3140,"monthly_call_quota":199000,"rps_limit":18,"hard_limit":true},{"slug":"scale","name":"Scale","price_cents_month":7160,"monthly_call_quota":842000,"rps_limit":45,"hard_limit":true}],"x-oanor-marketplace-url":"https://www.oanor.com/api/linea-api"}