| title | Search for packages across feeds |
|---|---|
| titleSuffix | Azure Artifacts |
| description | How to search for packages across all your feeds and in upstream sources in an Azure DevOps organization. |
| ms.subservice | azure-devops-search |
| ms.custom | cross-service, cross-project |
| ms.topic | how-to |
| ms.author | chcomley |
| author | chcomley |
| monikerRange | azure-devops |
| ms.date | 07/10/2025 |
[!INCLUDE version-eq-azure-devops]
Finding the right package for your project can be time-consuming, especially when you're managing multiple feeds, versions, and dependencies. In this article, you learn how to use Azure DevOps Code Search to perform functional package searches across all your feeds to help you locate your packages based on functionality, versions, or type.
| Product | Requirements |
|---|---|
| Azure DevOps | - An Azure DevOps organization. - An Azure DevOps project. - An Azure Artifacts feed. |
Azure DevOps code search lets you search all feeds in your organization, regardless of the project you’re in.
-
Sign in to your Azure DevOps organization and navigate to your project (
https://dev.azure.com/{Your_Organization}/{Your_Project}). -
In the search bar, enter a term (for example, time) in the search box and press Enter. This returns any package with the term "time" in its name or description.
-
Select the Package tab to view all search results. Use the Feeds, Views, or Type dropdown menus to filter results by feed, feed view, or package type (for example, NuGet).
:::image type="content" source="media/shared/package-search-results-filters.png" alt-text="A screenshot displaying how to filter the package search results.":::
Note
The Views filter appears only when you select a single feed from the Feeds filter.
The Azure DevOps REST API provides an endpoint that allows you to search for packages within a specific organization. The following example demonstrates how to construct the HTTP request and request body to search for the react-calendar npm package across all feeds in your organization. See Fetch package search results for more details.
POST https://almsearch.dev.azure.com/ORGANIZATION_NAME/_apis/search/packagesearchresults?api-version=7.1{
"$orderBy": null,
"$top": 100,
"$skip": 0,
"searchText": "react-calendar",
"filters": {
"ProtocolType": "Npm"
}
}
Azure Artifacts upstream sources enable developers to consume packages from different feeds and public registries such as NuGet.org. Using Azure Artifacts, you can search for various types of packages in your upstream sources.
-
Sign in to your Azure DevOps collection, and then navigate to your project.
-
Select Artifacts, and then select your feed from the dropdown menu.
-
Select Search Upstream Sources in the upper-right corner of the page.
-
Choose a Package type and then enter the exact name in the Package Name text box. The package name is case sensitive and must be an exact match.
-
Select Search to view a list of available versions for the package you searched.
Note
Searching for packages in upstream sources from your feed is supported only in Azure DevOps services.
[!div class="nextstepaction"] Promote a package to a view