Unix Timestamp Converter API

Integrate timestamp conversion into your applications with our simple and powerful API

REST APIJSON ResponseRate LimitedFree Tier
Quick Start
Get started with the Unix Timestamp Converter API in seconds

Convert Unix to Date

curl
curl -X GET "https://www.timestamper.online/api/convert/unix-to-date?timestamp=1735689600"

Convert Date to Unix

curl
curl -X GET "https://www.timestamper.online/api/convert/date-to-unix?date=2024-01-01T00:00:00Z"
GET/api/convert/unix-to-date
Convert Unix timestamp to human-readable date formats

Parameters

timestampUnix timestamp (required)
formatOutput format: iso, utc, local, date, time (optional)
timezoneTarget timezone (optional, default: UTC)

Response

JSON
{
  "success": true,
  "data": {
    "timestamp": 1735689600,
    "iso": "2024-12-31T16:00:00.000Z",
    "utc": "Tue, 31 Dec 2024 16:00:00 GMT",
    "local": "12/31/2024, 4:00:00 PM",
    "date": "Tue Dec 31 2024",
    "time": "16:00:00 GMT+0000 (UTC)",
    "timezone": "UTC"
  },
  "meta": {
    "processing_time_ms": 2,
    "api_version": "1.0"
  }
}
GET/api/convert/date-to-unix
Convert date string to Unix timestamp

Parameters

dateDate string in ISO format (required)
timezoneSource timezone (optional, default: UTC)

Response

JSON
{
  "success": true,
  "data": {
    "date": "2024-12-31T16:00:00.000Z",
    "timestamp": 1735689600,
    "timezone": "UTC"
  },
  "meta": {
    "processing_time_ms": 1,
    "api_version": "1.0"
  }
}
POST/api/convert/batch
Convert multiple timestamps or dates in a single request

Request Body

JSON
{
  "type": "unix-to-date",
  "values": [1735689600, 1609459200, 1577836800],
  "options": {
    "format": "iso",
    "timezone": "UTC"
  }
}

Response

JSON
{
  "success": true,
  "data": {
    "results": [
      {
        "input": 1735689600,
        "output": "2024-12-31T16:00:00.000Z",
        "success": true
      },
      {
        "input": 1609459200,
        "output": "2021-01-01T00:00:00.000Z",
        "success": true
      }
    ],
    "summary": {
      "total": 3,
      "successful": 3,
      "failed": 0
    }
  }
}
GET/api/convert/timezones
Convert timestamp to multiple timezones

Parameters

timestampUnix timestamp (required)
zonesComma-separated timezone list (optional)

Response

JSON
{
  "success": true,
  "data": {
    "timestamp": 1735689600,
    "timezones": [
      {
        "zone": "UTC",
        "time": "2024-12-31T16:00:00.000Z",
        "offset": "+00:00"
      },
      {
        "zone": "America/New_York",
        "time": "2024-12-31T11:00:00.000Z",
        "offset": "-05:00"
      }
    ]
  }
}
Support & Resources
Get help and stay updated with our API

Documentation

Comprehensive guides and tutorials

Community

Join our developer community

Status

API uptime and status updates