Get the current server time for client clock synchronization
GET
/xrpc/place.stream.server.getServerTime
const url = 'https://example.com/xrpc/place.stream.server.getServerTime';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://example.com/xrpc/place.stream.server.getServerTimeResponses
Section titled “Responses”Success
Media typeapplication/json
object
serverTime
required
Current server time in RFC3339 format
string format: date-time
Example generated
{ "serverTime": "2026-04-15T12:00:00Z"}