#timestamp
3 APIs con questa etichetta
Block Time API
Konvertieren Sie einen Zeitstempel oder ein Datum in die Blocknummer, die zu diesem Zeitpunkt auf einer von über 100 Blockchains live war, schlüssellos. On-Chain-Analysten, Indexierer und Dashboards benötigen ständig „Welcher Block war Chain X zum Zeitpunkt T“, um den historischen Zustand abzufragen, und „Welche Blöcke decken dieses Zeitfenster ab“, um einen Zeitraum zu scannen. Diese API beantwortet beides – für einen einzelnen Moment und für einen Datumsbereich (Rückgabe des Start- und Endblocks sowie der Blockanzahl und der durchschnittlichen Blockzeit). Live, nichts wird gespeichert. Die Timestamp-to-Block-Ebene für EVM- und Nicht-EVM-Chains gleichermaßen. Unterstützt durch die offene DeFiLlama Coins API.
api.oanor.com/blocktime-api
Snowflake ID API
Decode and build snowflake IDs — the 64-bit, time-sortable identifiers used by Twitter/X, Discord, Instagram and many distributed systems. Pass an ID and a platform and the service extracts the embedded creation timestamp (turn any Discord, Twitter/X or Instagram ID into the exact moment it was created) along with the machine and sequence components for that platform's epoch and bit layout. Supported platforms: twitter (X), discord, instagram, sony, and custom (supply your own epoch). The encode endpoint does the reverse: build the lower-bound snowflake for a given timestamp, 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 exact 64-bit BigInt math and no network calls. Ideal for analytics, data forensics, API pagination and debugging distributed-ID systems. A snowflake-ID toolkit — distinct from UUID/ULID generation (uuid) and date/time math (datetime). No upstream key, no cache.
api.oanor.com/snowflake-api
DateTime API
A fast, fully-local date and time toolkit (UTC): parse any date string or unix timestamp into ISO, unix and components with the ISO week number, day-of-year and leap-year flag; format dates with custom tokens (YYYY-MM-DD, weekday and month names, and more); add or subtract month-aware durations; compute the difference between two dates in every unit plus a human-readable summary; and convert between unix timestamps and ISO. Every endpoint accepts input via the query string or the request body. Pure server-side compute, no third-party upstream, so responses are instant and always available. Ideal for scheduling, billing periods, reminders, analytics and any date arithmetic. (For the current time in a specific timezone, see the oanor Time API.)
api.oanor.com/datetime-api