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)
Your API key for authentication. Format: Bearer YOUR_API_KEY
Query Parameters
The latitude and longitude for the location to check, formatted as {latitude},{longitude}.
Configuration options that control how the response is built. Controls the length of the forecast summary text for each hour. Available options:
brief: 1-2 sentences focusing on the most critical risks
standard: 3-4 sentences with key risks and basic context (default)
detailed: 5-7 sentences with comprehensive risk analysis and detailed recommendations
Comma-separated list of sections to exclude from the response. Options: alerts, environment, wildlife, plants, activity_intelligence
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)
Your API key for authentication. Format: Bearer YOUR_API_KEY
Body Parameters
The latitude and longitude for the location to check, formatted as {latitude},{longitude}.
Configuration options that control how the response is built. Controls the length of the forecast summary text for each hour. Available options:
brief: 1-2 sentences focusing on the most critical risks
standard: 3-4 sentences with key risks and basic context (default)
detailed: 5-7 sentences with comprehensive risk analysis and detailed recommendations
A list of sections to exclude from the response. Available options:
alerts: Excludes national watches, warnings, and advisories
environment: Excludes environmental risks
wildlife: Excludes wildlife risks
plants: Excludes plant risks
activity_intelligence: Excludes the AI-generated summary
Information about who is going outside. This object is extensible - you can add custom fields beyond the standard ones listed below. The outdoor activity you plan to do (e.g., “hiking”, “camping”, “skiing”). This helps personalize the Activity Intelligence.
The age of the person doing the activity. Used to provide age-appropriate risk analysis in the Activity Intelligence.
profile.outdoor_experience
Experience level with outdoor activities, from 0 (beginner) to 4 (expert).
Any additional context that may be relevant for the forecast. This helps provide more personalized Activity Intelligence.
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.
A unique identifier for this response. Use this ID if submitting feedback about the forecast.
AI-generated summary of the overall 48-hour forecast, personalized to your activity and experience level when using the POST method.
An array of 48 hourly forecast entries. ISO 8601 timestamp (UTC) representing the forecast hour.
Consolidated risks for this hour. The unique identifier for the risk.
The human-readable title of the risk.
The source of this risk (“environment”, “wildlife”, or “plants”).
The status of this risk assessment:
applicable: Risk is present and relevant for this location
not_applicable: Risk is not present or relevant for this location
unavailable: Risk data is unavailable for this location
error: An error occurred while assessing this risk
A number from 0-3 representing the risk level or prevalence:
For environmental risks: risk level from 0 (None) to 3 (High)
For wildlife and plant risks: prevalence score from 0 (None) to 3 (High)
A collection of 1-2 sentence strings with tips and recommendations.
A 1-2 sentence summary of the tips and key information.
Error message describing what went wrong. Only present when status is error.
Active NOAA weather alerts for this hour (United States only).
{
"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" : []
}
]
}
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
Comma-separated list of sections to exclude from the response. Options: alerts , environment , wildlife , plants , activity_intelligence
A 48-hour forecast overview of risks with default settings.
A unique identifier for this response
AI-generated summary of the overall 48-hour forecast
48 entries (hourly) each containing risk details and alerts.