Skip to content
GET /v1/transaction

A transaction 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/degen-api

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

Get an API key

Code snippets

curl "https://api.oanor.com/degen-api/v1/transaction" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/degen-api/v1/transaction", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/degen-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/degen-api/v1/transaction",
    headers={"x-oanor-key": "oanor_test_..."}
)

Example response

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

{
    "data": {
        "transaction": {
            "to": "0x00000000000000000000000000000000000A4B05",
            "from": "0x00000000000000000000000000000000000A4B05",
            "hash": "0xcc00fbb3a0c3a9470dd66e23180047c759d4cb4f358be41e782cca14ccfb6a68",
            "type": 106,
            "block": 26842864,
            "nonce": 0,
            "method": "startBlock",
            "status": "ok",
            "fee_wei": "0",
            "gas_used": 0,
            "fee_degen": 0,
            "gas_price": "120000000000",
            "timestamp": "2026-06-08T02:00:12.000000Z",
            "value_wei": "0",
            "value_degen": 0,
            "confirmations": 464
        }
    },
    "meta": {
        "timestamp": "2026-06-08T09:51:25.495Z",
        "request_id": "0852fe69-293a-4769-9648-15ce13ca9143"
    },
    "status": "ok",
    "message": "Transaction retrieved successfully",
    "success": true
}