POSTalphaIntelligence
Mundane Event Analysis
Analyze a supplied world event through mundane astrology and return forward-looking implications, analogs, watch windows, and action guidance.
Credits
4 credits per analysis
Minimum Plan
Pro+
Billing Lane
World Signals
SDK Helper
mundaneEventAnalysis / mundane_event_analysis
Inputs
- +event
- +event date
- +location
- +topic
- +window days
Outputs
- +event summary
- +signature stack
- +analogs
- +forecast implications
- +watch window
Tool Functions
Capabilities behind this endpoint
mundane.event.analyzeAnalyzes a specific supplied event.
event.signature.extractMaps the event to astrology and mundane signal language.
forecast.implications.generateReturns forward-looking implications.
Policy Shock request
{
"event": "A central bank unexpectedly signals a policy reversal while markets are fragile.",
"event_date": "2026-06-17",
"topic": "markets",
"window_days": 30
}Policy Shock response
{
"request_id": "req_...",
"data": {
"event_summary": "A policy signal changed market expectations before liquidity stabilized.",
"confidence": 7,
"action": "Watch the second reaction, not the first headline."
},
"usage": { "lane": "ai", "credits": 4, "billableUnits": 1 }
}curl
curl https://theleokingai.com/api/v1/mundane/analyze-event \
-X POST \
-H "Accept: application/json" \
-H "x-api-key: $LEOKING_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: mundane-event-analysis-subject-123-v1" \
-d '{
"event": "A central bank unexpectedly signals a policy reversal while markets are fragile.",
"event_date": "2026-06-17",
"topic": "markets",
"window_days": 30
}'Node SDK
import { TheLeoKingApi } from "@theleoking/ai-api";
const api = new TheLeoKingApi({
apiKey: process.env.LEOKING_API_KEY,
baseUrl: "https://theleokingai.com/api"
});
const result = await api.mundaneEventAnalysis(
{
"event": "A central bank unexpectedly signals a policy reversal while markets are fragile.",
"event_date": "2026-06-17",
"topic": "markets",
"window_days": 30
},
"mundane-event-analysis-subject-123-v1"
);
console.log(result.request_id);
console.log(result.usage.credits);Python SDK
import os
from theleoking_ai_api import TheLeoKingApi
api = TheLeoKingApi(
api_key=os.environ["LEOKING_API_KEY"],
base_url="https://theleokingai.com/api",
)
result = api.mundane_event_analysis(
{
"event": "A central bank unexpectedly signals a policy reversal while markets are fragile.",
"event_date": "2026-06-17",
"topic": "markets",
"window_days": 30,
},
idempotency_key="mundane-event-analysis-subject-123-v1",
)
print(result["request_id"])
print(result["usage"]["credits"])Error Behavior
| HTTP | Code | Partner Action |
|---|---|---|
| 400 | INVALID_REQUEST | Fix the payload shape, enum value, required field, or request body before retrying. |
| 401 | AUTH_REQUIRED | Send x-api-key from a trusted server environment. Do not expose keys in browser code. |
| 401 | AUTH_INVALID | Check the key prefix, rotate compromised keys, and verify the target environment. |
| 402 | CREDITS_EXHAUSTED | Upgrade the plan, add credits, or switch to a lower-cost Core Compute route. |
| 403 | AUTH_FORBIDDEN | Use a key scoped for this endpoint or upgrade to the required plan. |
| 404 | NOT_FOUND | Verify the job id, environment, API key, and whether the job belongs to the same workspace. |
| 409 | IDEMPOTENCY_CONFLICT | Reuse idempotency keys only for the same logical operation and identical request payload. |
| 429 | RATE_LIMITED | Back off, retry later, reduce concurrency, or request enterprise limits. |
Related Endpoints