API Reference

Weather Timelines

The Timeline endpoints enable you to query weather conditions (from any data layers included in your current plan) by specifying the location, fields (e.g., 'precipitationIntensity', 'pollenTree', etc.), timesteps ('best', '1m', '1h', '1d', etc.), and the startTime and endTime. The response will include multiple timelines, one for each timestep, all within a single call to the Interstellar REST Weather API.

Limits for Polygon and Polyline:

Polygon: Up to 500 square km with a maximum of 70 km per segment.
Polyline: Maximum length of 70 km.
Maximum number of vertices: 550.
The 'Retrieve Timelines Basic' is an API call using query parameters and is only applicable for lat/long location types.

For geoJSON locations (GeoJSON of a Point, LineString, or Polygon), use the 'Retrieve Timelines Advanced' API call, which uses body parameters.

If the location is a Polygon or a Polyline, you can specify whether you want the min/max/avg values across the coverage area by appending them as a suffix to any available field (e.g., 'precipitationIntensityMax'). If no suffix is specified, the response will default to 'Max'.