PkgSeek Search API
Typo-tolerant package search with distro facets
Typo-tolerant package search with distro facets
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-search-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 Search 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: Search
description: Typo-tolerant package search with distro facets
paths:
/v1/search:
get:
tags:
- Search
operationId: search
parameters:
- name: q
in: query
description: Search query (name + summary)
required: false
schema:
type: string
- name: distro
in: query
description: Restrict to a distro id (alpine, debian, ubuntu, fedora, arch)
required: false
schema:
type: string
- name: release
in: query
description: Restrict to an indexed release id (e.g. trixie, 43, edge)
required: false
schema:
type: string
- name: source
in: query
description: Restrict to a repository source (official, epel, remi, ...)
required: false
schema:
type: string
- name: arch
in: query
description: Native target architecture; requires distro and release
required: false
schema:
type: string
- name: repo
in: query
description: Optional repository within an explicit architecture scope
required: false
schema:
type: string
- name: catalog_revision
in: query
required: false
schema:
type: string
- name: sort
in: query
description: 'Sort order: relevance, name, or updated (default relevance)'
required: false
schema:
type: string
- name: limit
in: query
description: Page size, 1–100 (default 50)
required: false
schema:
type: integer
format: int64
- name: offset
in: query
description: Rows to skip, max 5000 (default 0)
required: false
schema:
type: integer
format: int64
responses:
'200':
description: Hits, facet counts and total
content:
application/json:
schema:
$ref: '#/components/schemas/SearchResponse'
summary: Search
x-summary-source: derived
components:
schemas:
SearchFacets:
type: object
required:
- distro
properties:
distro:
type: object
description: Result count per distro id for the query, ignoring the active filter.
additionalProperties:
type: integer
format: int64
propertyNames:
type: string
SearchHit:
type: object
required:
- name
- summary
- distros
- cves
properties:
cves:
type: integer
format: int64
description: Distinct known CVEs across the matched package rows (respects the distro filter).
distros:
type: array
items:
$ref: '#/components/schemas/DistroVersion'
name:
type: string
section:
type:
- string
- 'null'
summary:
type: string
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
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
SearchResponse:
type: object
description: 'Search payload: one result page, distro facets, total count and conservative
package-name corrections when the query appears misspelled.'
required:
- hits
- facets
- total
- suggestions
properties:
catalog_revision:
type:
- string
- 'null'
facets:
$ref: '#/components/schemas/SearchFacets'
hits:
type: array
items:
$ref: '#/components/schemas/SearchHit'
requested_scope:
oneOf:
- type: 'null'
- $ref: '#/components/schemas/PackageScope'
resolution_policy:
type:
- string
- 'null'
search_mode:
type:
- string
- 'null'
suggestions:
type: array
items:
type: string
total:
type: integer
format: int64
DistroVersion:
type: object
required:
- id
- version
- source
properties:
arch:
type:
- string
- 'null'
id:
type: string
release:
type:
- string
- 'null'
description: 'Release the newest build came from (e.g. `42`, `trixie`). Only populated
when the caller needs canonical package links.'
repo:
type:
- string
- 'null'
description: Repository/component name for the selected build, when known.
resolution:
oneOf:
- type: 'null'
- $ref: '#/components/schemas/PackageResolution'
source:
type: string
description: 'Repository source (`official` for distro-owned repos, otherwise a
third-party channel such as `epel` or `remi`).'
version:
type: string
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.
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