Skip to content
AccuWeather logo

Connectors / Data and analytics · HTTP Connector

Automate AccuWeather with Tray.ai

AccuWeather is a weather data provider whose API returns location lookups, current conditions, daily and hourly forecasts, severe weather alerts, and…

What can you do with AccuWeather on Tray.ai?

AccuWeather is a weather data provider whose API returns location lookups, current conditions, daily and hourly forecasts, severe weather alerts, and lifestyle indices. Tray.ai connects to AccuWeather through the HTTP Connector, so your workflows can call the AccuWeather API alongside the rest of your stack.

  • Get alerts for a location each morning and post any warnings for your field sites to your team chat.
  • Get a 5-day forecast for each job site and add it to the crew schedule in your field service system.
  • Get current conditions at a delivery address and attach them to the delay report in your logistics system.
Connects through
HTTP Connector
Authentication
A bearer token
Base URL
https://dataservice.accuweather.com

Set it up

Connect AccuWeather to Tray.ai

Each step uses AccuWeather's own API details, from its documentation.

Step 1

Save AccuWeather's API token

Save the token AccuWeather issues as a Tray.ai authentication. The HTTP Client sends it as a bearer token on every call. The token stays out of the workflow and out of the logs.

Step 2

Point the HTTP Client at the API

Add an HTTP Client step and use https://dataservice.accuweather.com as the base URL. Or paste a cURL example from AccuWeather's API docs, and Tray.ai fills in the method, URL, and headers.

Step 3

Start with “Search locations by text”

It's one of 14 documented actions, under Locations. The response comes back as data the next step can map into your other apps.

Step 4

Hand it to an AI agent

Wrap “Find a location by coordinates” and “Find a location by IP address” in workflows, and Tray.ai's Agent Gateway for MCP publishes them as governed tools Claude and other AI agents can call.

Workflows to build with AccuWeather

Each one uses actions and events from AccuWeather's own API documentation.

Warn field teams in Slack about severe weather alerts

When

On a schedule

Then

  1. Get alerts for a location
  2. Post active alerts to the field operations channel in Slack

With Slack

Add the forecast to ServiceNow field work orders

When

A work order is scheduled in ServiceNow

Then

  1. Find a location by coordinates
  2. Get a 5-day forecast
  3. Add the forecast as a note on the work order in ServiceNow

With ServiceNow

Store daily store-location weather in Snowflake

When

On a schedule

Then

  1. Search locations by text
  2. Get current conditions
  3. Append the readings to a table in Snowflake

With Snowflake

Apps you can build on AccuWeather data

Internal tools your team can build with an AI assistant, each one using AccuWeather calls from its API documentation.

Site weather dashboard

Shows current conditions and the 5-day forecast for each company site or job location.

Severe weather alert board

Lists active weather alerts for the locations a team cares about so operations can plan around them.

Give your AI agents AccuWeather tools

Build an MCP server on AccuWeather in Agent Gateway and choose which actions your agents can call. Every call runs with access control and an audit trail. How Agent Gateway works

  • Search locations by text
  • Get current conditions
  • Get a 1-day forecast
  • Get a 12-hour forecast
  • Get alerts for a location
  • Find a location by coordinates
  • Find a location by IP address
  • Autocomplete a city name

What the AccuWeather API covers

5 resources and 14 documented actions, each one a call the HTTP Connector can make from a Tray.ai workflow. Connecting it takes a few clicks: here's how.

Locations

  • Search locations by text
  • Find a location by coordinates
  • Find a location by IP address
  • Autocomplete a city name
  • List top cities

Current conditions

  • Get current conditions
  • Get past 24 hours conditions

Daily forecasts

  • Get a 1-day forecast
  • Get a 5-day forecast
  • Get a 15-day forecast

Hourly forecasts

  • Get a 12-hour forecast
  • Get a 72-hour forecast

Alerts

  • Get alerts for a location
  • List active alerts

Checked against AccuWeather's own documentation on 2026-11-03

developer.accuweather.com/core-weather

Frequently asked questions

What can a Tray.ai workflow do in AccuWeather?

+

The AccuWeather API documents 14 actions across 5 resources (Locations, Current conditions, Daily forecasts, Hourly forecasts, Alerts). For example: Search locations by text; Get current conditions; Get a 1-day forecast. A workflow can make any documented call through the HTTP Connector.

How does Tray.ai authenticate with AccuWeather?

+

The AccuWeather API uses a bearer token. You save it once as a Tray.ai authentication, and the HTTP Connector adds it to every request.

See AccuWeather working against your stack.

We'll walk through a tailored demo with your systems plugged in.

Great — a couple more details

This helps us connect you with the right person. Optional, and you can skip it.