How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

WeatherAPI Weather API

Real-time and forecast weather endpoints

WeatherAPI Weather API is one of 7 APIs that WeatherAPI publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Weather. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, an API reference, authentication docs, and code examples.

This API exposes 3 operations across 3 paths, and defines 16 schemas. It is described by OpenAPI 3.2.0, at version 1.0.2.

Requests are made against 2 base URLs: https://api.weatherapi.com/v1, http://api.weatherapi.com/v1.

3 operations 3 paths 16 schemas 2 GET1 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.2.0
API Version
1.0.2
Base URL
https://api.weatherapi.com/v1
Authentication
API Key
Resource Areas
1

Authentication & Security 1

WeatherAPI Weather API declares 1 security scheme for authenticating requests. An API key is passed in the query as key (ApiKeyAuth). By default, every request must be authenticated.

  • ApiKeyAuth — API key obtained from https://www.weatherapi.com/my/. Pass as ?key=YOURAPIKEY query parameter.

Paths & Operations 3

Across 3 paths, the API surfaces 3 operations — 2 GET, 1 POST. Each is listed below with its method, path, parameters, and response codes.

Weather 3

Real-time and forecast weather endpoints

GET
/current.json
WeatherAPI Current / Real-time Weather
getCurrentWeather 6 params → 200400401403
GET
/forecast.json
WeatherAPI Forecast Weather
getForecast 14 params → 200400401403
POST
/current.json#bulk
WeatherAPI Bulk Current Weather
getBulkCurrentWeather 3 params body → 200400401403

Schemas 16

The contract defines 16 schemas that model the data the API accepts and returns. The most detailed are HourForecast (39 properties), CurrentWeather (33 properties), ForecastDay (21 properties), Alert (13 properties). Each schema is shown below with its type and property counts.

BulkRequest
object
1 property 1 required
BulkLocation
object
2 properties 1 required
AirQuality
object
Air quality data. Returned when aqi=yes.
8 properties
HourForecast
object
39 properties
Alert
object
13 properties
CurrentWeatherResponse
object
2 properties
ErrorResponse
object
1 property
BulkResponse
object
1 property
CurrentWeather
object
33 properties
Location
object
Location metadata returned with every weather response.
8 properties
ForecastDay
object
21 properties
AstroElement
object
8 properties
ForecastDayEntry
object
5 properties
Pollen
object
Pollen data in grains/m³. Returned when pollen=yes (Pro+ and above).
7 properties
Condition
object
3 properties
ForecastWeatherResponse
object
4 properties

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

weatherapi-weather-api-openapi.yml Raw ↑

Other APIs WeatherAPI publishes across the network.

WeatherAPI Alerts API
WeatherAPI Future API
WeatherAPI Geo API
WeatherAPI History API
WeatherAPI Marine API
WeatherAPI Sports API
Where this information came from

This is an independent, third-party profile of WeatherAPI Weather API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.