Version Number API

This API returns a version number based on a target date and the current date.

Live Example

Target Date:
now
Current Date:
now
Live Version:
34.345.274

Endpoints

GET /api/version

Returns a version number based on the provided parameters.

GET /api/version

Parameters:

Example Request:

GET /api/version?targetDate=2025-01-01T00:00:00Z

Example Response:

Response
{
  "version": "34.345.274",
  "targetDate": "2025-01-01T00:00:00Z",
  "currentDate": "2026-01-21T22:34:34.862Z",
  "timestamp": "2026-01-21T22:34:34.862Z"
}

Response Fields: