How is the Weather Forecast Point API used?

An overview of the Weather Forecast Point API endpoint and JSON data output.

Example Input:

Output (JSON):

JSON is a standard text format used by many APIs. It is not specific to weather. In fact, JSON is the same format returned by Spire Maritime’s Vessels API and Messages API. As seen below, JSON text data can be read by humans directly. However, in practice, users will write custom code to process and analyze the data or to display it in applications with maps, graphs, etc.

Below is a shortened sample of the JSON response returned by the API request at the top of this page.

Line breaks have been added to help show the data structure:

{"meta":{"unit_system":"si","forecast":"Spire Operational Forecast"},"data":[










…and so on for each distinct valid_time in the requested forecast (24 hours if short range, 7 days if medium range). All time values are in Coordinated Universal Time (UTC).


Spire issues 4 short range forecasts (00:00,  06:00,  12:00,  18:00) and 2 medium range (00:00,  12:00) per day. As a result, a full API response will actually return more forecast data than the snippet included above. This can be seen in the video at the bottom of this page.


The following video shows the same exact Point API request being made two times in a row. The second time, the output JSON text is formatted (using the jq command-line tool) to make it clear that the data is structured in a hierarchical set of key and value pairs.