DEV Community

2x lazymac
2x lazymac

Posted on

Timezone Converter API - REST + MCP, Free Tier

Timezone Converter API

Convert timestamps between timezones, list all IANA timezones, get UTC offset and DST info, find overlapping business hours. Pure calculations, no external API.

Quick Start

# Health check
curl https://api.lazy-mac.com/timezone-converter-api/health

# API info
curl https://api.lazy-mac.com/timezone-converter-api
Enter fullscreen mode Exit fullscreen mode

Endpoints

  • {'path': '/convert', 'method': 'GET', 'description': 'Convert timestamp between timezones'}
  • {'path': '/list', 'method': 'GET', 'description': 'List IANA timezones with UTC offset'}
  • {'path': '/overlap', 'method': 'GET', 'description': 'Business hours overlap finder'}
  • {'path': '/health', 'method': 'GET', 'description': 'Health check'}

Pricing

Plan Price Features
Free $0/mo 100 req/day, core endpoints
Pro $Free / $5/mo Unlimited, all endpoints, MCP

MCP Integration

This API supports the Model Context Protocol (JSON-RPC 2.0):

curl -X POST https://api.lazy-mac.com/timezone-converter-api/mcp \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","method":"tools/list","id":1}'
Enter fullscreen mode Exit fullscreen mode

Get Your API Key

Get started on Gumroad — free tier available.


Built by lazymac | All APIs

Top comments (0)