Get Server Time
Returns the server’s current clock as a UNIX epoch timestamp in seconds. Useful for aligning client clocks before generating authentication signatures.
Endpoint
Section titled “Endpoint”GET /time
Base URL: https://api.openfish.fun
Authentication
Section titled “Authentication”None required.
Parameters
Section titled “Parameters”None.
Response
Section titled “Response”A bare integer representing the current UNIX timestamp in seconds.
1700000000| Field | Type | Description |
|---|---|---|
| (root) | integer | Current UNIX timestamp in seconds |
Example
Section titled “Example”curl https://api.openfish.fun/time