/v1/meta
Platform epochs & layouts
Provalo dal vivo
10 chiamate gratuite al giorno — senza registrazione, senza chiave API. Passa dal gateway oanor.
Funziona. Prendi una chiave API e usala nel tuo progetto.
Ottieni una chiave APIFrammenti di codice
curl "https://api.oanor.com/snowflake-api/v1/meta" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/snowflake-api/v1/meta", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/snowflake-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/snowflake-api/v1/meta",
headers={"x-oanor-key": "oanor_test_..."}
)
Risposta di esempio
Una risposta reale di questo endpoint, acquisita dall'ultimo health check.
{
"data": {
"note": "Decode and build snowflake IDs — the 64-bit, time-sortable identifiers used by Twitter/X, Discord, Instagram and many distributed systems. /v1/decode?id=175928847299117063&platform=discord extracts the embedded creation timestamp (the headline use — turn any Discord/Twitter/Instagram ID into the exact moment it was created) plus the machine and sequence components for the chosen platform's epoch and bit layout. Supported platforms: twitter (X), discord, instagram, sony, and custom (pass your own epoch). /v1/encode?timestamp=2024-01-01T00:00:00Z&platform=twitter builds the lower-bound snowflake for a time, so you can query 'all IDs created at or after this moment' — the standard trick for time-based pagination on snowflake APIs. Everything is computed locally with BigInt math and no network calls. Ideal for analytics, data forensics, API pagination and debugging. A snowflake-ID toolkit — distinct from UUID/ULID generation (uuid) and date/time math (datetime). No key, no cache.",
"endpoints": [
"/v1/decode",
"/v1/encode",
"/v1/meta"
],
"platforms": {
"sony": {
"fields": [
"worker_id(10b)",
"sequence(12b)"
],
"epoch_ms": 1420070400000,
"epoch_iso": "2015-01-01T00:00:00.000Z"
},
"discord": {
"fields": [
"worker_id(5b)",
"process_id(5b)",
"increment(12b)"
],
"epoch_ms": 1420070400000,
"epoch_iso": "2015-01-01T00:00:00.000Z"
},
"twitter": {
"fields": [
"datacenter_id(5b)",
"worker_id(5b)",
"sequence(12b)"
],
"epoch_ms": 1288834974657,
"epoch_iso": "2010-11-04T01:42:54.657Z"
},
"instagram": {
"fields": [
"shard_id(13b)",
"sequence(10b)"
],
"epoch_ms": 1314220021721,
"epoch_iso": "2011-08-24T21:07:01.721Z"
}
}
},
"meta": {
"timestamp": "2026-06-01T23:40:44.234Z",
"request_id": "d53ab922-74ac-4aff-8a5c-3496c4f4ef1f"
},
"status": "ok",
"message": "Meta retrieved",
"success": true
}