History · Reference dataset
Major U.S. Wars
Major wars involving the United States, with start and end years, opposing forces, the outcome for the American side and the number of American military deaths.
$69 once covers this and 401 other datasets, plus 33 collections, for 365 days. No automatic renewal. Have a pass?

Preview the records
First 5 and last 5 of 33 records · Last changed November 16, 2026
| War name | Start year | End year | Opponent | Outcome | US deaths |
|---|---|---|---|---|---|
| American Revolutionary War | 1775 | 1783 | Great Britain | US-allied victory | 23800 |
| Northwest Indian War | 1785 | 1795 | Northwestern Confederacy | US-allied victory | 1056 |
| Quasi-War | 1798 | 1800 | France | Inconclusive | 514 |
| First Barbary War | 1801 | 1805 | Tripolitania | US-allied victory | 74 |
| War of 1812 | 1812 | 1815 | Great Britain | Inconclusive or other result | 15000 |
| 23 more records · Download options | |||||
| Gulf War | 1990 | 1991 | Iraq | US-allied victory | 294 |
| Kosovo War | 1999 | 1999 | Yugoslavia | US-allied victory | 2 |
| War in Afghanistan | 2001 | 2021 | Taliban | Taliban victory | 2325 |
| Iraq War | 2003 | 2011 | Iraq | Inconclusive or other result | 4492 |
| War against the Islamic State | 2014 | 2019 | Islamic State | US-allied victory | 120 |
Free sample files (up to 10 rows): CSV JSON XML
Open the sample in a free tool: CSV to JSON · JSON formatter · SQL INSERT generator · CSV to XML
CSV / JSON / XML
Put this data to work.
All 33 records, in your choice of format.
The free sample stops at 10 rows. A Data Pass removes the limit here and across the site, so you can stop collecting data and start using it.
- Every record in 402 datasets, this one included
- All 33 collections in full: more than 4 million rows of ZIP codes, schools, occupations and more
- CSV, JSON and XML, whole-category ZIPs, and 2,500 API requests a day
$69 once, for 365 days. No subscription and no automatic renewal, and what you download is yours to keep using.
Your key arrives by email after payment. Use it here to download the complete file.
Or share what you build with it and, if approved, get 75% off a Data Pass. See the contributor program
Already have a pass?
Your key is used for this request and is not saved by this page.
Commercial use is allowed, free or paid.
Downloaded a CSV? Convert CSV to JSON, generate SQL inserts, remove duplicate lines, or sort a list with the free tools.
Scope and sources
Last checked against sources: October 15, 2026.
Last changed: November 16, 2026. This is when we last changed the data or its description. It doesn’t mean the data runs up to that date.
- Wikipedia: List of wars involving the United States (used with permission)
- en.wikipedia.org
- Wikipedia: United States military casualties of war (Total U.S. deaths column)
Major U.S. Wars has 33 records and 6 fields: War name, Start year, End year, Opponent, Outcome, US deaths.
A complete download includes all 33 records currently held in this dataset. Check the description and sources to decide whether its scope fits your project.
Use this dataset through the API
GET https://mysafeinfo.com/api/data/majoruswars
Choose a format, sort, or request fewer rows. A pass key gives access to the complete dataset. See the examples and parameters.
Without a pass, sorting and randomization apply only to the fixed 10-row sample.