Library / Live data / Weather

Weather

Ask about the weather anywhere in plain language and get a forecast with conditions, temperatures, chance of rain and wind.

16 daysahead
60 daysback
Hourlyfor a single day
POST api.exa.ai/search
will it rain in Austin this weekend
type: auto
exa.ai/library/weather · Forecast
Austin, Texas, United States Weather Forecast
Daily forecast in local time
Sat: Overcast, 87°F / 72°F, 3% rainSun: Partly cloudy, 90°F / 72°F, 4% rainThu: Slight rain showers, 92°F / 76°F, 23% rain

See a full example: San Francisco forecast →

What's in the dataset

Forecast

Conditions, high and low temperatures, chance of rain, precipitation and wind.

More detail

Humidity, UV index, and sunrise and sunset.

Range

Up to 16 days ahead or 60 days back, and hourly for a single day.

Local time

Days and times in the place's own time zone.

Search by what matters

PlaceDate or rangeConditions

Ask in plain language for any place you can name and the dates you care about. Forecasts are built for each search.

Read the docs →
# Same endpoint and API key as web search
curl https://api.exa.ai/search \
  -H "x-api-key: $EXA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "query": "will it rain in Austin this weekend",
  "type": "auto",
  "contents": { "text": true }
}'

What teams build with it

Travel and planning assistants

Answer "what should I pack" and "will it rain" questions for any trip.

Operations and logistics

Check conditions for a site or route before scheduling work.

Event planning

Check the forecast for an event's date and place.

Searchable alongside the general web index

Weather comes back from the same index as the open web. There's no separate API or integration: use the same /search endpoint and API key you already use.

Ask for a forecast on its own, or mix it with web results in a single call.

General web indexweb
Weather16 days
Sports15+
Places210M
↓ one request
POST /search

Common questions

Which places are covered?

Any place you can name.

How far ahead can I get a forecast?

Up to 16 days ahead. You can also ask about up to 60 days back.

Can I get an hourly forecast?

Yes. A forecast for a single day is hourly.

Is there a weather API?

Yes. Weather forecasts are searchable through the same Exa /search endpoint and API key you use for web search, so there's no separate API to set up.

Start searching weather

Get an API key in minutes, or talk to us about volume, coverage and enterprise terms.