Skip to content
Xweather home

Natural language weather intelligence

The Xweather Phrases API turns complex weather data into natural language summaries for any audience, in over 50 languages.

Your on-demand meteorologist

Weather data translated into actionable language

The Phrases API bridges the gap between complex meteorological data and information that non-specialists can act on.

Three generative AI-powered endpoints produce concise, readable weather summaries covering current conditions, active alerts, and activity-specific impact assessments.

Phrases API

Weather summaries for every application

Automate purpose-built weather insights

From automated broadcast scripts to in-app driver warnings, the Phrases API delivers live weather data, producing current and relevant output rather than templated responses.

  • Dedicated endpoints: conditions, alerts, and impacts
  • Generative-AI powered
  • Endless use cases
A bubble with text: "Wind gust speeds are over 61 km/h.   It is recommended to secure any loose items and be mindful of potential hazards from falling branches or debris."

Personalize output to your needs

Multi-language functionality makes weather summaries accessible to global audiences without additional translation infrastructure. Choose style anywhere between formal broadcast language and conversational delivery.

  • Over 50 languages supported
  • Customizable tone and personality
A layer with text: "An Extreme Cold Warning is in effect, indicating a high risk of exposure to dangerously low temperatures"
Phrases API endpoints

/phrases/conditions

Aggregates and identifies key current and forecast weather metrics for any location, presenting them in the style of a traditional weather broadcast or report. Responses include temperature, wind speed, precipitation, humidity, and other relevant conditions.

Documentation about /phrases/conditions

/phrases/alerts

Returns a concise summary of active government-issued weather alerts for a specified location. Includes alert type, severity, and duration, filtered and formatted for rapid comprehension.

Documentation about /phrases/alerts

/phrases/forecasts

Natural-language weather summaries for a requested location, covering up to 15 days out. It aggregates key forecast metrics like temperature, wind, and precipitation and can be customized by time range, units, personality/tone, and output language.

Documentation about /phrases/forecasts

/phrases/impacts/:activity/

Generates detailed descriptions of immediate and short-term weather risks for a specific activity at a given location. Supported activities include general outdoor, roadway trucking, and maritime operations for both large and small vessels.

Documentation about /phrases/impacts/:activity/

Use cases across industries

Broadcast and online media

Automated, audience-ready weather updates for broadcasts, websites, and digital platforms.

Consumer weather platforms

Branded weather summaries in accessible language for applications, websites, and mobile experiences.

Emergency management

Clear, actionable alert summaries for public safety communications and emergency response.

Outdoor operations

Activity-specific weather insights for construction, events, recreation, and energy sector operations.

Transportation and logistics

Road impact summaries for drivers and fleet operators, formatted for in-vehicle or dispatch use.

Social media and content

Concise, engaging weather updates formatted for social channels and automated content pipelines.

Xweather Phrases API examples

  • RESTful service returning natural language weather summaries

  • JSON responses ready for integration into any application

Get started for free about Xweather Phrases API examples

Example request

Response

Your full weather stack

Phrases API

Turn complex weather data into natural language summaries, real-time insights tailored to your audience.

Map background with Weather API code overlay: Python script for a weather assistant, featuring a function call about weather inquiries.

Weather API

The most unique datasets in the market, backed by high-resolution, real-time data from a globally distributed proprietary infrastructure.

Xweather MCP

The Xweather MCP Server connects LLMs directly to Xweather's data platform. Simply ask a question and the model will fetch all relevant Xweather data to provide an answer that blends the model's extensive knowledge with the precision of our high quality datasets.

Air quality map in Xweather Raster Maps showing high activity areas in central and southern Mexico, with intense red around Puebla, set against a light background

Raster Maps

Raster Maps is a tile-mapping tool ideal for still-image weather visualizations, offering 100+ layers compatible with basemap providers such as Mapbox, Google Maps, and Leaflet.

A glowing blue globe displaying precise wind speeds in various locations on a dark starry background.

MapsGL

MapsGL leverages WebGL for smooth, visually beautiful, data-encrypted weather animations optimized for low-bandwidth use.

Set up your own meteorologist

The Phrases API is included in the Weather API and Maps subscription. Access all endpoints with a free weather API key.

Related resources

Frequently asked questions

The Phrases API converts complex weather data into natural language summaries that non-specialists can understand and act on. Three endpoints cover current conditions, active alerts, and activity-specific impact assessments. Responses are generated from live weather data using generative AI, in over 50 supported languages.

Three endpoints: /phrases/conditions returns a summary of current and forecast weather for a location, /phrases/alerts returns a summary of active government-issued weather alerts, and /phrases/impacts/:activity returns weather risk descriptions for a specific activity (general outdoor, roadway trucking, or maritime operations).

The Weather API returns structured meteorological data (temperature, wind speed, precipitation, etc.) in JSON format for programmatic use. The Phrases API returns natural language summaries of that same data, formatted as readable text for display to end users or integration into content pipelines. Both are included in the same Weather API and Maps subscription.

Responses support over 50 languages. Optional personality presets adjust the output style, from formal broadcast language to conversational delivery. The language parameter is set per request, allowing different languages for different audiences within the same application.

The Phrases API is included in the Weather API and Maps subscription. A free 30-day developer trial provides access to all endpoints. Paid subscriptions start at $300 per month for 1 million accesses.