Developer API

Butterfly Effect Engine API

Turn verified world events into structured market intelligence inside your own product. Authenticate with an API key, pay by usage, and stream our intelligence feed, forecasts, and recommendations as JSON.

API-key auth JSON responses Self-serve keys Usage metering

Starter API

$199/month

10,000 API calls per month.

Growth API

Most Popular
$999/month

250,000 API calls per month.

Enterprise API

Custom

Millions of API calls — custom pricing.

Contact Sales

Authentication

Every request must include your API key. Pass it in the X-API-Key header, or as an apiKey field in the JSON body.

curl -X POST https://<your-app>.base44.app/api/functions/apiEvents \
  -H "Content-Type: application/json" \
  -H "X-API-Key: bee_sk_your_key_here" \
  -d '{"limit": 5}'

Endpoints

POST/v1/events

The live intelligence feed — summarized market-impact events.

Params: category, severity, limit

POST/v1/events/:id

Full intelligence card for a single event (cascade, sources, forecasts).

Params: id

POST/v1/recommendations

Latest AI-generated Buy/Sell/Hold/Hedge recommendations.

Params: limit

POST/v1/forecasts/:event_id

Forecasts issued for an event, with probability & accuracy status.

Params: event_id

Public Schema & Changelog

v1.0.0 Stability contract: required & read-only fields are guaranteed; optional fields may evolve. Breaking changes bump the major version with 30 days' notice.

Build with confidence against a documented, versioned contract. Every event and forecast our API returns conforms to the schemas below. Copy the JSON Schema into your validators, codegen, or ingestion pipeline.

Eventresource
FieldTypeConstraintsDescription
idrostringUnique event identifier.
created_daterodate-timeRecord creation timestamp (ISO 8601).
updated_daterodate-timeLast update timestamp (ISO 8601).
title*stringShort headline of the event.
summarystringOne-paragraph plain-language summary.
category*string
GeopoliticalMacroeconomicWeather & ClimateEnergyCommodityCritical MaterialsSupply ChainCorporateCryptocurrencyTechnologyAgriculturePublic HealthPeople & LeadershipMarket InterdependenceTrade & TariffsCurrency & FXFixed Income & RatesRegulatory & Policy
Event domain.
geographystringRegion or market scope, e.g. "Global", "US", "EU".
severitystring
LowModerateHighSevere
Market-impact severity tier.
verification_levelstring
UnverifiedSingle SourceCross-VerifiedOfficial
Source-verification tier.
event_date*date-timeWhen the event occurred or is scheduled to occur.
market_impactstringAI market-impact analysis (prose).
affected_marketsarray<string>Tickers, sectors, or indexes the event touches.
cascade_effectsarray<object>Ordered economic cascade.
confirmation_signalsarray<string>Signals that would confirm the thesis.
invalidation_conditionsarray<string>Conditions that would invalidate the thesis (kill-switch).
forecast_directionstring
BullishBearishNeutral
Net forecast direction.
forecast_probabilitynumber0…100Forecast probability, percent.
confidence_scorenumber0…100Confidence in the analysis, percent.
statusstring
ActiveMonitoringResolvedArchived
Lifecycle status.
sourcesarray<object>Source provenance.
image_urlstringOptional illustrative image URL.
Forecastresource
FieldTypeConstraintsDescription
idrostringUnique forecast identifier.
created_daterodate-timeRecord creation timestamp (ISO 8601).
updated_daterodate-timeLast update timestamp (ISO 8601).
event_idstringLinked Event id.
event_title*stringDenormalized event title for convenience.
direction*string
BullishBearishNeutral
Forecast direction.
probability*number0…100Forecast probability, percent.
magnitudestringEstimated move magnitude, e.g. "+3–5%".
time_horizon*string
24h5 days30 days90 days180 days1 year
Forecast horizon.
published_date*date-timeWhen the forecast was issued.
actual_outcomestringWhat actually happened — filled in after the horizon elapses.
brier_scorenumber0…1Forecast-accuracy Brier score (lower is better).
accuracy_statusstring
PendingCorrectIncorrectPartially Correct
Accountability status.

Changelog

v1.0.0Public release2026-07-28
  • Initial public schema release for Event and Forecast resources.
  • 18 event categories, four verification tiers, and the cascade-effects (Butterfly Path) model.
  • Forecast accountability fields: brier_score, accuracy_status, actual_outcome.
  • Stability contract: required and read-only fields are guaranteed; optional fields may evolve between minor versions. Breaking changes bump the major version and are announced 30 days in advance.
Machine-readable: each resource exposes an expandable JSON Schema block above. Pin to v1.0.0 in your client to lock the contract.

Sample Response

{
  "count": 2,
  "data": [
    {
      "id": "evt_8f3a...",
      "title": "OPEC+ announces surprise production cut",
      "category": "Energy",
      "geography": "Global",
      "severity": "High",
      "event_date": "2026-07-28T08:00:00Z",
      "forecast_direction": "Bearish",
      "forecast_probability": 72,
      "status": "Active"
    }
  ]
}

Already have a key? Manage your API key & view usage →

Informational only. Not investment advice. Investing involves risk of loss. · Privacy Policy · Terms of Service

base44
Edit with Base44