/v1/tx
Transaction detail
Live testen
10 freie Calls pro Tag — keine Anmeldung, kein API-Key. Geht durchs oanor-Gateway.
Funktioniert. Hol dir einen API-Key und nutze sie in deinem Projekt.
API-Key holenCode-Snippets
curl "https://api.oanor.com/bitcoin-api/v1/tx" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/bitcoin-api/v1/tx", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/bitcoin-api/v1/tx");
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/bitcoin-api/v1/tx",
headers={"x-oanor-key": "oanor_test_..."}
)
Beispiel-Response
Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.
{
"data": {
"transaction": {
"size": 300,
"txid": "cca7507897abc89628f450e8b1e0c6fca4ec3f7b34cccf55f3f531c659ff4d79",
"inputs": [
{
"address": "17SkEw2md5avVNyYgj6RiXuQKNwkXaxFyQ",
"value_sats": 1000000000000
}
],
"weight": 1200,
"fee_btc": 0,
"outputs": [
{
"type": "p2pkh",
"address": "1MLh2UVHgonJY4ZtsakoXtkcXDJ2EPU6RY",
"value_sats": 577700000000
},
{
"type": "p2pk",
"address": null,
"value_sats": 422300000000
}
],
"version": 1,
"fee_sats": 0,
"confirmed": true,
"block_time": 1274552768,
"input_count": 1,
"block_height": 57044,
"output_count": 2,
"total_in_sats": 1000000000000,
"total_out_sats": 1000000000000
}
},
"meta": {
"timestamp": "2026-06-01T00:03:51.766Z",
"request_id": "e064b5af-5dab-48cc-9d55-8abe43bfcef9"
},
"status": "ok",
"message": "Transaction retrieved",
"success": true
}