Interzoid Get Global Time API
interzoid · Developer Tools
This API retrieves the current time for a city or geographic location around the globe.
Authentication
Sample Requests
Gets the current time for a global locale (city, state, region, or country such as Chicago, London, Paris, Seoul, Spain, Buenos Aires, Hawaii, Moscow, Tokyo, Hanoi, etc.)
Hover any highlighted part to learn what it does
curl -X GET "https://api.apis.guru/v2/specs/interzoid.com/getglobaltime/1.0.0/getglobaltime?locale=en-US&license=example"
import requests
params = {
"locale": "en-US",
"license": "example"
}
response = requests.get(
"https://api.apis.guru/v2/specs/interzoid.com/getglobaltime/1.0.0/getglobaltime",
params=params,
)
print(response.json())const url = new URL('https://api.apis.guru/v2/specs/interzoid.com/getglobaltime/1.0.0/getglobaltime');
url.searchParams.set('locale', 'en-US');
url.searchParams.set('license', 'example');
const response = await fetch(url);
const data = await response.json();
console.log(data);package main
import (
"fmt"
"io"
"net/http"
"net/url"
)
func main() {
baseURL, _ := url.Parse("https://api.apis.guru/v2/specs/interzoid.com/getglobaltime/1.0.0/getglobaltime")
q := baseURL.Query()
q.Set("locale", "en-US")
q.Set("license", "example")
baseURL.RawQuery = q.Encode()
targetURL := baseURL.String()
req, _ := http.NewRequest("GET", targetURL, nil)
client := &http.Client{}
resp, _ := client.Do(req)
defer resp.Body.Close()
body, _ := io.ReadAll(resp.Body)
fmt.Println(string(body))
}require "net/http"
require "json"
uri = URI("https://api.apis.guru/v2/specs/interzoid.com/getglobaltime/1.0.0/getglobaltime")
uri.query = URI.encode_www_form({
"locale" => "en-US",
"license" => "example"
})
http = Net::HTTP.new(uri.host, uri.port)
http.use_ssl = uri.scheme == "https"
req = Net::HTTP::Get.new(uri)
res = http.request(req)
puts JSON.parse(res.body)<?php
$url = "https://api.apis.guru/v2/specs/interzoid.com/getglobaltime/1.0.0/getglobaltime?" . http_build_query([
"locale" => "en-US",
"license" => "example"
]);
$opts = ["http" => [
"method" => "GET",
]];
$ctx = stream_context_create($opts);
$res = file_get_contents($url, false, $ctx);
print_r(json_decode($res, true));Postman Setup Guide
- See official documentation for authentication and setup.
What can you build with Interzoid Get Global Time API?
Interzoid Get Global Time API is a Developer Tools API. Developers commonly use developer tools APIs for:
- automating code review and quality checks
- integrating CI/CD pipelines and build systems
- managing feature flags and A/B tests
- monitoring errors and application performance
- generating and validating test data
No authentication required. This API is open — no signup or key needed. Ideal for quick prototypes and public-facing features. Interzoid Get Global Time API is free to use, making it a low-risk choice to experiment with.
New to APIs? Read our beginner's guide