> ## 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.

<div className="connector-page-header">
  <img src="https://stackone-logos.com/api/weatherapi/filled/svg" alt="WeatherAPI.com" className="connector-page-icon" />

  <div className="connector-page-changelog">
    <div className="connector-page-version"><span className="connector-page-tag-preview connector-page-stage-tag">Preview</span><span>v0.1.0</span></div>
    <div><a href="/connectors/weatherapi/changelog">See changelog</a></div>
  </div>

  <div className="connector-page-header-meta">
    <div className="connector-page-subtitle"><a href="#actions">21 actions</a> · 1 auth method</div>

    <div className="connector-page-category-tags">
      <span className="connector-page-category-tag">Weather</span>
    </div>
  </div>
</div>

## Getting Started

<Steps>
  <Step title="Create or Select a Project">
    Set up a new project or select an existing one. See [Organizations & Projects](/gateway/concepts/organizations-and-projects).
  </Step>

  <Step title="Configure the Connector">
    Enable the connector and set up a Connector Profile in your project. See [Setup Connector Profile](/gateway/quickstart#setup-connector-profile).

    <Columns cols={2}>
      <Card title="Connector Profile · API Key" href="/connectors/weatherapi/guides/connector-profile/api-key" icon="https://stackone-logos.com/api/weatherapi/filled/svg" horizontal>
        No app registration required. A single API key unlocks every endpoint, with data depth (history range, forecast days, bu...
      </Card>
    </Columns>
  </Step>

  <Step title="Link an Account">
    Link an account [from the dashboard](/connect/managing-connectors/linking-accounts#link-from-the-dashboard) (or via [StackOne Hub](/embed/account-linking/overview)).

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

    <Columns cols={2}>
      <Card title="Link Account · API Key" href="/connectors/weatherapi/guides/link-account/api-key" icon="https://stackone-logos.com/api/weatherapi/filled/svg" horizontal />
    </Columns>
  </Step>

  <Step title="Use Actions">
    Connect an AI platform to the linked account's actions. See [AI Platforms](/connect/ai-platforms/overview).

    Other ways to call actions are listed in [Protocols & SDKs](/connect/protocols-and-sdks).
  </Step>
</Steps>

## Actions

<div className="connector-meta-library-section">
  <div className="connector-actions-controls not-prose" data-connector-actions-controls>
    <div className="connector-actions-controls__row">
      <input type="search" className="connector-actions-search" data-connector-actions-search placeholder="Search actions" aria-label="Search actions" />
    </div>
  </div>

  <div className="meta-library-count" data-connector-actions-count>21 actions</div>

  <div className="not-prose meta-library-table-container" data-connector-actions-table>
    <div className="connector-meta-library-grid">
      <div className="connector-meta-library-row">
        <div className="meta-library-grid-header-cell">Action</div>
        <div className="meta-library-grid-header-cell">Description</div>
      </div>

      <div className="connector-meta-library-row" data-action-id="weatherapi_get_weather_alerts" data-action-label="Get Weather Alerts" data-action-scopes="" data-action-auth="API Key" data-action-auth-scopes="{&#x22;API Key&#x22;:[]}">
        <div className="meta-library-grid-cell connector-meta-library-item-cell">
          <div>Get Weather Alerts</div>
          <div className="connector-meta-library-item-sub"><button type="button" className="connector-page-code-button" data-copy="weatherapi_get_weather_alerts" aria-label="Copy weatherapi_get_weather_alerts"><code className="connector-page-code">weatherapi\_get\_weather\_alerts</code></button></div>
        </div>

        <div className="meta-library-grid-cell meta-library-grid-cell--description">Retrieve active government weather warnings for a location</div>
      </div>

      <div className="connector-meta-library-row" data-action-id="weatherapi_bulk_weather_alerts" data-action-label="Bulk Weather Alerts" data-action-scopes="" data-action-auth="API Key" data-action-auth-scopes="{&#x22;API Key&#x22;:[]}">
        <div className="meta-library-grid-cell connector-meta-library-item-cell">
          <div>Bulk Weather Alerts</div>
          <div className="connector-meta-library-item-sub"><button type="button" className="connector-page-code-button" data-copy="weatherapi_bulk_weather_alerts" aria-label="Copy weatherapi_bulk_weather_alerts"><code className="connector-page-code">weatherapi\_bulk\_weather\_alerts</code></button></div>
        </div>

        <div className="meta-library-grid-cell meta-library-grid-cell--description">Retrieve active government weather warnings for up to 50 locations in a single request</div>
      </div>

      <div className="connector-meta-library-row" data-action-id="weatherapi_get_astronomy" data-action-label="Get Astronomy" data-action-scopes="" data-action-auth="API Key" data-action-auth-scopes="{&#x22;API Key&#x22;:[]}">
        <div className="meta-library-grid-cell connector-meta-library-item-cell">
          <div>Get Astronomy</div>
          <div className="connector-meta-library-item-sub"><button type="button" className="connector-page-code-button" data-copy="weatherapi_get_astronomy" aria-label="Copy weatherapi_get_astronomy"><code className="connector-page-code">weatherapi\_get\_astronomy</code></button></div>
        </div>

        <div className="meta-library-grid-cell meta-library-grid-cell--description">Retrieve sun and moon data for a location and date</div>
      </div>

      <div className="connector-meta-library-row" data-action-id="weatherapi_bulk_astronomy" data-action-label="Bulk Astronomy" data-action-scopes="" data-action-auth="API Key" data-action-auth-scopes="{&#x22;API Key&#x22;:[]}">
        <div className="meta-library-grid-cell connector-meta-library-item-cell">
          <div>Bulk Astronomy</div>
          <div className="connector-meta-library-item-sub"><button type="button" className="connector-page-code-button" data-copy="weatherapi_bulk_astronomy" aria-label="Copy weatherapi_bulk_astronomy"><code className="connector-page-code">weatherapi\_bulk\_astronomy</code></button></div>
        </div>

        <div className="meta-library-grid-cell meta-library-grid-cell--description">Retrieve sun and moon data for up to 50 locations in a single request</div>
      </div>

      <div className="connector-meta-library-row" data-action-id="weatherapi_search_locations" data-action-label="Search Locations" data-action-scopes="" data-action-auth="API Key" data-action-auth-scopes="{&#x22;API Key&#x22;:[]}">
        <div className="meta-library-grid-cell connector-meta-library-item-cell">
          <div>Search Locations</div>
          <div className="connector-meta-library-item-sub"><button type="button" className="connector-page-code-button" data-copy="weatherapi_search_locations" aria-label="Copy weatherapi_search_locations"><code className="connector-page-code">weatherapi\_search\_locations</code></button></div>
        </div>

        <div className="meta-library-grid-cell meta-library-grid-cell--description">Search cities and towns matching a free-text query</div>
      </div>

      <div className="connector-meta-library-row" data-action-id="weatherapi_get_ip_lookup" data-action-label="Get IP Lookup" data-action-scopes="" data-action-auth="API Key" data-action-auth-scopes="{&#x22;API Key&#x22;:[]}">
        <div className="meta-library-grid-cell connector-meta-library-item-cell">
          <div>Get IP Lookup</div>
          <div className="connector-meta-library-item-sub"><button type="button" className="connector-page-code-button" data-copy="weatherapi_get_ip_lookup" aria-label="Copy weatherapi_get_ip_lookup"><code className="connector-page-code">weatherapi\_get\_ip\_lookup</code></button></div>
        </div>

        <div className="meta-library-grid-cell meta-library-grid-cell--description">Geolocate an IP address</div>
      </div>

      <div className="connector-meta-library-row" data-action-id="weatherapi_bulk_ip_lookup" data-action-label="Bulk IP Lookup" data-action-scopes="" data-action-auth="API Key" data-action-auth-scopes="{&#x22;API Key&#x22;:[]}">
        <div className="meta-library-grid-cell connector-meta-library-item-cell">
          <div>Bulk IP Lookup</div>
          <div className="connector-meta-library-item-sub"><button type="button" className="connector-page-code-button" data-copy="weatherapi_bulk_ip_lookup" aria-label="Copy weatherapi_bulk_ip_lookup"><code className="connector-page-code">weatherapi\_bulk\_ip\_lookup</code></button></div>
        </div>

        <div className="meta-library-grid-cell meta-library-grid-cell--description">Retrieve IP geolocation for up to 50 locations in a single request</div>
      </div>

      <div className="connector-meta-library-row" data-action-id="weatherapi_get_marine_weather" data-action-label="Get Marine Weather" data-action-scopes="" data-action-auth="API Key" data-action-auth-scopes="{&#x22;API Key&#x22;:[]}">
        <div className="meta-library-grid-cell connector-meta-library-item-cell">
          <div>Get Marine Weather</div>
          <div className="connector-meta-library-item-sub"><button type="button" className="connector-page-code-button" data-copy="weatherapi_get_marine_weather" aria-label="Copy weatherapi_get_marine_weather"><code className="connector-page-code">weatherapi\_get\_marine\_weather</code></button></div>
        </div>

        <div className="meta-library-grid-cell meta-library-grid-cell--description">Retrieve a marine and sailing forecast for a sea or ocean coordinate</div>
      </div>

      <div className="connector-meta-library-row" data-action-id="weatherapi_bulk_marine_weather" data-action-label="Bulk Marine Weather" data-action-scopes="" data-action-auth="API Key" data-action-auth-scopes="{&#x22;API Key&#x22;:[]}">
        <div className="meta-library-grid-cell connector-meta-library-item-cell">
          <div>Bulk Marine Weather</div>
          <div className="connector-meta-library-item-sub"><button type="button" className="connector-page-code-button" data-copy="weatherapi_bulk_marine_weather" aria-label="Copy weatherapi_bulk_marine_weather"><code className="connector-page-code">weatherapi\_bulk\_marine\_weather</code></button></div>
        </div>

        <div className="meta-library-grid-cell meta-library-grid-cell--description">Retrieve marine and sailing forecasts for up to 50 locations in a single request</div>
      </div>

      <div className="connector-meta-library-row" data-action-id="weatherapi_get_sports_events" data-action-label="Get Sports Events" data-action-scopes="" data-action-auth="API Key" data-action-auth-scopes="{&#x22;API Key&#x22;:[]}">
        <div className="meta-library-grid-cell connector-meta-library-item-cell">
          <div>Get Sports Events</div>
          <div className="connector-meta-library-item-sub"><button type="button" className="connector-page-code-button" data-copy="weatherapi_get_sports_events" aria-label="Copy weatherapi_get_sports_events"><code className="connector-page-code">weatherapi\_get\_sports\_events</code></button></div>
        </div>

        <div className="meta-library-grid-cell meta-library-grid-cell--description">List upcoming football, cricket and golf events near a location</div>
      </div>

      <div className="connector-meta-library-row" data-action-id="weatherapi_bulk_sports_events" data-action-label="Bulk Sports Events" data-action-scopes="" data-action-auth="API Key" data-action-auth-scopes="{&#x22;API Key&#x22;:[]}">
        <div className="meta-library-grid-cell connector-meta-library-item-cell">
          <div>Bulk Sports Events</div>
          <div className="connector-meta-library-item-sub"><button type="button" className="connector-page-code-button" data-copy="weatherapi_bulk_sports_events" aria-label="Copy weatherapi_bulk_sports_events"><code className="connector-page-code">weatherapi\_bulk\_sports\_events</code></button></div>
        </div>

        <div className="meta-library-grid-cell meta-library-grid-cell--description">Retrieve upcoming sports events for up to 50 locations in a single request</div>
      </div>

      <div className="connector-meta-library-row" data-action-id="weatherapi_get_time_zone" data-action-label="Get Time Zone" data-action-scopes="" data-action-auth="API Key" data-action-auth-scopes="{&#x22;API Key&#x22;:[]}">
        <div className="meta-library-grid-cell connector-meta-library-item-cell">
          <div>Get Time Zone</div>
          <div className="connector-meta-library-item-sub"><button type="button" className="connector-page-code-button" data-copy="weatherapi_get_time_zone" aria-label="Copy weatherapi_get_time_zone"><code className="connector-page-code">weatherapi\_get\_time\_zone</code></button></div>
        </div>

        <div className="meta-library-grid-cell meta-library-grid-cell--description">Resolve a location to its time zone and current local time</div>
      </div>

      <div className="connector-meta-library-row" data-action-id="weatherapi_bulk_time_zone" data-action-label="Bulk Time Zone" data-action-scopes="" data-action-auth="API Key" data-action-auth-scopes="{&#x22;API Key&#x22;:[]}">
        <div className="meta-library-grid-cell connector-meta-library-item-cell">
          <div>Bulk Time Zone</div>
          <div className="connector-meta-library-item-sub"><button type="button" className="connector-page-code-button" data-copy="weatherapi_bulk_time_zone" aria-label="Copy weatherapi_bulk_time_zone"><code className="connector-page-code">weatherapi\_bulk\_time\_zone</code></button></div>
        </div>

        <div className="meta-library-grid-cell meta-library-grid-cell--description">Retrieve time zone and local time for up to 50 locations in a single request</div>
      </div>

      <div className="connector-meta-library-row" data-action-id="weatherapi_get_realtime_weather" data-action-label="Get Realtime Weather" data-action-scopes="" data-action-auth="API Key" data-action-auth-scopes="{&#x22;API Key&#x22;:[]}">
        <div className="meta-library-grid-cell connector-meta-library-item-cell">
          <div>Get Realtime Weather</div>
          <div className="connector-meta-library-item-sub"><button type="button" className="connector-page-code-button" data-copy="weatherapi_get_realtime_weather" aria-label="Copy weatherapi_get_realtime_weather"><code className="connector-page-code">weatherapi\_get\_realtime\_weather</code></button></div>
        </div>

        <div className="meta-library-grid-cell meta-library-grid-cell--description">Retrieve current weather conditions for a location</div>
      </div>

      <div className="connector-meta-library-row" data-action-id="weatherapi_bulk_realtime_weather" data-action-label="Bulk Realtime Weather" data-action-scopes="" data-action-auth="API Key" data-action-auth-scopes="{&#x22;API Key&#x22;:[]}">
        <div className="meta-library-grid-cell connector-meta-library-item-cell">
          <div>Bulk Realtime Weather</div>
          <div className="connector-meta-library-item-sub"><button type="button" className="connector-page-code-button" data-copy="weatherapi_bulk_realtime_weather" aria-label="Copy weatherapi_bulk_realtime_weather"><code className="connector-page-code">weatherapi\_bulk\_realtime\_weather</code></button></div>
        </div>

        <div className="meta-library-grid-cell meta-library-grid-cell--description">Retrieve current weather conditions for up to 50 locations in a single request</div>
      </div>

      <div className="connector-meta-library-row" data-action-id="weatherapi_get_forecast_weather" data-action-label="Get Forecast Weather" data-action-scopes="" data-action-auth="API Key" data-action-auth-scopes="{&#x22;API Key&#x22;:[]}">
        <div className="meta-library-grid-cell connector-meta-library-item-cell">
          <div>Get Forecast Weather</div>
          <div className="connector-meta-library-item-sub"><button type="button" className="connector-page-code-button" data-copy="weatherapi_get_forecast_weather" aria-label="Copy weatherapi_get_forecast_weather"><code className="connector-page-code">weatherapi\_get\_forecast\_weather</code></button></div>
        </div>

        <div className="meta-library-grid-cell meta-library-grid-cell--description">Retrieve a daily and hourly weather forecast for a location</div>
      </div>

      <div className="connector-meta-library-row" data-action-id="weatherapi_bulk_forecast_weather" data-action-label="Bulk Forecast Weather" data-action-scopes="" data-action-auth="API Key" data-action-auth-scopes="{&#x22;API Key&#x22;:[]}">
        <div className="meta-library-grid-cell connector-meta-library-item-cell">
          <div>Bulk Forecast Weather</div>
          <div className="connector-meta-library-item-sub"><button type="button" className="connector-page-code-button" data-copy="weatherapi_bulk_forecast_weather" aria-label="Copy weatherapi_bulk_forecast_weather"><code className="connector-page-code">weatherapi\_bulk\_forecast\_weather</code></button></div>
        </div>

        <div className="meta-library-grid-cell meta-library-grid-cell--description">Retrieve daily and hourly forecasts for up to 50 locations in a single request</div>
      </div>

      <div className="connector-meta-library-row" data-action-id="weatherapi_get_history_weather" data-action-label="Get History Weather" data-action-scopes="" data-action-auth="API Key" data-action-auth-scopes="{&#x22;API Key&#x22;:[]}">
        <div className="meta-library-grid-cell connector-meta-library-item-cell">
          <div>Get History Weather</div>
          <div className="connector-meta-library-item-sub"><button type="button" className="connector-page-code-button" data-copy="weatherapi_get_history_weather" aria-label="Copy weatherapi_get_history_weather"><code className="connector-page-code">weatherapi\_get\_history\_weather</code></button></div>
        </div>

        <div className="meta-library-grid-cell meta-library-grid-cell--description">Retrieve observed historical weather for a location on a past date or date range</div>
      </div>

      <div className="connector-meta-library-row" data-action-id="weatherapi_bulk_history_weather" data-action-label="Bulk History Weather" data-action-scopes="" data-action-auth="API Key" data-action-auth-scopes="{&#x22;API Key&#x22;:[]}">
        <div className="meta-library-grid-cell connector-meta-library-item-cell">
          <div>Bulk History Weather</div>
          <div className="connector-meta-library-item-sub"><button type="button" className="connector-page-code-button" data-copy="weatherapi_bulk_history_weather" aria-label="Copy weatherapi_bulk_history_weather"><code className="connector-page-code">weatherapi\_bulk\_history\_weather</code></button></div>
        </div>

        <div className="meta-library-grid-cell meta-library-grid-cell--description">Retrieve observed historical weather for up to 50 locations in a single request</div>
      </div>

      <div className="connector-meta-library-row" data-action-id="weatherapi_get_future_weather" data-action-label="Get Future Weather" data-action-scopes="" data-action-auth="API Key" data-action-auth-scopes="{&#x22;API Key&#x22;:[]}">
        <div className="meta-library-grid-cell connector-meta-library-item-cell">
          <div>Get Future Weather</div>
          <div className="connector-meta-library-item-sub"><button type="button" className="connector-page-code-button" data-copy="weatherapi_get_future_weather" aria-label="Copy weatherapi_get_future_weather"><code className="connector-page-code">weatherapi\_get\_future\_weather</code></button></div>
        </div>

        <div className="meta-library-grid-cell meta-library-grid-cell--description">Retrieve projected weather for a location on a date more than 14 days ahead</div>
      </div>

      <div className="connector-meta-library-row" data-action-id="weatherapi_bulk_future_weather" data-action-label="Bulk Future Weather" data-action-scopes="" data-action-auth="API Key" data-action-auth-scopes="{&#x22;API Key&#x22;:[]}">
        <div className="meta-library-grid-cell connector-meta-library-item-cell">
          <div>Bulk Future Weather</div>
          <div className="connector-meta-library-item-sub"><button type="button" className="connector-page-code-button" data-copy="weatherapi_bulk_future_weather" aria-label="Copy weatherapi_bulk_future_weather"><code className="connector-page-code">weatherapi\_bulk\_future\_weather</code></button></div>
        </div>

        <div className="meta-library-grid-cell meta-library-grid-cell--description">Retrieve projected future weather for up to 50 locations in a single request</div>
      </div>
    </div>
  </div>
</div>
