/v1/price
Permanent storage cost for N bytes, in winston / AR / USD
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/arweave-api/v1/price" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/arweave-api/v1/price", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/arweave-api/v1/price");
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/arweave-api/v1/price",
headers={"x-oanor-key": "oanor_test_..."}
)
Beispiel-Response
Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.
{
"data": {
"mib": 1024,
"note": "The one-time permanent-storage cost to store this many bytes on Arweave, in winston (1 AR = 10^12 winston), AR and US dollars. Pay once, stored forever. Pass bytes for any data size (default 1 MiB).",
"bytes": 1073741824,
"source": "Arweave gateway",
"cost_ar": 10.48593911,
"cost_usd": 20.762159,
"ar_usd_price": 1.98,
"cost_winston": "10485939107134"
},
"meta": {
"timestamp": "2026-06-14T17:04:35.077Z",
"request_id": "66aaf97a-549f-4265-a4af-0c6b5f90e422"
},
"status": "ok",
"message": "Price retrieved successfully",
"success": true
}