Skip to main content

Search Packages

GET 

/search

Search Packages. This endpoint allows you to search for packages in the Nixpkgs repository using a search query. The response includes a list of package names along with their description. To get available versions and installables for a package, you can use this name with the /v2/pkg endpoint.

Request

Query Parameters

    q stringrequired

    Search query.

Responses

OK

Schema

    query string

    The search query sent to the /v2/search endpoint

    total_results integer

    The total number of results for the search query

    results

    object[]

    A list of SearchResults that match the query. This array will be empty if no results were found.

  • Array [

  • name string

    The name of the package that matched the search query

    summary string

    A short description of the package

    last_updated string

    The last time this package was updated in the Nixpkgs repo

  • ]

Loading...