Skip to content
GET /v1/meta

Platform epochs & layouts

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/snowflake-api

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

Get an API key

Code snippets

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_..."}
)

Example response

A real response from this endpoint, captured by the latest 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
}