WeatherAPI.com
Fetch WeatherAPI.com current conditions, forecasts, history, astronomy, time zone, and location data.
Tools
| Name | Description |
|---|---|
search_locationsSearch WeatherAPI.com location matches for a city, town, postcode, airport code, IP address, or coordinate query. | Search WeatherAPI.com location matches for a city, town, postcode, airport code, IP address, or coordinate query. |
get_current_weatherGet current weather conditions for a location. | Get current weather conditions for a location. |
get_forecastGet a daily and hourly forecast for a location, optionally including alerts, air quality, and pollen data. | Get a daily and hourly forecast for a location, optionally including alerts, air quality, and pollen data. |
get_historyGet historical weather for a location and date. Date ranges require a WeatherAPI.com Pro plan or above. | Get historical weather for a location and date. Date ranges require a WeatherAPI.com Pro plan or above. |
get_timezoneGet timezone and local time information for a location. | Get timezone and local time information for a location. |
get_astronomyGet sunrise, sunset, moonrise, moonset, moon phase, and related astronomy data for a location. | Get sunrise, sunset, moonrise, moonset, moon phase, and related astronomy data for a location. |
Quick Start
import { WeavzClient } from '@weavz-io/sdk'
const weavz = new WeavzClient({ apiKey: 'wvz_...' })
const result = await weavz.actions.execute('weatherapi', 'search_locations', {
workspaceId: '550e8400-e29b-41d4-a716-446655440000',
integrationAlias: 'weatherapi',
input: { /* ... */ },
})Related Integrations
Works well with
Frequently Asked Questions
How do I connect WeatherAPI.com to my app?
Use Weavz Hosted Connect for API Key authentication. Install the SDK, create a connection through the connect portal or API, then execute tools programmatically.
What tools does WeatherAPI.com support?
WeatherAPI.com supports 6 tools including Search Locations, Get Current Weather, Get Forecast, Get Historical Weather, Get Timezone, and more.
Can I use WeatherAPI.com with AI agents?
Yes. Add WeatherAPI.com to an MCP server in Tool Mode or Code Mode. Code Mode provides 3 meta-tools with on-demand API discovery so agents can compose stateful workflows without loading every action schema up front.
Can WeatherAPI.com be used in stateful agent workflows?
Yes. Agents can combine WeatherAPI.com tools with Filesystem, State KV, Human Gates, input partials, and other workspace integrations while keeping execution scoped to the selected workspace or end user.
What authentication does WeatherAPI.com use?
WeatherAPI.com uses API Key. Weavz stores credentials securely and uses them for authorized action execution.
How much does the WeatherAPI.com integration cost?
The WeatherAPI.com integration is included on all Weavz plans including the free tier with 20,000 actions per month. No credit card required.
Connect WeatherAPI.com in minutes
Get 20,000 free action executions every month. No credit card required.