curl --request GET \
--url https://api.goes.health/v1/risks/overviewimport requests
url = "https://api.goes.health/v1/risks/overview"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.goes.health/v1/risks/overview', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.goes.health/v1/risks/overview",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.goes.health/v1/risks/overview"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.goes.health/v1/risks/overview")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.goes.health/v1/risks/overview")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"responseId": "123e4567-e89b-12d3-a456-426614174000",
"activity_intelligence": "For your Half Dome hike today, be prepared for significant elevation gain and exposed terrain. The combination of high altitude, bear activity, and lightning risk requires careful planning. Start early and monitor weather conditions closely.",
"risks": [
{
"id": "sunburn",
"title": "Sunburn",
"source": "environment",
"status": "applicable",
"score": 2,
"summary": "<string>",
"tips": [
"<string>"
]
}
],
"alerts": []
}{
"error": 123,
"message": "<string>"
}Get Overview
Returns an overview of all risks for a given location with default settings.
curl --request GET \
--url https://api.goes.health/v1/risks/overviewimport requests
url = "https://api.goes.health/v1/risks/overview"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.goes.health/v1/risks/overview', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.goes.health/v1/risks/overview",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.goes.health/v1/risks/overview"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.goes.health/v1/risks/overview")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.goes.health/v1/risks/overview")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"responseId": "123e4567-e89b-12d3-a456-426614174000",
"activity_intelligence": "For your Half Dome hike today, be prepared for significant elevation gain and exposed terrain. The combination of high altitude, bear activity, and lightning risk requires careful planning. Start early and monitor weather conditions closely.",
"risks": [
{
"id": "sunburn",
"title": "Sunburn",
"source": "environment",
"status": "applicable",
"score": 2,
"summary": "<string>",
"tips": [
"<string>"
]
}
],
"alerts": []
}{
"error": 123,
"message": "<string>"
}Simple Request (GET)
Headers
Bearer YOUR_API_KEYQuery Parameters
{latitude},{longitude}.Show options properties
Show options properties
brief: 1-2 sentences focusing on the most critical risksstandard: 3-4 sentences with key risks and basic context (default)detailed: 5-7 sentences with comprehensive risk analysis and detailed recommendations
alerts, environment, wildlife, plants, activity_intelligenceExample
# Basic request
curl "http://api.goes.health/v1/risks/overview?location=37.7485,-119.5331" \
-H "Authorization: Bearer YOUR_API_KEY"
# With options
curl "http://api.goes.health/v1/risks/overview?location=37.7485,-119.5331&options.length=detailed&options.exclude=alerts" \
-H "Authorization: Bearer YOUR_API_KEY"
Advanced Request (POST)
Headers
Bearer YOUR_API_KEYBody Parameters
{latitude},{longitude}.Show options properties
Show options properties
brief: 1-2 sentences focusing on the most critical risksstandard: 3-4 sentences with key risks and basic context (default)detailed: 5-7 sentences with comprehensive risk analysis and detailed recommendations
alerts: Excludes national watches, warnings, and advisoriesenvironment: Excludes environmental riskswildlife: Excludes wildlife risksplants: Excludes plant risksactivity_intelligence: Excludes the AI-generated Activity Intelligence
Show profile properties
Show profile properties
Response
Show child attributes
Show child attributes
applicable: Risk is present and relevant for this locationnot_applicable: Risk is not present or relevant for this locationunavailable: Risk data is unavailable for this locationerror: An error occurred while assessing this risk
- For environmental risks: risk level from 0 (None) to 3 (High)
- For wildlife and plant risks: prevalence score from 0 (None) to 3 (High)
error.Show child attributes
Show child attributes
Severe Thunderstorm Warning.Severe.NWS Riverton WY.Example
curl -X POST "http://api.goes.health/v1/risks/overview" \
-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": "First time hiker"
}
}'
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": "123e4567-e89b-12d3-a456-426614174000",
"activity_intelligence": "For your Half Dome hike today, be prepared for significant elevation gain and exposed terrain. The combination of high altitude, bear activity, and lightning risk requires careful planning. Start early and monitor weather conditions closely.",
"risks": [
{
"id": "high-altitude",
"title": "High Altitude",
"source": "environment",
"status": "applicable",
"score": 3,
"summary": "...",
"tips": [
"..."
]
},
{
"id": "sunburn",
"title": "Sun Exposure",
"source": "environment",
"status": "applicable",
"score": 2,
"summary": "...",
"tips": [
"..."
]
},
{
"id": "lightning",
"title": "Lightning",
"source": "environment",
"status": "applicable",
"score": 1,
"summary": "...",
"tips": [
"..."
]
},
{
"id": "bears",
"title": "Bears",
"source": "wildlife",
"status": "applicable",
"score": 2,
"summary": "...",
"tips": [
"..."
]
},
{
"id": "frostbite",
"title": "Frostbite",
"source": "environment",
"status": "not_applicable",
"score": 0,
"summary": "...",
"tips": [
"..."
]
},
{
"id": "poison-sumac",
"title": "Poison Sumac",
"source": "plants",
"status": "unavailable"
}
],
"alerts": []
}
Query Parameters
The latitude and longitude, formatted as {latitude},{longitude}.
^-?\d+(\.\d+)?,-?\d+(\.\d+)?$Controls the length of the Activity Intelligence text.
brief, standard, detailed Comma-separated list of sections to exclude from the response. Options: alerts, environment, wildlife, plants, activity_intelligence
Response
A basic overview of all risks with default settings.
A unique identifier for this response
An AI-generated summary paragraph that consolidates all risks and alerts
A comprehensive array of all risks from environmental, wildlife, and plant sources
- Option 1
- Option 2
Show child attributes
Show child attributes
An array of active NOAA weather alerts for the United States
Show child attributes
Show child attributes

