Skip to content
GET /v1/transaction

Transaction + receipt by hash

Try it live

10 free calls per day — no sign-up, no API key. Goes through the oanor gateway.

Custom headers (optional)
api.oanor.com/txlookup-api

It works. Grab an API key and use it in your project.

Get an API key

Code snippets

curl "https://api.oanor.com/txlookup-api/v1/transaction" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/txlookup-api/v1/transaction", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/txlookup-api/v1/transaction");
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$out = curl_exec($ch);
import requests
requests.get(
    "https://api.oanor.com/txlookup-api/v1/transaction",
    headers={"x-oanor-key": "oanor_test_..."}
)

Example response

A real response from this endpoint, captured by the latest health check.

{
    "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,
        "contract_created": null,
        "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
}