Jetify Pkg API

The Pkg API from Jetify — 1 operation(s) for pkg.

Operations 1

GET /pkg Get a Package #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/jetify-pkg-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

jetify-pkg-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Nixhub Pkg API
  version: 2.0.0
  description: The Nixhub API lets you search over 1 million package versions for over 100,000 Nix packages. Search for packages, look up version history, and resolve a package name + version to a nixpkgs commit and flake installable for use with Devbox or Nix. Free for personal use, subject to IP-based rate limiting. Built and operated by Jetify.
  contact:
    name: Jetify
    url: https://www.jetify.com/docs/nixhub/
  termsOfService: https://www.jetify.com/legal/terms
servers:
- url: https://search.devbox.sh/v2
  description: Nixhub production API (v2)
tags:
- name: Pkg
paths:
  /pkg:
    get:
      operationId: getPackage
      summary: Get a Package
      description: Get information about a specific package in Nixpkgs, including a list of releases, platforms, and outputs. Use this endpoint when you know the package name. To search for packages use /search; for only the latest matching version use /resolve.
      parameters:
      - name: name
        in: query
        required: true
        description: The name of the package you want to look up. Must be a valid Nixpkgs package name.
        schema:
          type: string
      responses:
        '200':
          description: Ok
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Package'
        '400':
          description: 'Bad Request: empty package name (set a ?name=<pkg> query parameter)'
        '404':
          description: Not Found
      tags:
      - Pkg
components:
  schemas:
    Release:
      type: object
      properties:
        version:
          type: string
        last_updated:
          type: string
        platforms:
          type: array
          items:
            $ref: '#/components/schemas/Platform'
        platforms_summary:
          type: string
          description: A summary string that represents the platforms the release can be installed on.
        outputs_summary:
          type: string
          description: A summary string of the outputs (e.g., out, lib, dev) available for the release.
    Package:
      type: object
      properties:
        name:
          type: string
          description: The name of the package in Nixhub/Devbox.
        summary:
          type: string
          description: A short description of the package.
        homepage_url:
          type: string
          description: The URL to the package's project homepage.
        license:
          type: string
          description: The software license of the package.
        releases:
          type: array
          items:
            $ref: '#/components/schemas/Release'
    Platform:
      type: object
      properties:
        arch:
          type: string
        os:
          type: string
        systems:
          type: string
          description: The full Nix compatible name of the system. One of aarch64-darwin, aarch64-linux, x86_64-darwin, or x86_64-linux.
        attribute_path:
          type: string
          description: The attribute path to the package in Nixpkgs. Used to install with Nix or Devbox.
        commit_hash:
          type: string
          description: The hash of the Nixpkgs commit this package was last updated in.
        date:
          type: string
          description: The date this package was last updated in Nixpkgs.
        outputs:
          type: array
          items:
            $ref: '#/components/schemas/Output'
    Output:
      type: object
      properties:
        name:
          type: string
          description: The name of the output (e.g., out, lib, dev).
        path:
          type: string
          description: The unique path to the output in the Nix store.
        default:
          type: boolean
          description: Whether this output is the default output for the package.
        nar:
          type: string
          description: The path to the package's NAR (Nix Archive) file containing build artifacts.