PowerShell Updates API

Find updates for installed packages.

Operations 1

GET /GetUpdates() Check for package updates #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/powershell-updates-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

powershell-updates-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: PowerShell Gallery Metadata Updates API
  description: 'The PowerShell Gallery exposes a public OData v2 API for discovering, retrieving,

    and downloading PowerShell modules, scripts, and DSC resources. The service is

    consumed by the PowerShellGet / Microsoft.PowerShell.PSResourceGet client modules,

    but can also be queried directly via HTTP. Publishing endpoints require a Gallery

    API key passed in the X-NuGet-ApiKey header.

    '
  version: '2.0'
  contact:
    name: PowerShell Gallery
    url: https://www.powershellgallery.com/
  license:
    name: PowerShell Gallery Terms of Use
    url: https://www.powershellgallery.com/policies/Terms
servers:
- url: https://www.powershellgallery.com/api/v2
  description: PowerShell Gallery OData v2 endpoint
security: []
tags:
- name: Updates
  description: Find updates for installed packages.
paths:
  /GetUpdates():
    get:
      tags:
      - Updates
      summary: Check for package updates
      description: OData function import that returns available updates for a supplied set of installed packages.
      operationId: getUpdates
      parameters:
      - name: packageIds
        in: query
        required: true
        schema:
          type: string
        description: Pipe-delimited, quoted list of package ids.
      - name: versions
        in: query
        required: true
        schema:
          type: string
        description: Pipe-delimited, quoted list of currently installed versions.
      - name: includePrerelease
        in: query
        schema:
          type: boolean
          default: false
      - name: includeAllVersions
        in: query
        schema:
          type: boolean
          default: false
      - name: targetFrameworks
        in: query
        schema:
          type: string
      - name: versionConstraints
        in: query
        schema:
          type: string
      - name: semVerLevel
        in: query
        schema:
          type: string
      responses:
        '200':
          description: Feed of update candidates.
components:
  securitySchemes:
    galleryApiKey:
      type: apiKey
      in: header
      name: X-NuGet-ApiKey
      description: 'PowerShell Gallery publishing API key, issued from a signed-in PowerShell

        Gallery user account. Required for package push and unlist operations.

        '