Entwicklerreferenz

REST API Dokumentation

Timestamp API Dokumentation

Integriere Timestamp-Konvertierung, Validierung und Formatierung mit klaren Request- und Response-Strukturen.

Basis URL

https://maketimestamp.com

Authentifizierung

Öffentliche Beispiele erfordern keine Authentifizierung. Ergänze für Produktion eine API-Key- oder Session-Schicht.

Endpunkte

GET
/api/timestamp/current

Return the current Unix timestamp, ISO string, UTC date, and timezone metadata.

POST
/api/timestamp/convert

Convert a Unix timestamp to ISO 8601, RFC 3339, UTC, or a named timezone.

POST
/api/timestamp/validate

Validate seconds, milliseconds, microseconds, nanoseconds, ISO 8601, and RFC 3339 inputs.

POST
/api/timestamp/format

Format timestamp values for logs, APIs, databases, Discord, or custom display strings.

Request Parameter

timestampnumber | string

Required for conversion

Unix seconds, milliseconds, microseconds, nanoseconds, or date string.

timezonestring

Optional

IANA timezone such as UTC, America/New_York, Europe/London, or Asia/Shanghai.

formatstring

Optional

Output format: iso, rfc3339, unix, local, utc, discord, or custom.

precisionstring

Optional

Auto-detected by default. Set seconds, milliseconds, microseconds, or nanoseconds when needed.

Response Format

{
  "code": 0,
  "message": "ok",
  "data": {
    "timestamp": 1785078000,
    "iso": "2026-07-26T15:00:00.000Z",
    "timezone": "UTC",
    "precision": "seconds"
  }
}