Researchers, journalists and analysts who follow wars rarely want to copy events off a map by hand. A conflict-data API turns the same reports that appear on a live map into structured records that can be queried, stored and analysed. This guide explains what the battleMap REST API contains and what it does not. One thing up front: the battleMap API is private. It is not publicly available and keys are not handed out. The same reported events and live aircraft and ship positions can be followed for free, with no ads, on the live map.
What a war map API is for
A war map API gives programmatic access to the data behind a conflict map. Instead of scraping pages or monitoring dozens of social-media accounts, you request events for a region and a time window and receive JSON you can load into a database, a spreadsheet, a notebook or your own dashboard. Typical uses:
- Research datasets: pull the archive of reported events for a region and study their geography and timing.
- Monitoring: polling the API on a schedule, or keeping a WebSocket open to
/v1/streamto receive new events as they are stored. - Newsroom graphics: plotting reported events on a custom map for a story, with a link to each original source.
- Context for aircraft and ship data: combining event reports with live ADS-B and AIS positions from the same interface.
What the battleMap API contains
The API runs under /v1/ and returns JSON. It is closed: every endpoint requires a key, and keys are not issued to the public. It holds:
GET /v1/regions- the ten covered regions (Ukraine, Russia, Israel-Palestine, Hezbollah, Lebanon, Syria, Iran, Yemen, Sudan, Myanmar) with their slugs.GET /v1/events- reported conflict events for one region (region=ukraine, orall), filtered bysinceanduntil(Unix time in seconds) and paged withlimit(up to 500) andoffset. Each event carries its time, coordinates, category, title, description, location and links to the source and media. The archive goes back to May 2022.GET /v1/aircraftandGET /v1/vessels- current positions of aircraft broadcasting ADS-B and ships broadcasting AIS, from several public feeds, filtered bybbox(lat_min,lon_min,lat_max,lon_max),sourceandsince_min. Positions are kept for about an hour, so these endpoints are for live snapshots, not historical tracks.GET /v1/assets- the same live positions in one call, withkind=aircraft,kind=vesselor all.
Beyond the basic endpoints
- Original pictures:
GET /v1/events/{id}/imageserves the original picture of an event; thepicturefield points to a watermarked copy. - Live stream: a WebSocket at
wss://battlemap.online/v1/streamwith new events as the refresher stores them (roughly every five minutes per region), optional region filter and, inside a bounding box, aircraft and ship position updates.
What it does not provide
- No territorial-control polygons, front lines, troop movements or casualty counts.
- No independent verification: events are reports aggregated from public sources, each with a link so you can judge it yourself.
- No webhooks or e-mail alerts: data is pulled from the endpoints or the WebSocket stream.
- No GeoJSON output; responses are plain JSON objects.
Is the API available to the public?
No. The battleMap API is private: it is not publicly available, keys are not handed out and there is no sign-up. Everything it holds is on the free map instead: reported events for each region, each with a link to its original source, and live aircraft and ship positions. To follow the conflicts, open the live map.
Frequently asked questions
What data does the API return?
Reported conflict events for fourteen regions, with time, coordinates, category, title and source link, plus live aircraft and ship positions from public ADS-B and AIS feeds.
Where does the data come from?
Events are aggregated from regional live maps that compile public reports; aircraft and ship positions come from open ADS-B and AIS networks. battleMap does not verify events independently, so check the linked source.
Can I get an API key?
No. The API is private and not publicly available, and keys are not handed out. Nothing is for sale: the map and all its pages are free and have no ads, and everything the API holds can be followed there.
Is there a free trial?
No. The API is not offered to the public, so there is no trial; the map is free for everyone. For other questions, see the FAQ.