> ## Documentation Index
> Fetch the complete documentation index at: https://docs.stackone.com/llms.txt
> Use this file to discover all available pages before exploring further.

# WeatherAPI.com

> How to set up the WeatherAPI.com connector, plus the actions that are available.

![WeatherAPI.com](https://stackone-logos.com/api/weatherapi/filled/svg)

v1.0.0[See changelog](https://docs.stackone.com/connectors/weatherapi/changelog.md)

[21 actions](#actions) · 1 auth method

Weather

## Getting Started

**1. Create or Select a Project**

Set up a new project or select an existing one. See [Organizations & Projects](https://docs.stackone.com/gateway/concepts/organizations-and-projects.md).

**2. Configure the Connector**

Enable the connector and create a Connector Profile in your project. See [Setup Connector Profile](https://docs.stackone.com/gateway/quickstart.md#setup-connector-profile).

> [card] [API Key · Connector Profile](https://docs.stackone.com/connectors/weatherapi/guides/connector-profile/api-key.md)
>
> No app registration required. A single API key unlocks every endpoint, with data depth (history range, forecast days, bu...

**3. Link an Account**

Link an account [from the dashboard](https://docs.stackone.com/connect/managing-connectors/linking-accounts.md#link-from-the-dashboard) (or via [StackOne Hub](https://docs.stackone.com/embed/account-linking/overview)).

See the guide for the authentication type chosen in the Connector Profile:

> [card] [API Key · Link Account](https://docs.stackone.com/connectors/weatherapi/guides/link-account/api-key.md)

**4. Use Actions**

Connect an AI platform to the linked account's actions. See [AI Platforms](https://docs.stackone.com/ai-platforms/overview.md).

Other ways to call actions are listed in [Protocols & SDKs](https://docs.stackone.com/connect/protocols-and-sdks.md).

## Actions

21 actions

ActionDescription

Get Weather Alerts`weatherapi_get_weather_alerts`

Retrieve active government weather warnings for a location

Bulk Weather Alerts`weatherapi_bulk_weather_alerts`

Retrieve active government weather warnings for up to 50 locations in a single request

Get Astronomy`weatherapi_get_astronomy`

Retrieve sun and moon data for a location and date

Bulk Astronomy`weatherapi_bulk_astronomy`

Retrieve sun and moon data for up to 50 locations in a single request

Search Locations`weatherapi_search_locations`

Search cities and towns matching a free-text query

Get IP Lookup`weatherapi_get_ip_lookup`

Geolocate an IP address

Bulk IP Lookup`weatherapi_bulk_ip_lookup`

Retrieve IP geolocation for up to 50 locations in a single request

Get Marine Weather`weatherapi_get_marine_weather`

Retrieve a marine and sailing forecast for a sea or ocean coordinate

Bulk Marine Weather`weatherapi_bulk_marine_weather`

Retrieve marine and sailing forecasts for up to 50 locations in a single request

Get Sports Events`weatherapi_get_sports_events`

List upcoming football, cricket and golf events near a location

Bulk Sports Events`weatherapi_bulk_sports_events`

Retrieve upcoming sports events for up to 50 locations in a single request

Get Time Zone`weatherapi_get_time_zone`

Resolve a location to its time zone and current local time

Bulk Time Zone`weatherapi_bulk_time_zone`

Retrieve time zone and local time for up to 50 locations in a single request

Get Realtime Weather`weatherapi_get_realtime_weather`

Retrieve current weather conditions for a location

Bulk Realtime Weather`weatherapi_bulk_realtime_weather`

Retrieve current weather conditions for up to 50 locations in a single request

Get Forecast Weather`weatherapi_get_forecast_weather`

Retrieve a daily and hourly weather forecast for a location

Bulk Forecast Weather`weatherapi_bulk_forecast_weather`

Retrieve daily and hourly forecasts for up to 50 locations in a single request

Get History Weather`weatherapi_get_history_weather`

Retrieve observed historical weather for a location on a past date or date range

Bulk History Weather`weatherapi_bulk_history_weather`

Retrieve observed historical weather for up to 50 locations in a single request

Get Future Weather`weatherapi_get_future_weather`

Retrieve projected weather for a location on a date more than 14 days ahead

Bulk Future Weather`weatherapi_bulk_future_weather`

Retrieve projected future weather for up to 50 locations in a single request


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.