VOOZH about

URL: https://apify.com/crawlerbros/nix-packages-scraper

โ‡ฑ NixOS Package Search Scraper ยท Apify


Pricing

from $3.00 / 1,000 results

Go to Apify Store

NixOS Package Search Scraper

Scrapes NixOS package metadata from the NixOS package search backend. Search packages by keyword or fetch specific packages by attribute name.

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

12 hours ago

Last modified

Share

Scrape NixOS package metadata directly from the official NixOS package search backend. Search packages by keyword or fetch specific packages by their Nix attribute name across multiple NixOS channels.

Features

  • Search packages by keyword across NixOS channels
  • Fetch specific packages by attribute name (e.g. git, nodejs_20, python3)
  • Supports NixOS 25.11 (stable), NixOS 26.05, and NixOS Unstable channels
  • Returns full package metadata: version, description, license, maintainers, platforms, position, and homepage
  • Includes direct link to the package on search.nixos.org

Input

FieldTypeDescriptionDefault
modeselectsearchPackages or getByAttrsearchPackages
searchQuerystringKeyword to search forgit
channelselectNixOS channel: 25.11, 26.05, or unstable25.11
attrNamesarrayNix attribute names to fetch (e.g. ["git", "vim"])[]
maxItemsintegerMaximum number of packages to return (1โ€“500)50

Example Input โ€” Search Packages

{
"mode":"searchPackages",
"searchQuery":"git",
"channel":"25.11",
"maxItems":20
}

Example Input โ€” Get by Attribute

{
"mode":"getByAttr",
"attrNames":["git","vim","nodejs_20"],
"channel":"25.11"
}

Output

Each record contains:

FieldTypeDescription
attrNamestringNix attribute name (e.g. git)
packageNamestringPackage pname (e.g. git)
versionstringPackage version (e.g. 2.51.2)
descriptionstringShort description
longDescriptionstringDetailed description (HTML stripped)
licensestringLicense name(s)
maintainersarrayList of maintainer names
platformsarraySupported platforms
positionstringFile:line in nixpkgs (e.g. pkgs/...default.nix:552)
homepagestringProject homepage URL
channelstringNixOS channel queried
sourceUrlstringLink to package on search.nixos.org
recordTypestringAlways "package"
scrapedAtstringISO 8601 timestamp

Example Output Record

{
"attrName":"git",
"packageName":"git",
"version":"2.51.2",
"description":"Distributed version control system",
"longDescription":"Git, a popular distributed version control system designed to handle very large projects with speed and efficiency.",
"license":"GNU General Public License v2.0",
"maintainers":["Wout Mertens","Robin Gloster","Adam Dinwoodie"],
"platforms":["x86_64-linux","aarch64-linux","x86_64-darwin"],
"position":"pkgs/applications/version-management/git/default.nix:552",
"homepage":"https://git-scm.com/",
"channel":"25.11",
"sourceUrl":"https://search.nixos.org/packages?channel=25.11&show=git",
"recordType":"package",
"scrapedAt":"2026-01-01T12:00:00+00:00"
}

FAQs

Which NixOS channels are supported? NixOS 25.11 (current stable), NixOS 26.05, and NixOS Unstable.

What is an attribute name? In Nix, packages are identified by their attribute path in nixpkgs. For example git, nodejs_20, or python3. You can find attribute names on search.nixos.org.

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

Are there rate limits? The NixOS search backend is a public Elasticsearch cluster. The scraper uses appropriate delays to avoid overloading it.

What does the position field contain? The file path and line number in the nixpkgs repository where the package is defined, e.g. pkgs/applications/version-management/git/default.nix:552.

You might also like

NixOS Package Search Scraper

crawlergang/nix-packages-scraper

Scrapes NixOS package metadata from the NixOS package search backend. Search packages by keyword or fetch specific packages by attribute name.

2

5.0

Pub.dev Scraper

crawlergang/pub-dev-scraper

Scrape Pub.dev, the official Dart and Flutter package repository with 40K+ packages. Search packages, fetch package details with scores, get all packages by a publisher, or browse trending packages.

2

5.0

Pub.dev Scraper

crawlerbros/pub-dev-scraper

Scrape Pub.dev, the official Dart and Flutter package repository with 40K+ packages. Search packages, fetch package details with scores, get all packages by a publisher, or browse trending packages.

Windows Package Manager (winget) Scraper

crawlergang/winget-scraper

Scrapes Windows Package Manager (winget) package metadata from winget.run. Search packages by keyword or fetch specific packages by their winget package ID.

2

5.0

Windows Package Manager (winget) Scraper

crawlerbros/winget-scraper

Scrapes Windows Package Manager (winget) package metadata from winget.run. Search packages by keyword or fetch specific packages by their winget package ID.

npm Package Scraper

plantane/npm-scraper

Scrape npm package data โ€” search packages or get detailed info including versions, maintainers, and download stats.