From API key to first alert in ten minutes

A REST API with JSON bodies, bearer keys, an OpenAPI spec and HMAC-signed webhooks. These steps cover everything most integrations need, and an MCP server gives AI assistants the same data.

  • REST API with JSON bodies
  • Bearer keys
  • OpenAPI spec
  • HMAC-signed webhooks
  • MCP server for AI assistants
  • Titles in 8 languages

1. Authenticate

Create a key in the console. Send it as a bearer token, or in the X-API-Key header. Keys are shown once and stored hashed.

Every response carries X-RateLimit-* and X-Quota-* headers, plus the IETF RateLimit and RateLimit-Policy headers. Limits apply per organisation, not per key. Errors always look like {"error": {"code", "message"}}, with the message in your lang.

bash
curl https://app.disruptapi.com/v1/signals?min_severity=severe \
  -H "Authorization: Bearer $DISRUPT_KEY"

2. Check exposure

Send the things you care about. Each item has your own id and a kind: flight, trip (with legs), place (airport, lat/lon with radius, or country), carrier or provider. Leave out the kind and DisruptAPI infers it.

curl -X POST https://app.disruptapi.com/v1/exposure/check \
  -H "Authorization: Bearer $DISRUPT_KEY" \
  -H "Content-Type: application/json" \
  -d '{ "items": [ { "id": "BKG-7QX2LM", "kind": "flight", "carrier": "AS", "origin": "SEA", "destination": "HNL", "depart_at": "2026-11-21T08:00:00Z" }, { "id": "HTL-ALCUDIA", "kind": "place", "lat": 39.85, "lon": 3.12, "radius_km": 40 }, { "id": "checkout", "kind": "provider", "provider": "cloudflare" } ] }'
Response
{
  "data": [{
    "item_id": "BKG-7QX2LM",
    "kind": "flight",
    "risk_level": "high",
    "match_count": 1,
    "matches": [{
      "signal": {
        "id": "faa_ground_stop_SEA",
        "type": "aviation",
        "subtype": "ground_stop",
        "title": "Ground Stop at SEA: low ceilings",
        "severity": "severe",
        "airports": ["SEA"],
        "starts_at": "2026-11-21T06:52:00Z",
        "source": { "attribution": "FAA NAS Status" }
      },
      "reasons": ["affects SEA"],
      "risk_contribution": "high"
    }]
  }]
}

3. Read a signal

Each signal has a plain-English headline, a short summary, a description you can show customers and the places the notice names. They are written for that notice from its own text, never add facts, and are labelled in headline_basis. Add ?lang= for titles in Spanish, French, German, Dutch, Italian, Portuguese or Japanese, and the headline, summary and description too when a translation is available (text_lang says which); the source's own title stays in title_original.

location is one point with its basis, the source or the airports. airport_locations gives each airport's name, city and coordinates. version goes up with every change, and every version is stored. GET /v1/signals/{id} adds the outlook: what followed similar past events, with events_measured and the normal_probability on an ordinary day. On lists, ask for it with include=outlook. Signal ids are issued per account, so an id copied from another account will not resolve.

GET /v1/signals?type=aviation · trimmed example
{
  "id": "sig_5d20b7",
  "type": "aviation",
  "subtype": "volcanic_ash",
  "severity": "severe",
  "title": "Volcanic ash SIGMET, WAAF UJUNG PANDANG: VA ERUPTION MT DUKONO",
  "headline": "Ash cloud from Dukono volcano",
  "summary": "An aviation warning has been issued for volcanic ash from an eruption of Mount Dukono, in the Indonesian air traffic region run from Ujung Pandang.",
  "places": [{ "name": "Dukono", "kind": "volcano", "within": null }],
  "headline_basis": { "basis": "ai", "model": "…", "checked_at": "2026-11-18T06:41:09Z" },
  "location": { "lat": 1.69, "lon": 127.89, "basis": "source" },
  "geometry_basis": "source",
  "airports": ["TTE"],
  "airport_locations": [{ "iata": "TTE", "icao": "WAEE", "name": "Sultan Babullah Airport",
                          "city": "Ternate", "country": "ID", "lat": 0.83101, "lon": 127.38161 }],
  "version": 3,
  "source": { "url": "https://aviationweather.gov/", "last_checked_at": "2026-11-18T06:52:00Z", "stale": false },
  "incident": { "id": "inc_…", "member_count": 2, "primary_signal_id": "sig_5d20b7" }
}

4. Keep a watchlist in sync

Create a watchlist once, then post items to it whenever a booking is made or changed. Sending an existing id updates it. Flights and trips drop off a day after they end; places, carriers and providers stay until you remove them.

bash
# create a watchlist
curl -X POST https://app.disruptapi.com/v1/watchlists \
  -H "Authorization: Bearer $DISRUPT_KEY" -H "Content-Type: application/json" \
  -d '{"name": "Winter departures"}'

