PkgSeek Install API
Resolve errors/files to package installation commands
Resolve errors/files to package installation commands
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
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.curl "https://apis.io/api/v1/apis/pkgseek-com:pkgseek-com-install-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a 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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: pkgseek Install API
description: Open REST API over sourced cross-distro Linux package and CLI facts. Public fact reads and correction submission require no authentication; management review endpoints require a server-side bearer token. Rate-limited responses return 429 (Retry-After where applicable); rejected credentials return 403. Protected writes accept either an x-turnstile-token header (browser, human-verified) or a scoped pk_* bearer key (machines).
license:
name: MIT
identifier: MIT
version: 0.2.9
tags:
- name: install
description: Resolve errors/files to package installation commands
paths:
/v1/install:
get:
tags:
- install
operationId: install_search
parameters:
- name: q
in: query
description: A file name/path or common shell/compiler/loader error
required: true
schema:
type: string
- name: distro
in: query
description: Optional distro id
required: false
schema:
type: string
- name: release
in: query
description: Optional release id
required: false
schema:
type: string
- name: source
in: query
description: Optional repository source
required: false
schema:
type: string
- name: repo
in: query
required: false
schema:
type: string
- name: arch
in: query
required: false
schema:
type: string
- name: catalog_revision
in: query
required: false
schema:
type: string
responses:
'200':
description: Exact providers and installation commands
content:
application/json:
schema:
type: array
items:
$ref: '#/components/schemas/InstallHit'
'400':
description: Input is invalid or no exact token can be extracted
summary: Install search
x-summary-source: derived
components:
schemas:
ScopeCoverage:
type: object
required:
- state
- reason
properties:
generation:
type:
- string
- 'null'
observed_at:
type:
- string
- 'null'
reason:
type: string
state:
type: string
description: Legacy index timestamps cannot prove a complete import generation.
PackageScope:
type: object
description: An explicit ordinary-repository request uses one exact release snapshot.
required:
- distro
- release
- source
- arch
properties:
arch:
type: string
distro:
type: string
release:
type: string
repo:
type:
- string
- 'null'
source:
type: string
additionalProperties: false
InstallHit:
type: object
description: 'An exact file match together with the package-manager command that installs
the providing package in one indexed distribution release.'
required:
- query
- path
- package
- distro
- distro_name
- source
- release
- repo
- version
- command
properties:
arch:
type:
- string
- 'null'
command:
type: string
distro:
type: string
distro_name:
type: string
package:
type: string
path:
type: string
query:
type: string
description: File name/path extracted from the user's raw error message.
release:
type: string
repo:
type: string
resolution:
oneOf:
- type: 'null'
- $ref: '#/components/schemas/PackageResolution'
source:
type: string
version:
type: string
PackageResolution:
type: object
required:
- requested
- resolved
- match_type
- selection
- catalog_revision
- policy
- coverage
- warnings
properties:
catalog_revision:
type: string
coverage:
$ref: '#/components/schemas/ScopeCoverage'
match_type:
type: string
policy:
type: string
requested:
$ref: '#/components/schemas/PackageScope'
resolved:
$ref: '#/components/schemas/PackageScope'
selection:
type: string
warnings:
type: array
items:
type: string
securitySchemes:
admin_token:
type: http
scheme: bearer
machine_key:
type: http
scheme: bearer
turnstile:
type: apiKey
in: header
name: x-turnstile-token
watch_token:
type: apiKey
in: header
name: x-watch-token