Time/Timezone Utilities

List Timezones

Returns all available timezone abbreviations in a standardized list. Access via MCP in Cursor or Windsurf for AI-driven scheduling tasks, or GET /v1/time/timezones for direct integration. Perfect for validating user input or populating timezone selectors. Returns common abbreviations like UTC, EST, PST alongside regional codes.

API Endpoint

GET /v1/time/timezones

Code Examples

curl "https://tinyfn.io/v1/time/timezones" \
  -H "X-API-Key: YOUR_API_KEY"
const response = await fetch('https://tinyfn.io/v1/time/timezones', {
  headers: { 'X-API-Key': 'YOUR_API_KEY' }
});
const data = await response.json();
console.log(data);
import requests

response = requests.get('https://tinyfn.io/v1/time/timezones',
    headers={'X-API-Key': 'YOUR_API_KEY'})
data = response.json()
print(data)

Use via MCP

Add to your AI agent

Connect your AI agent (Claude, Cursor, Windsurf, etc.) to TinyFn's time/timezone tools:

{
  "mcpServers": {
    "tinyfn-time": {
      "url": "https://tinyfn.io/mcp/time",
      "headers": {
        "X-API-Key": "YOUR_API_KEY"
      }
    }
  }
}

Learn more about MCP setup →

FAQ

What timezone abbreviations does this return?

Returns standard abbreviations like UTC, EST, PST, GMT, and regional codes. Includes both standard and daylight saving variants (EST/EDT, PST/PDT).

How do I validate timezone input in my MCP workflow?

Call this endpoint first to get the valid list, then check user input against it. Claude Code and Cursor can use this for form validation or scheduling logic.

Does this include deprecated or obsolete timezones?

No, only currently recognized timezone abbreviations. For historical or deprecated zones, use timezone conversion tools with full IANA database support.

What's the difference between this and timezone conversion tools?

This lists abbreviations only. For actual time conversion between zones, use the timezone conversion endpoints that handle offsets and DST rules.

Can I use this for dropdown menus in web apps?

Yes, the returned list works perfectly for timezone selectors. Each abbreviation is standardized and user-friendly for interface elements.

Try List Timezones Now

Get your free API key and start using List Timezones in seconds.

Get Free API Key