GET
/
v1
/
risks
/
overview
/
forecast
cURL
curl --request GET \
  --url https://api.goes.health/v1/risks/overview/forecast
{
  "responseId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "activity_intelligence": "<string>",
  "forecast": [
    {
      "time": "2023-11-07T05:31:56Z",
      "risks": [
        {
          "id": "sunburn",
          "title": "Sunburn",
          "source": "environment",
          "status": "applicable",
          "score": 2,
          "summary": "<string>",
          "tips": [
            "<string>"
          ],
          "error": "<string>"
        }
      ],
      "alerts": [
        {
          "event": "<string>",
          "severity": "<string>",
          "senderName": "<string>",
          "headline": "<string>",
          "description": "<string>",
          "instruction": "<string>"
        }
      ]
    }
  ]
}
Coming Soon — This endpoint is under development and will be available at a future date.
Get a 48-hour, hour-by-hour forecast that consolidates environmental, wildlife, and plant risks, plus active weather alerts, into a single summarized view. Available in two formats: a simple cacheable GET request, or an advanced POST request with full personalization options.

Simple Request (GET)

Headers

Authorization
string
required
Your API key for authentication. Format: Bearer YOUR_API_KEY

Query Parameters

location
string
required
The latitude and longitude for the location to check, formatted as {latitude},{longitude}.
options
object
Configuration options that control how the response is built.

Example

# Basic request
curl "http://api.goes.health/v1/risks/overview/forecast?location=37.7485,-119.5331" \
  -H "Authorization: Bearer YOUR_API_KEY"

# With options
curl "http://api.goes.health/v1/risks/overview/forecast?location=37.7485,-119.5331&options.length=detailed&options.exclude=alerts" \
  -H "Authorization: Bearer YOUR_API_KEY"

Advanced Request (POST)

Headers

Authorization
string
required
Your API key for authentication. Format: Bearer YOUR_API_KEY

Body Parameters

location
string
required
The latitude and longitude for the location to check, formatted as {latitude},{longitude}.
options
object
Configuration options that control how the response is built.
profile
object
Information about who is going outside. This object is extensible - you can add custom fields beyond the standard ones listed below.

Example

curl -X POST "http://api.goes.health/v1/risks/overview/forecast" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d '{
    "location": "37.7485,-119.5331",
    "options": {
      "length": "standard",
      "exclude": []
    },
    "profile": {
      "activity": "hiking",
      "age": 32,
      "outdoor_experience": 2,
      "context": "Planning a multi-day backpacking trip"
    }
  }'

Response

Both the GET and POST methods return the same response format. The POST method provides more personalized content in the Activity Intelligence field.
responseId
string
A unique identifier for this response. Use this ID if submitting feedback about the forecast.
activity_intelligence
string
AI-generated summary of the overall 48-hour forecast, personalized to your activity and experience level when using the POST method.
forecast
array
An array of 48 hourly forecast entries.
{
  "responseId": "123e4567-e89b-12d3-a456-426614174000",
  "activity_intelligence": "For your backpacking trip, early morning conditions are ideal with low UV and minimal lightning risk. This is the perfect time to break camp and start your hike before temperatures rise.",
  "forecast": [
    {
      "time": "2024-06-27T00:00:00Z",
      "risks": [
        {
          "id": "sunburn",
          "title": "Sunburn",
          "source": "environment",
          "status": "applicable",
          "score": 2,
          "summary": "...",
          "tips": [
            "..."
          ]
        }
      ],
      "alerts": []
    }
  ]
}

Query Parameters

location
string
required

The latitude and longitude, formatted as {latitude},{longitude}.

options.length
enum<string>
default:standard

Controls the length of the forecast summary text for each hour.

Available options:
brief,
standard,
detailed
options.exclude
string

Comma-separated list of sections to exclude from the response. Options: alerts, environment, wildlife, plants, activity_intelligence

Response

200
application/json

A 48-hour forecast overview of risks with default settings.

The response is of type object.