Skip to main content
WARSCOPE
status.feed_connecting

API DOCUMENTATION

Open conflict intelligence API for developers. Free tier: 60 req/min per IP. All endpoints return JSON unless otherwise noted. No authentication required.

API PLAYGROUND

Rate Limit

Requests are limited to 60 requests per minute per IP. Exceeding this returns a 429 Too Many Requests response with a Retry-After header. For higher limits, contact us.

Base URL

https://warscope.net
GET

/api/events

Returns conflict events aggregated from GDELT and other open-source intelligence feeds. Filter by theater, event type, and date range. Useful for mapping recent activity in a specific conflict zone.

Parameters

NameTypeRequiredDescription
theaterstringnoConflict theater slug (e.g. ukraine, gaza, sudan)
daysintegernoNumber of past days to include (default: 7, max: 90)
typestringnoEvent type filter: battles, airstrikes, protests, atrocities
limitintegernoMax results to return (default: 50, max: 500)

Example

curl "https://warscope.net/api/events?theater=ukraine&days=30&type=battles&limit=100"
GET

/api/hotspots

Returns a ranked list of current global conflict hotspots derived from event density, casualty estimates, and displacement figures. Updated hourly. No parameters required.

Example

curl "https://warscope.net/api/hotspots"
GET

/api/earthquakes

Returns recent seismic events from USGS feeds. Includes magnitude, depth, location, and timestamp. Useful for correlating natural disasters with displacement patterns in conflict zones.

Parameters

NameTypeRequiredDescription
min_magnitudefloatnoMinimum magnitude threshold (default: 4.0)
daysintegernoNumber of past days to include (default: 7)
limitintegernoMax results (default: 100)

Example

curl "https://warscope.net/api/earthquakes"
GET

/api/volcanoes

Returns active volcano alerts from the Smithsonian Global Volcanism Program and VAAC (Volcanic Ash Advisory Centers). Includes alert level, aviation color code, and location data.

Parameters

NameTypeRequiredDescription
alert_levelstringnoFilter by alert level: Normal, Advisory, Watch, Warning
limitintegernoMax results (default: 50)

Example

curl "https://warscope.net/api/volcanoes?alert_level=Warning"
GET

/api/hurricanes

Returns active tropical cyclone and hurricane data from NHC and JTWC feeds. Includes track coordinates, wind speed, pressure, and storm category. Covers all major oceanic basins.

Parameters

NameTypeRequiredDescription
basinstringnoOcean basin: atlantic, epac, wpac, nio, sio
active_onlybooleannoOnly return currently active storms (default: true)

Example

curl "https://warscope.net/api/hurricanes?basin=atlantic"
GET

/api/tsunamis

Returns tsunami warnings and advisories from PTWC (Pacific Tsunami Warning Center) and NTWC. Includes source event, estimated wave heights, and affected coastlines.

Parameters

NameTypeRequiredDescription
alert_levelstringnoFilter by alert level: Information, Watch, Warning

Example

curl "https://warscope.net/api/tsunamis?alert_level=Warning"
GET

/api/oil-spills

Returns oil spill incidents tracked via AIS ship data anomalies, satellite SAR imagery detections, and ITOPF reports. Includes spill size estimate, location, and response status.

Parameters

NameTypeRequiredDescription
statusstringnoIncident status: Active, Contained, Resolved
daysintegernoNumber of past days to include (default: 30)

Example

curl "https://warscope.net/api/oil-spills?status=Active"
GET

/api/flights

Returns aircraft tracking data from ADS-B Exchange, filtered by category. Military, government, and conflict-zone flights are surfaced without the filtering used by mainstream consumer trackers.

Parameters

NameTypeRequiredDescription
categorystringnoAircraft category: military, government, commercial, private, unknown
regionstringnoBounding box or theater slug to filter by geography

Example

curl "https://warscope.net/api/flights?category=military"
GET

/api/ships

Returns vessel tracking data from AIS/MarineTraffic feeds. Filter by vessel type to track carrier strike groups, tankers, or naval assets in contested waterways.

Parameters

NameTypeRequiredDescription
typestringnoVessel type: carrier, destroyer, tanker, cargo, submarine
regionstringnoGeographic region or bounding box

Example

curl "https://warscope.net/api/ships?type=carrier"
GET

/api/refugees

Returns refugee and displacement statistics from UNHCR data. Includes country of origin, host country breakdown, and trend data over time.

Parameters

NameTypeRequiredDescription
countrystringnoCountry of origin ISO code or common name (e.g. ukraine, sudan)
yearintegernoYear filter (default: current year)

Example

curl "https://warscope.net/api/refugees?country=ukraine"
GET

/api/fragility

Returns State Fragility Index scores from the Fund for Peace Fragile States Index dataset. Includes sub-scores across cohesion, economic, political, and social indicators.

Parameters

NameTypeRequiredDescription
topintegernoReturn the N most fragile states (default: 20)
countrystringnoFilter to a specific country by name or ISO code

Example

curl "https://warscope.net/api/fragility?top=10"
GET

/api/press-freedom

Returns Press Freedom Index rankings from RSF (Reporters Without Borders) data. Lower score = worse press freedom. Useful for assessing information environment in conflict zones.

Parameters

NameTypeRequiredDescription
bottomintegernoReturn the N lowest-ranked (worst) countries (default: 20)
countrystringnoFilter to a specific country

Example

curl "https://warscope.net/api/press-freedom?bottom=10"
GET

/api/briefing

Returns an AI-synthesized intelligence briefing for a specific country or conflict zone. Aggregates recent events, casualty estimates, key actor movements, and geopolitical context into a structured summary.

Parameters

NameTypeRequiredDescription
countrystringyesCountry or conflict name (e.g. Ukraine, Sudan, Gaza)
daysintegernoLookback window in days (default: 7, max: 30)

Example

curl "https://warscope.net/api/briefing?country=Ukraine&days=7"
GET

/api/data-status

Returns the freshness and health status of all data sources powering WarScope. Includes last update timestamp, feed status, and any known outages or degraded sources.

Example

curl "https://warscope.net/api/data-status"
GET

/api/og

Generates a dynamic Open Graph image for sharing. Returns a PNG image with the specified title and subtitle rendered against the WarScope dark theme. Use for social embeds or link previews.

Parameters

NameTypeRequiredDescription
titlestringnoPrimary headline text
subtitlestringnoSecondary description text

Example

curl "https://warscope.net/api/og?title=Custom&subtitle=Text" -o preview.png

EMBED

Embed the WarScope live globe and event feed on any page using an iframe. The embed respects your page's color scheme and is mobile-responsive.

<iframe src="https://warscope.net/embed" width="100%" height="600" frameborder="0" allowfullscreen></iframe>
Preview
← Back to WarScopeData sources: GDELT · USGS · UNHCR · RSF · NHC · JTWC · OpenSky · MarineTraffic