{"openapi":"3.1.0","info":{"title":"Transaction Lookup API","version":"1.0.0","description":"Live blockchain transaction, receipt and block lookup, read straight from the chain's public JSON-RPC node — no key, nothing cached. Give it a transaction hash and the transaction endpoint returns the full picture: the sender and recipient, the value moved (in wei and human ETH), the gas limit and gas price, the nonce, the block it landed in, the input-data size, and — by also reading the receipt — whether it succeeded or failed, the gas actually used, the effective gas price, the fee paid in ETH, the number of event logs it emitted, any contract it created and how many confirmations it now has. The receipt endpoint returns just the execution result (status, gas used, logs, contract address). The block endpoint takes a block number or \"latest\" and returns its timestamp, transaction count, gas used and limit with utilisation, base fee and miner. It works across seven EVM chains — Ethereum, Polygon, BNB Smart Chain, Arbitrum, Optimism, Base and Avalanche — with friendly aliases (eth, matic, bnb, arb, op, avax). This is the explorer-grade transaction layer every wallet, payment processor, dapp and dashboard needs to confirm and inspect on-chain activity. Read live from the chain, nothing stored. Distinct from balance, token-metadata and name-resolution APIs — this is transaction, receipt and block data read directly from the blockchain. 4 endpoints across 7 chains.","contact":{"name":"PremiumApi","url":"https://www.oanor.com/by/premiumapi"}},"servers":[{"url":"https://api.oanor.com/txlookup-api","description":"oanor gateway"}],"tags":[{"name":"Transaction"},{"name":"Block"},{"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/receipt":{"get":{"operationId":"get_v1_receipt","tags":["Transaction"],"summary":"Execution receipt by hash","description":"","parameters":[{"name":"hash","in":"query","required":true,"description":"Transaction hash (0x… 64 hex)","schema":{"type":"string"},"example":"0xbaf480b3f5c4530e96b054b61feaa82eb86aa41401ef321675eebcf04651304e"},{"name":"chain","in":"query","required":false,"description":"Chain (default ethereum)","schema":{"type":"string"},"example":"ethereum"}],"security":[{"oanorKey":[]}],"responses":{"200":{"description":"OK","content":{"application/json":{"example":{"data":{"to":"0x0000000aa232009084bd71a5797d089aa4edfad4","from":"0x5875db54cd9ae2b2a875e09bb731772297ae9d92","hash":"0xbaf480b3f5c4530e96b054b61feaa82eb86aa41401ef321675eebcf04651304e","chain":"ethereum","status":"success","fee_eth":"0.000020601216979068","explorer":"https://etherscan.io/tx/0xbaf480b3f5c4530e96b054b61feaa82eb86aa41401ef321675eebcf04651304e","gas_used":155094,"logs_count":5,"block_number":25277272,"effective_gas_price_gwei":0.133},"meta":{"timestamp":"2026-06-09T11:39:53.550Z","request_id":"06b4a3c0-2e19-4203-bc8a-c98fd7f84206"},"status":"ok","message":"Receipt 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":["Transaction"],"summary":"Transaction + receipt by hash","description":"","parameters":[{"name":"hash","in":"query","required":true,"description":"Transaction hash (0x… 64 hex)","schema":{"type":"string"},"example":"0xbaf480b3f5c4530e96b054b61feaa82eb86aa41401ef321675eebcf04651304e"},{"name":"chain","in":"query","required":false,"description":"Chain (default ethereum)","schema":{"type":"string"},"example":"ethereum"}],"security":[{"oanorKey":[]}],"responses":{"200":{"description":"OK","content":{"application/json":{"example":{"data":{"to":"0x0000000aa232009084bd71a5797d089aa4edfad4","from":"0x5875db54cd9ae2b2a875e09bb731772297ae9d92","hash":"0xbaf480b3f5c4530e96b054b61feaa82eb86aa41401ef321675eebcf04651304e","chain":"ethereum","nonce":48558,"status":"success","fee_eth":"0.000020601216979068","explorer":"https://etherscan.io/tx/0xbaf480b3f5c4530e96b054b61feaa82eb86aa41401ef321675eebcf04651304e","gas_used":155094,"gas_limit":358692,"value_eth":"0","value_wei":"0","logs_count":5,"block_number":25277272,"confirmations":2354,"gas_price_gwei":0.133,"input_size_bytes":452,"effective_gas_price_gwei":0.133},"meta":{"timestamp":"2026-06-09T11:39:53.738Z","request_id":"4bc82deb-1760-4faa-b9b9-0ce394021780"},"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/block":{"get":{"operationId":"get_v1_block","tags":["Block"],"summary":"Block summary","description":"","parameters":[{"name":"number","in":"query","required":false,"description":"Block number or \"latest\"","schema":{"type":"string"},"example":"latest"},{"name":"chain","in":"query","required":false,"description":"Chain (default ethereum)","schema":{"type":"string"},"example":"ethereum"}],"security":[{"oanorKey":[]}],"responses":{"200":{"description":"OK","content":{"application/json":{"example":{"data":{"hash":"0x49daa029c7bff41141ddfec3a77dab6acd5f5e47c4e2fabc8c3a7f7b8184d05e","chain":"ethereum","miner":"0x396343362be2a4da1ce0c1c210945346fb82aa49","number":25279626,"gas_used":23947378,"tx_count":240,"gas_limit":60000000,"timestamp":1781005187,"gas_used_pct":39.9,"base_fee_gwei":0.154,"timestamp_iso":"2026-06-09T11:39:47.000Z"},"meta":{"timestamp":"2026-06-09T11:39:53.909Z","request_id":"b7a34d1e-bf19-46cc-b96f-151cb415fddc"},"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/meta":{"get":{"operationId":"get_v1_meta","tags":["Meta"],"summary":"Spec","description":"","parameters":[],"security":[{"oanorKey":[]}],"responses":{"200":{"description":"OK","content":{"application/json":{"example":{"data":{"chains":["ethereum","polygon","bsc","arbitrum","optimism","base","avalanche"],"source":"Public chain RPC (publicnode) — getTransactionByHash / Receipt / getBlockByNumber (live)","service":"txlookup-api","endpoints":{"GET /v1/meta":"This document.","GET /v1/block":"A block's summary (number=latest or N, chain=): timestamp, tx count, gas, base fee, miner.","GET /v1/receipt":"Just the execution receipt (hash=0x…, chain=): status, gas used, logs, contract created.","GET /v1/transaction":"Full transaction + receipt (hash=0x…, chain=ethereum): parties, value, gas, status, fee, confirmations."},"description":"Live blockchain transaction, receipt and block lookup read on-chain via public JSON-RPC: a transaction hash returns sender, recipient, value (wei + ETH), gas, nonce, block, success/failure, gas used, effective gas price, fee paid, log count, contract created and confirmations; the receipt endpoint returns just the execution result; the block endpoint returns a block's timestamp, tx count, gas usage, base fee and miner. Across Ethereum, Polygon, BSC, Arbitrum, Optimism, Base and Avalanche. Live, no key. Distinct from balance, token-metadata and name-resolution APIs — this is transaction, receipt and block data read directly from the blockchain.","upstream_status":"ok"},"meta":{"timestamp":"2026-06-09T11:39:54.050Z","request_id":"0fc72da5-34f8-436f-8c3e-96e9a96f6bb0"},"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":10500,"rps_limit":3,"hard_limit":true},{"slug":"starter","name":"Starter","price_cents_month":950,"monthly_call_quota":135000,"rps_limit":8,"hard_limit":true},{"slug":"pro","name":"Pro","price_cents_month":2450,"monthly_call_quota":640000,"rps_limit":15,"hard_limit":true},{"slug":"scale","name":"Scale","price_cents_month":5900,"monthly_call_quota":3200000,"rps_limit":30,"hard_limit":true}],"x-oanor-marketplace-url":"https://www.oanor.com/api/txlookup-api"}