{"openapi":"3.1.0","info":{"title":"Sonic Network API","version":"1.0.0","description":"Live on-chain data for Sonic (chain-id 146), a high-performance EVM-compatible Layer 1 (the network formerly known as Fantom) with the S gas token. 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 S balance (in wei and whole S) 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, Cosmos and Move-chain APIs on the marketplace: this surfaces the Sonic EVM network specifically.","contact":{"name":"PremiumApi","url":"https://www.oanor.com/by/premiumapi"}},"servers":[{"url":"https://api.oanor.com/sonic-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":"Sonic Mainnet","syncing":false,"chain_id":146,"block_number":73923379,"native_token":"S","gas_price_wei":"55000000000","client_version":"Sonic/v2.1.6-26dd110c-1773221015/linux-amd64/go1.26.2","gas_price_gwei":55},"meta":{"timestamp":"2026-06-15T11:15:08.194Z","request_id":"aa6b8aea-8433-4519-a097-a6f023349175"},"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":"0x47215bd67c16d633a958dbc9180c8c60c0cab72b80b31e007f74e7bfcd509f79","miner":"0x0000000000000000000000000000000000000000","number":73923379,"gas_used":21000,"gas_limit":5000000000,"timestamp":1781522106,"size_bytes":659,"parent_hash":"0xc2b85d92755022a77e31477c565434f8ed426e5d95e87e3a3a564534129d6edd","transaction_count":1,"base_fee_per_gas_wei":"50000000000"},"meta":{"timestamp":"2026-06-15T11:15:08.324Z","request_id":"d38a5eb6-4444-4208-88f9-5607425a3496"},"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":"S","gas_price_wei":"55000000000","gas_price_gwei":55,"max_priority_fee_wei":"1","max_priority_fee_gwei":0},"meta":{"timestamp":"2026-06-15T11:15:08.460Z","request_id":"e5b46035-5f40-4905-bbb7-e51451542e4d"},"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":"S 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_s":1866329.82037939,"balance_wei":"1866329820379387594759442","transaction_count":0},"meta":{"timestamp":"2026-06-15T11:15:08.594Z","request_id":"d5599b97-5928-47c5-8886-56d5a9861563"},"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":"Sonic Network API","source":"Sonic public JSON-RPC (rpc.soniclabs.com)","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":"S balance and nonce for an address (?address=0x…)"},{"path":"/v1/meta","description":"This metadata document"}],"disclaimer":"Unofficial proxy of the public Sonic JSON-RPC. Not affiliated with Sonic Labs. Data only; no guarantees of accuracy or availability.","description":"On-chain data for Sonic (chain-id 146), a high-performance EVM-compatible Layer 1 with the S gas token. Exposes chain status, blocks, current gas prices and account balances via the public JSON-RPC.","native_token":{"symbol":"S","decimals":18}},"meta":{"timestamp":"2026-06-15T11:15:08.682Z","request_id":"f8f79611-5767-479d-9b7e-339d5e49f530"},"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":1760,"rps_limit":2,"hard_limit":true},{"slug":"basic","name":"Basic","price_cents_month":1130,"monthly_call_quota":48300,"rps_limit":6,"hard_limit":true},{"slug":"pro","name":"Pro","price_cents_month":3090,"monthly_call_quota":188000,"rps_limit":18,"hard_limit":true},{"slug":"scale","name":"Scale","price_cents_month":6960,"monthly_call_quota":826000,"rps_limit":45,"hard_limit":true}],"x-oanor-marketplace-url":"https://www.oanor.com/api/sonic-api"}