# add or update items by your own id
curl -X POST https://app.disruptapi.com/v1/watchlists/wl_.../items \
  -H "Authorization: Bearer $DISRUPT_KEY" -H "Content-Type: application/json" \
  -d '{"items": [{"id": "BKG-7QX2LM", "carrier": "AS", "origin": "SEA",
                  "destination": "HNL", "depart_at": "2026-11-21T08:00:00Z"}]}'

# what is exposed right now
curl https://app.disruptapi.com/v1/watchlists/wl_.../exposure -H "Authorization: Bearer $DISRUPT_KEY"

5. Receive webhooks

Register an https endpoint with filters: types, minimum severity, countries, airports, or "watchlists": ["*"] to hear only about disruptions that touch your items. Events are signal.created, .escalated, .updated and .resolved, or exposure.* with the affected items attached.

Each delivery carries a Disrupt-Signature: t=…,v1=… header: an HMAC-SHA256 of the timestamp and the raw body. Failed deliveries are retried after 1 minute, 5 minutes, 30 minutes, 2 hours and 6 hours. An endpoint is switched off after 50 failures in a row. Payloads are in English.

Verify in Python
import hashlib, hmac, time

def verify(secret: str, body: bytes, header: str) -> bool:
    parts = dict(p.split("=", 1) for p in header.split(","))
    if abs(time.time() - int(parts["t"])) > 300:
        return False
    mac = hmac.new(secret.encode(), f"{parts['t']}.".encode() + body, hashlib.sha256)
    return hmac.compare_digest(mac.hexdigest(), parts["v1"])

6. Optional: connect your AI assistant over MCP

DisruptAPI runs a remote Model Context Protocol server at /mcp. Connect it to Claude, Cursor, VS Code or your own agent and ask in plain words: “Is anything going to hit our Frankfurt departures tomorrow?” The assistant calls the same exposure check, signals and forecasts as the REST API.

Connector apps such as claude.ai and ChatGPT sign in with OAuth 2.1; other clients send your API key. Either way it uses your plan and your rate limits, and each tool call counts as one request in your usage. It has 18 tools and is listed in the MCP registry as com.disruptapi/disrupt. The server speaks Streamable HTTP, protocol versions 2024-11-05 to 2025-06-18.

claude mcp add --transport http disrupt https://app.disruptapi.com/mcp \
  --header "Authorization: Bearer $DISRUPT_KEY"

Endpoints at a glance

MethodPathWhat it returns
POST/v1/exposure/checkFor a list of items: the disruptions that touch each one, why, a risk level and a forecast.
GETPOST/v1/watchlistsSaved lists of items that are re-checked against every new signal.
POST/v1/watchlists/{id}/itemsAdd or update items by your own id. Up to your plan's item limit.
GET/v1/watchlists/{id}/exposureThe items on a watchlist that are exposed right now.
GET/v1/signalsLive and upcoming signals. Filter by type, min_severity, country, airport, provider, since, status, planned and start time; sort by severity or start. Add include=outlook,geometry, format=geojson, group=incident and lang.
GET/v1/signals/{id}One signal with its area shape, outlook and impact forecast.
GET/v1/incidentsRelated signals grouped into incidents, one row per situation; /v1/incidents/{id} adds its signals.
GET/v1/forecastWhat history says an outage of a given provider and failure layer does to travel.
GET/v1/airports/{iata}Active signals at and around an airport, monthly base rates and website dependencies.
GET/v1/carriers/{code}What an airline's public systems run on, outages that put it at risk, and past events.
GET/v1/providersWatched cloud and SaaS providers and whether they have an incident now.
GET/v1/eventsThe catalogue of past disruptions and their measured outcomes.
GETPOST/v1/webhooksSigned push notifications when matching signals start, escalate, change or resolve.
GET/v1/sourcesThe source and licence register, with when each source was last read.
GET/v1/public/statusKeyless summary of what is active now, the feed behind the status page.

Parameters, schemas and examples for every endpoint are in the API reference.

Tools your assistant gets

ToolWhat it answers
check_exposureWhich of these flights, trips, places, carriers or providers are hit, why, and how badly.
list_signalsLive and upcoming disruptions, filtered by type, severity, country, airport or provider, or by when they start.
list_incidentsget_incidentSituations that several signals report, such as a storm's regional warnings, one entry each, with their signals.
get_signalOne disruption with its impact forecast.
get_forecastWhat-if: what an outage of a provider and failure layer would do to travel.
get_airportEverything active at and around an airport, plus monthly base rates.
get_carrierWhat an airline’s systems run on and which outages put it at risk.
list_providersWatched cloud and SaaS providers and whether they have an incident.
list_eventsPast disruptions and their measured outcomes.
create_watchlistadd_watchlist_itemsremove_watchlist_itemKeep a saved list of items in sync.
list_watchlistsget_watchlistget_watchlist_exposureRead saved lists and what is exposed right now.

Your key is one sign-up away

A sandbox key covers 100 requests a month and 5 watched items, enough to wire up exposure checks before you choose a plan.