Unix Calculator
Get time information based on a given unix stamp.
Request Information
GET https://exorion.xyz/api/time?unix=1727308800
https://exorion.xyz/api/time?unix=1727308800Code Examples
import requests
url = "https://exorion.xyz/api/time"
params = {
"unix": "1727350193" # Replace with your Unix timestamp
}
headers = {
"Authorization": "API_KEY", # Your Server API Key from /settings
"Content-Type": "application/json"
}
response = requests.get(url, params=params, headers=headers)
print(response.status_code)
print(response.json())const fetch = require("node-fetch");
const url = new URL("https://exorion.xyz/api/time");
url.searchParams.append("unix", "1727350193"); // Replace with your Unix timestamp
const headers = {
Authorization: "API_KEY", // Your Server API Key from /settings
"Content-Type": "application/json"
};
fetch(url, { headers })
.then(res => res.json())
.then(data => console.log(data))
.catch(err => console.error("Error:", err));Last updated