{"description":"Searches the Chocolatey Community Repository for Windows software packages like its packages page: package id, title, version, download count, description, author and package page link. First page of results (up to 30 packages).","effect":"read","id":"community.chocolatey.org/search-packages","keywords":["chocolatey","windows","packages","software","install","choco","nuget","package manager","download","apps","open source","community"],"output":{"schema":{"properties":{"packages":{"items":{"properties":{"author":{"type":["string","null"]},"description":{"type":["string","null"]},"downloads":{"type":["integer","null"]},"id":{"type":"string"},"title":{"type":["string","null"]},"url":{"type":"string"},"version":{"type":["string","null"]}},"required":["id","url"],"type":"object"},"type":"array"},"query":{"type":"string"}},"required":["query","packages"],"type":"object"},"value":"{query: params.query, packages: steps.search.packages[?id != `null` && href != `null`].{id: id, title: title || `null`, version: version || `null`, downloads: (downloads && to_number(replace(downloads, ',', ''))) || `null`, description: description || `null`, author: author || `null`, url: join('', ['https://community.chocolatey.org', href])}}"},"params":{"additionalProperties":false,"properties":{"query":{"description":"Package name or keyword, e.g. '7zip', 'notepad++', 'git'","maxLength":100,"minLength":2,"type":"string"}},"required":["query"],"type":"object"},"provenance":{"method":"har","notes":"GET /packages?q=<query> returns server-rendered HTML with the first page of packages as li.package-listing elements (data-package-id, h5 link to /packages/<id>, version and download count spans, description, author link). Relative links are made absolute on community.chocolatey.org. No hashed CSS classes are used. The recipe does not call other hosts.","recorded_at":"2026-11-08T16:40:23.000Z","recorded_by":"wield-forge (claude-haiku agent)"},"requires_login":false,"schema":"https://wield.run/schema/recipe/v1.json","site":{"country":"US","id":"community.chocolatey.org","language":"en","name":"Chocolatey Community Repository","origin":"https://community.chocolatey.org","origins":["https://community.chocolatey.org"]},"steps":[{"description":"Server-rendered packages search page /packages?q=...; read-only GET. Each package is an li.package-listing with data-package-id, the title and version in h5 a, the download count, description and author.","expect":{"content_type":"html","status":[200]},"extract":{"html_items":{"packages":{"fields":{"author":{"attr":"title","selector":"li.package-listing-author a"},"description":{"selector":"p.package-listing-description"},"downloads":{"selector":"span.package-listing-downloads"},"href":{"attr":"href","selector":"h5 a[href^='/packages/']"},"id":{"attr":"data-package-id","selector":":scope"},"title":{"selector":"span.package-listing-title"},"version":{"selector":"span.package-listing-version"}},"max":50,"selector":"li.package-listing"}}},"id":"search","request":{"headers":{"Accept":"text/html"},"method":"GET","query":{"q":"{{params.query}}"},"url":"/packages"}}],"task":"Search Windows packages on Chocolatey","tos":{"notes":"Not reviewed. One search page per call, the same page a visitor loads. The site's terms on automated access were not checked.","reviewed":false},"verify":{"checks":["length(output.packages) > `0`","length(output.packages[?starts_with(url, 'https://community.chocolatey.org/packages/')]) == length(output.packages)","length(output.packages[?title != `null`]) == length(output.packages)"],"example_params":{"query":"7zip"},"max_ms":5000},"version":1}