PowerShell Gallery Scraper avatar

PowerShell Gallery Scraper

Pricing

from $3.00 / 1,000 results

Go to Apify Store
PowerShell Gallery Scraper

PowerShell Gallery Scraper

Scrape the PowerShell Gallery NuGet v2 API. Search for modules and scripts by keyword or fetch specific packages by name. Extracts version, description, authors, tags, download counts, license info, and more.

Pricing

from $3.00 / 1,000 results

Rating

0.0

(0)

Developer

Crawler Bros

Crawler Bros

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

4 days ago

Last modified

Share

Scrape the PowerShell Gallery — Microsoft's official repository for PowerShell modules and scripts — using the NuGet v2 OData API. Extract package metadata including versions, authors, download counts, tags, license information, and more.

Features

  • Search by keyword — find modules and scripts matching any search term
  • Get by name — fetch the latest version of specific packages by their exact ID
  • Filter by type — limit results to Modules, Scripts, or both
  • Rich metadata — download counts, tags, license URLs, project URLs, published dates, and more
  • No authentication required — uses the public PowerShell Gallery NuGet API

Input

FieldTypeDescription
modestringsearchPackages (default) or getByName
searchQuerystringKeyword to search for packages (e.g. azure, aws, security)
packageNamesarrayPackage IDs for getByName mode (e.g. ["Az", "Pester", "PSReadLine"])
packageTypestringFilter by type: "" (All), "Module", or "Script"
maxItemsintegerMaximum packages to return (1–500, default 50)
{
"mode": "searchPackages",
"searchQuery": "azure",
"packageType": "Module",
"maxItems": 50
}

Example Input — Get by Name

{
"mode": "getByName",
"packageNames": ["Az", "Pester", "PSReadLine", "PowerShellGet"],
"maxItems": 10
}

Output

Each record represents one PowerShell Gallery package:

{
"packageId": "Az",
"packageName": "Az",
"version": "13.4.0",
"description": "Microsoft Azure PowerShell — Cmdlets to manage resources in Azure...",
"authors": "Microsoft Corporation",
"owners": "azure-sdk",
"tags": ["Azure", "ARM", "ResourceManager", "Linux", "PSModule"],
"downloadCount": 197425775,
"published": "2025-11-19T18:08:07.177",
"projectUrl": "https://github.com/Azure/azure-powershell",
"iconUrl": "https://...",
"licenseUrl": "https://aka.ms/azps-license",
"requireLicenseAcceptance": true,
"isPrerelease": false,
"packageType": "Module",
"sourceUrl": "https://www.powershellgallery.com/packages/Az/13.4.0",
"recordType": "package",
"scrapedAt": "2026-05-30T10:00:00+00:00"
}

Output Fields

FieldTypeDescription
packageIdstringUnique package identifier
packageNamestringDisplay name of the package
versionstringLatest version number
descriptionstringFull package description
authorsstringPackage author(s)
ownersstringGallery owner username(s)
tagsarraySpace-separated tags from the package metadata
downloadCountintegerTotal all-time download count
publishedstringDate when this version was published
projectUrlstringProject homepage URL
iconUrlstringPackage icon URL
licenseUrlstringLicense URL
requireLicenseAcceptancebooleanWhether license acceptance is required
isPrereleasebooleanWhether this is a prerelease version
packageTypestringModule or Script
sourceUrlstringDirect link to the package page on PowerShell Gallery
recordTypestringAlways "package"
scrapedAtstringISO 8601 timestamp of when the record was scraped

FAQ

Does this require authentication? No. The PowerShell Gallery NuGet v2 API is publicly accessible without any API key or login.

How many packages can I scrape? Up to 500 per run. For larger datasets, run multiple times with different search queries.

What types of packages are available? Modules (.psd1/.psm1) and Scripts (.ps1). Use the packageType filter to narrow results.

Can I search for multiple keywords? Run the actor multiple times with different searchQuery values, or use broad terms like azure, aws, security, network.

What is the data source? The PowerShell Gallery NuGet v2 OData API at https://www.powershellgallery.com/api/v2/.