curl --request GET \
--url https://api.worldmonitor.app/api/forecast/v1/get-forecasts \
--header 'X-WorldMonitor-Key: <api-key>'import requests
url = "https://api.worldmonitor.app/api/forecast/v1/get-forecasts"
headers = {"X-WorldMonitor-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-WorldMonitor-Key': '<api-key>'}};
fetch('https://api.worldmonitor.app/api/forecast/v1/get-forecasts', 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.worldmonitor.app/api/forecast/v1/get-forecasts",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-WorldMonitor-Key: <api-key>"
],
]);
$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.worldmonitor.app/api/forecast/v1/get-forecasts"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-WorldMonitor-Key", "<api-key>")
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.worldmonitor.app/api/forecast/v1/get-forecasts")
.header("X-WorldMonitor-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.worldmonitor.app/api/forecast/v1/get-forecasts")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-WorldMonitor-Key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"degraded": true,
"error": "example",
"forecasts": [
{
"calibration": {
"drift": 1.5,
"marketPrice": 75.25,
"marketTitle": "example",
"source": "example"
},
"cascades": [
{
"domain": "example",
"effect": "example",
"probability": 1.5
}
],
"caseFile": {
"actorLenses": [
"example"
],
"actors": [
{
"category": "cs.AI",
"constraints": [
"example"
],
"id": "example-id",
"influenceScore": 42.5,
"likelyActions": [
"example"
]
}
],
"baseCase": "example",
"branches": [
{
"kind": "example",
"outcome": "example",
"projectedProbability": 1.5,
"rounds": [
{}
],
"summary": "Example WorldMonitor observation."
}
],
"changeItems": [
"example"
]
},
"confidence": 0.82,
"createdAt": 1717200000000
}
],
"generatedAt": 1717200000000,
"stale": true
}{
"violations": [
{
"field": "<string>",
"description": "<string>"
}
]
}{
"error": "<string>"
}{
"error": "<string>",
"code": "subscription_lapsed",
"requiredTier": 123,
"currentTier": 123,
"planKey": "<string>"
}{
"message": "<string>"
}{
"error": "<string>",
"code": "renewal_verification_pending",
"requiredTier": 123
}{
"message": "<string>"
}GetForecasts
GetForecasts returns the latest generated probabilistic forecasts; the degraded flag distinguishes a backend outage from a healthy empty set.
curl --request GET \
--url https://api.worldmonitor.app/api/forecast/v1/get-forecasts \
--header 'X-WorldMonitor-Key: <api-key>'import requests
url = "https://api.worldmonitor.app/api/forecast/v1/get-forecasts"
headers = {"X-WorldMonitor-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-WorldMonitor-Key': '<api-key>'}};
fetch('https://api.worldmonitor.app/api/forecast/v1/get-forecasts', 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.worldmonitor.app/api/forecast/v1/get-forecasts",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-WorldMonitor-Key: <api-key>"
],
]);
$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.worldmonitor.app/api/forecast/v1/get-forecasts"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-WorldMonitor-Key", "<api-key>")
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.worldmonitor.app/api/forecast/v1/get-forecasts")
.header("X-WorldMonitor-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.worldmonitor.app/api/forecast/v1/get-forecasts")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-WorldMonitor-Key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"degraded": true,
"error": "example",
"forecasts": [
{
"calibration": {
"drift": 1.5,
"marketPrice": 75.25,
"marketTitle": "example",
"source": "example"
},
"cascades": [
{
"domain": "example",
"effect": "example",
"probability": 1.5
}
],
"caseFile": {
"actorLenses": [
"example"
],
"actors": [
{
"category": "cs.AI",
"constraints": [
"example"
],
"id": "example-id",
"influenceScore": 42.5,
"likelyActions": [
"example"
]
}
],
"baseCase": "example",
"branches": [
{
"kind": "example",
"outcome": "example",
"projectedProbability": 1.5,
"rounds": [
{}
],
"summary": "Example WorldMonitor observation."
}
],
"changeItems": [
"example"
]
},
"confidence": 0.82,
"createdAt": 1717200000000
}
],
"generatedAt": 1717200000000,
"stale": true
}{
"violations": [
{
"field": "<string>",
"description": "<string>"
}
]
}{
"error": "<string>"
}{
"error": "<string>",
"code": "subscription_lapsed",
"requiredTier": 123,
"currentTier": 123,
"planKey": "<string>"
}{
"message": "<string>"
}{
"error": "<string>",
"code": "renewal_verification_pending",
"requiredTier": 123
}{
"message": "<string>"
}Authorizations
User-issued WorldMonitor API key.
Query Parameters
Forecast domain to retrieve, such as geopolitics, markets, or climate.
conflict, market, supply_chain, political, military, cyber, infrastructure Optional geographic or thematic region filter for forecasts.
Optional JMESPath expression applied server-side to project or reduce the JSON response before it is returned (mirrors the MCP jmespath argument). Invalid expressions, expressions larger than 1024 UTF-8 bytes, or projections that exceed the 256 KB output cap return HTTP 400 with a {_jmespath_error, original_keys} envelope. Grammar and worked examples: https://www.worldmonitor.app/docs/mcp-jmespath.
Response
Successful response
Show child attributes
Show child attributes
Warning: Values > 2^53 may lose precision in JavaScript
True when the forecast backend could not read the canonical cache. Distinguishes an outage from a healthy empty forecast set.
True when forecasts are served from a stale fallback. Currently false for this endpoint because get-forecasts does not have a stale fallback cache.
Stable machine-readable reason when degraded=true, empty otherwise. Value: "forecast_backend_unavailable" on Redis/backend read failures.
Was this page helpful?
