4 个端点,涵盖全球任意时区的当前时间、按 IP 地址查询时间、完整的 IANA 时区列表,以及任意两个时区之间的时区转换。由 timeapi.io 提供支持。适用于日程安排应用、世界时钟小组件和分布式团队工具。
基础 URL: https://nordapi.ee/api/v1
GET /time/current
获取任何 IANA 时区的当前日期和时间。返回年、月、日、时、分、秒、格式化日期时间、星期几和夏令时状态。
时区
必填
curl "https://nordapi.ee/api/v1/time/current?timezone=Europe/Oslo"
GET /time/ip/:ip
Get the current time for the location associated with an IP address.
curl https://nordapi.ee/api/v1/time/ip/8.8.8.8
GET /time/zones
Get a complete list of all available IANA timezones.
curl https://nordapi.ee/api/v1/time/zones
GET /time/convert
将日期时间从一个时区转换为另一个时区。
from
必填
to
必填
日期时间
必填
curl "https://nordapi.ee/api/v1/time/convert?from=Europe/Oslo&to=America/New_York&datetime=2026-03-30+12:00:00"