API Documentation

Last Updated: 2018-09-21

Introduction

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.)
Update, the primary resource, is designed for easy filtering by the other resources.

Getting Started

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.

Code Examples

Python

import requests
auth = ('u', 'YOURAPIKEYHERE')
response = requests.get('https://api.wsusscn2.cab/update', auth=auth)
print(response)

FAQ

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?

The primary source of API documentation is available via swagger (requires API key authentication). Or, see our code examples for a simple quickstart.

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.