/v1/meta
Service metadata & live sample
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/blocktime-api/v1/meta" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/blocktime-api/v1/meta", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/blocktime-api/v1/meta");
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/blocktime-api/v1/meta",
headers={"x-oanor-key": "oanor_test_..."}
)
Beispiel-Response
Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.
{
"data": {
"note": "at takes chain (e.g. ethereum, polygon, arbitrum, base, optimism, bsc) and timestamp (unix seconds) or date (YYYY-MM-DD). range takes chain, start and end (each a timestamp or date).",
"sample": {
"chain": "ethereum",
"block_height": 18908895
},
"source": "DeFiLlama open coins API (coins.llama.fi/block), live",
"service": "blocktime-api",
"endpoints": {
"GET /v1/at": "Block height at a timestamp/date on a chain (chain=ethereum, timestamp=1704067200).",
"GET /v1/meta": "This document.",
"GET /v1/range": "Start/end block, block count and avg block time for a window (chain, start, end)."
},
"description": "Convert a timestamp or date into the block number that was live at that moment on any of 100+ blockchains, keyless. Answers the two questions on-chain analysts ask constantly: what block was chain X at time T (to query historical state), and which blocks cover a time window (to scan a period — returning start and end block, block count and average block time). Live, nothing stored beyond a short cache. The timestamp-to-block layer for EVM and non-EVM chains alike. Backed by the open DeFiLlama coins API.",
"upstream_status": "ok"
},
"meta": {
"timestamp": "2026-06-14T08:04:14.500Z",
"request_id": "55d8d174-d0e1-466d-a6c6-e45d4e847046"
},
"status": "ok",
"message": "Meta",
"success": true
}