freeapis

World Time & Weather

400 个城市的当前天气、当地时间、UTC 偏移量和夏令时规则,以静态 JSON 提供

认证方式
No auth
HTTPS
Yes
CORS
Yes
分类
天气
数据来源
public-apis

简介

World Time & Weather 结合全球城市的时区和天气数据——免密钥、支持 CORS。

注(2026-08 实测):API 301 重定向到尾斜杠版本(/api/)——请跟随重定向(curl -L)。

快速开始

城市数据(跟随重定向):

curl -L "https://worldtimeweather.com/api/"
{ "time": "2026-08-22T12:00:00", "weather": { "temp": 22, "condition": "Clear" } }

认证方式

无需认证——免密钥。

速率限制与注意事项

  • 免费;请礼貌使用——没有公开的硬性限制。
  • 为某个地点组合时间和天气。

常见问题

World Time & Weather 免费吗? 是的——免费且免密钥。

为什么 301? API 规范化为 /api/(已实测)——请用 curl -L。

返回什么? 城市的时间和天气。

天气 分类更多

APIAuthHTTPSCORS
7Timer!

Weather, especially for Astroweather

No authNoUnknown↗
AccuWeather

Weather and forecast data

API KeyNoUnknown↗
Aemet

Weather and forecast data from Spain

API KeyYesUnknown↗
APIXU

Weather

API KeyYesUnknown↗
AQICN

Air Quality Index Data for over 1000 cities

API KeyYesUnknown↗