The API is divided into 5 resources:
- Update - Main resource that lists all update information
- Supersede - Lists superseded updates only along with the newest supersession update
- Product - OS or software package names
- Product Family - Product Groups
- Classification - Type of Update (Rollup, Security, Service Pack, etc.)
If you would prefer to access the data via a CLI, then see our CLI documentation.
Otherwise, review the REST API documentation (requires API key authentication) or see below for code samples.
import requests auth = ('u', 'YOURAPIKEYHERE') response = requests.get('https://api.wsusscn2.cab/update', auth=auth) print(response)
What is the source of the API data?
The primary source of information is Microsoft's wsusscn2.cab file.
How can I solve my use case that is not currently solved by your API?
Please send us a feature request
How can I get the list of updates that I need to apply to my computer?
The API is designed as information about available patches only. If you need a tool that provides patching for your specific computer, consider Microsoft's Baseline Security Analyzer (MBSA).
Where can I get documentation about your API?
You're missing KBXXXXXX data. Why?
This likely means that it is a superseded patch. The wsusscn2.cab file currently contains several thousand Update IDs without any further details. However, let us know the KB number that you're looking for, and we'll investigate.
Do I have to use your API to get access to this data?
No, download our wsusscn2cli tool available for Windows and Linux.