History · Reference dataset
Major U.S. Wars
Major wars involving the United States, with start and end years and opposing forces.
Download options
Preview the records
The 10 most recently added of 33 records · Select a column heading to sort.
| ID | War name | Start year | End year | Opponent |
|---|---|---|---|---|
| 24 | Boxer Rebellion | 1900 | 1901 | Boxers and Qing China |
| 25 | World War I | 1917 | 1918 | Central Powers |
| 26 | World War II | 1941 | 1945 | Axis Powers |
| 27 | Korean War | 1950 | 1953 | North Korea and China |
| 28 | Vietnam War | 1965 | 1973 | North Vietnam |
| 29 | Gulf War | 1990 | 1991 | Iraq |
| 30 | Kosovo War | 1999 | 1999 | Yugoslavia |
| 31 | War in Afghanistan | 2001 | 2021 | Taliban |
| 32 | Iraq War | 2003 | 2011 | Iraq |
| 33 | War against the Islamic State | 2014 | 2019 | Islamic State |
CSV / JSON / XML
Put this data to work.
All 33 records, in your choice of format.
- This dataset and the rest of the catalog
- Complete CSV, JSON, and XML files
- Category ZIPs and API access
365 days of access to the catalog. One payment, no automatic renewal.
Your key arrives by email after payment. Use it here to download the complete file.
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: July 19, 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
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.