Skip to content

API Authentication

How to authenticate WeatherAPI.com requests: pass your API key with the key parameter on every call, and keep it safe.

API access to the data is protected by an API key. If at anytime, you find the API key has become vulnerable, please regenerate the key using Regenerate button next to the API key.


Authentication to the WeatherAPI.com API is provided by passing your API key as request parameter through an API .

key parameter

key=<YOUR API KEY>

Get your free weather API key in a minute

100,000 calls a month, free for commercial use. No credit card.