Skip to content

WeatherAPI

Weather API with other stuff like Astronomy and Geolocation API

Open documentation ↗
API keyHTTPSCORSWeather

Verified 4 days ago: 100% uptime

API key

Required

HTTPS

Supported

Browser calls

Yes, CORS enabled

Status

Live · 100/100

What our checks found

Health score
100/100
Reliability
100%
Average latency
976ms

Last checked 2026-09-18. Measured independently, not self-reported by the provider.

How to call it

A starting template for WeatherAPI. Replace ENDPOINT with the path from the official documentation, which we link above rather than guess at.

# Requires an API key. Check the docs for whether it goes in a header or a query parameter.
curl -s "https://www.weatherapi.com/ENDPOINT" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Accept: application/json"

Where this listing comes from

Aggregated from one public source (public-apis), then normalised and checked by us. If something here is wrong, tell us and we will correct it.

Other Weather APIs

See all 64

DWD API

Weather

API of the German Weather Service (DWD): weather data, data from specific weather stations, warnings (local, coast, sea, alps)

No keyCORSHTTPS

Verified 4 days ago: 100% uptime

View Details

openSenseMap

Weather

Data from Personal Weather Stations called senseBoxes

No keyCORSHTTPS

Verified 4 days ago: 100% uptime

View Details

US Weather

Weather

Weather forecasts and alerts from the US National Weather Service

No keyCORSHTTPS

Verified 4 days ago: 100% uptime

View Details

wttr.in

Weather

Weather in your terminal, supports JSON output

No keyCORSHTTPS

Verified 4 days ago: 100% uptime

View Details

WeatherAPI — common questions

Answered from what our own scheduled checks found, not from the provider's marketing.

Is WeatherAPI free to use?

WeatherAPI is listed in our free catalogue, but it requires an API key, so you will need to register before your first call. Providers frequently reserve higher limits and commercial use for paid plans.

Does WeatherAPI need an API key?

Yes. WeatherAPI authenticates with an API key. Keep it server-side rather than in browser code, because anything in your frontend bundle is readable by anyone who opens developer tools.

Can I call WeatherAPI from browser JavaScript?

Yes. WeatherAPI returned CORS headers when we checked it, so a browser will let your page read the response. You can fetch it directly from client-side JavaScript with no proxy and no backend.

Is WeatherAPI still working?

Yes, as of 2026-09-18. Our automated check reached WeatherAPI and recorded a 100% reliability score with a median response time of 976 ms. We re-check on a schedule, and this page updates with the result.

Is WeatherAPI available over HTTPS?

Yes. WeatherAPI serves over HTTPS, so you can call it from a secure page without triggering a mixed-content block.