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/aboutcode:aboutcode-packages-api"
All apis
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.
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. 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: Aboutcode Packages API
version: '1.0'
description: 'Operations tagged packages across 3 of this provider''s published API definitions: purldb-openapi.yml, aboutcode-purldb-openapi.yml, aboutcode-vulnerablecode-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: https://public.purldb.io
- url: https://public.vulnerablecode.io
tags:
- name: Packages
paths:
/api/packages/:
get:
operationId: packages_list
parameters:
- in: query
name: download_url
schema:
type: string
- in: query
name: filename
schema:
type: string
- in: query
name: md5
schema:
type: array
items:
type:
- string
- 'null'
description: Exact MD5. Multi-value supported.
explode: true
style: form
- in: query
name: name
schema:
type: array
items:
type: string
description: Exact name. Multi-value supported. (case-insensitive)
explode: true
style: form
- in: query
name: namespace
schema:
type: string
description: Exact namespace. (case-insensitive)
- in: query
name: package_content
schema:
type:
- integer
- 'null'
enum:
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- null
description: 'Content of this Package as one of: curation, patch, source_repo, source_archive, binary, test, doc
* `1` - curation
* `2` - patch
* `3` - source_repo
* `4` - source_archive
* `5` - binary
* `6` - test
* `7` - doc'
- name: page
required: false
in: query
description: A page number within the paginated result set.
schema:
type: integer
- name: page_size
required: false
in: query
description: Number of results to return per page.
schema:
type: integer
- in: query
name: purl
schema:
type: array
items:
type: string
description: Package URL
explode: true
style: form
- in: query
name: qualifiers
schema:
type: string
- in: query
name: release_date
schema:
type: string
format: date-time
- name: search
required: false
in: query
description: A search term.
schema:
type: string
- in: query
name: sha1
schema:
type: array
items:
type:
- string
- 'null'
description: Exact SHA1. Multi-value supported.
explode: true
style: form
- in: query
name: sha256
schema:
type: string
- in: query
name: size
schema:
type: integer
- in: query
name: sort
schema:
type: array
items:
type: string
enum:
- -download_url
- -filename
- -name
- -namespace
- -package_content
- -qualifiers
- -release_date
- -size
- -subpath
- -type
- -version
- download_url
- filename
- name
- namespace
- package_content
- qualifiers
- release_date
- size
- subpath
- type
- version
description: 'Ordering
* `type` - Type
* `-type` - Type (descending)
* `namespace` - Namespace
* `-namespace` - Namespace (descending)
* `name` - Name
* `-name` - Name (descending)
* `version` - Version
* `-version` - Version (descending)
* `qualifiers` - Qualifiers
* `-qualifiers` - Qualifiers (descending)
* `subpath` - Subpath
* `-subpath` - Subpath (descending)
* `package_content` - Package content
* `-package_content` - Package content (descending)
* `download_url` - Download url
* `-download_url` - Download url (descending)
* `filename` - Filename
* `-filename` - Filename (descending)
* `size` - Size
* `-size` - Size (descending)
* `release_date` - Release date
* `-release_date` - Release date (descending)'
explode: false
style: form
- in: query
name: subpath
schema:
type: string
- in: query
name: type
schema:
type: string
description: Exact type. (case-insensitive)
- in: query
name: vcs_url
schema:
type: string
description: Exact VCS URL. (case-insensitive)
- in: query
name: version
schema:
type: array
items:
type: string
description: Exact version. Multi-value supported.
explode: true
style: form
tags:
- Packages
security:
- tokenAuth: []
- {}
responses:
'200':
content:
application/json:
schema:
$ref: '#/components/schemas/PaginatedPackageAPIList'
description: ''
summary: Packages list
x-summary-source: derived
/api/packages/{uuid}/:
get:
operationId: packages_retrieve
parameters:
- in: path
name: uuid
schema:
type: string
format: uuid
required: true
tags:
- Packages
security:
- tokenAuth: []
- {}
responses:
'200':
content:
application/json:
schema:
$ref: '#/components/schemas/PackageAPI'
description: ''
summary: Packages retrieve
x-summary-source: derived
/api/packages/{uuid}/get_enhanced_package_data/:
get:
operationId: packages_get_enhanced_package_data_retrieve
description: Return a mapping of enhanced Package data for a given Package
parameters:
- in: path
name: uuid
schema:
type: string
format: uuid
required: true
tags:
- Packages
security:
- tokenAuth: []
- {}
responses:
'200':
content:
application/json:
schema:
$ref: '#/components/schemas/PackageAPI'
description: ''
summary: Packages get enhanced package data retrieve
x-summary-source: derived
/api/packages/{uuid}/history/:
get:
operationId: packages_history_retrieve
description: Return the History field associated with the current Package.
parameters:
- in: path
name: uuid
schema:
type: string
format: uuid
required: true
tags:
- Packages
security:
- tokenAuth: []
- {}
responses:
'200':
content:
application/json:
schema:
$ref: '#/components/schemas/PackageAPI'
description: ''
summary: Packages history retrieve
x-summary-source: derived
/api/packages/{uuid}/latest_version/:
get:
operationId: packages_latest_version_retrieve
description: 'Return the latest version of the current Package,
which can be itself if current is the latest.'
parameters:
- in: path
name: uuid
schema:
type: string
format: uuid
required: true
tags:
- Packages
security:
- tokenAuth: []
- {}
responses:
'200':
content:
application/json:
schema:
$ref: '#/components/schemas/PackageAPI'
description: ''
summary: Packages latest version retrieve
x-summary-source: derived
/api/packages/{uuid}/reindex_package/:
get:
operationId: packages_reindex_package_retrieve
description: Reindex this package instance
parameters:
- in: path
name: uuid
schema:
type: string
format: uuid
required: true
tags:
- Packages
security:
- tokenAuth: []
- {}
responses:
'200':
content:
application/json:
schema:
$ref: '#/components/schemas/PackageAPI'
description: ''
summary: Packages reindex package retrieve
x-summary-source: derived
/api/packages/{uuid}/resources/:
get:
operationId: packages_resources_retrieve
description: Return the Resources associated with the current Package.
parameters:
- in: path
name: uuid
schema:
type: string
format: uuid
required: true
tags:
- Packages
security:
- tokenAuth: []
- {}
responses:
'200':
content:
application/json:
schema:
$ref: '#/components/schemas/PackageAPI'
description: ''
summary: Packages resources retrieve
x-summary-source: derived
/api/packages/{uuid}/sbom/:
get:
operationId: packages_sbom_retrieve
description: Return a CycloneDX JSON SBOM for this Package
parameters:
- in: path
name: uuid
schema:
type: string
format: uuid
required: true
tags:
- Packages
security:
- tokenAuth: []
- {}
responses:
'200':
content:
application/json:
schema:
$ref: '#/components/schemas/PackageAPI'
description: ''
summary: Packages sbom retrieve
x-summary-source: derived
/api/packages/filter_by_checksums/:
post:
operationId: packages_filter_by_checksums_create
description: 'Take a mapping, where the keys are the names of the checksum algorithm
and the values is a list of checksum values and query those values
against the packagedb.
Supported checksum fields are:
- md5
- sha1
- sha256
- sha512
Example:
-------
{
"sha1": [
"b55fd82f80cc1bd0bdabf9c6e3153788d35d7911",
"27afff2610b5a94274a2311f8b15e514446b0e76
]
}
Multiple checksums algorithms can be passed together:
{
"sha1": [
"b55fd82f80cc1bd0bdabf9c6e3153788d35d7911",
"27afff2610b5a94274a2311f8b15e514446b0e76
],
"md5": [
"e927df60b093456d4e611ae235c1aa5b"
]
}
This will return Packages whose sha1 or md5 matches those values.'
tags:
- Packages
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/PackageAPI'
application/x-www-form-urlencoded:
schema:
$ref: '#/components/schemas/PackageAPI'
multipart/form-data:
schema:
$ref: '#/components/schemas/PackageAPI'
required: true
security:
- tokenAuth: []
- {}
responses:
'200':
content:
application/json:
schema:
$ref: '#/components/schemas/PackageAPI'
description: ''
summary: Packages filter by checksums create
x-summary-source: derived
/api/v3/packages/:
post:
operationId: v3_packages_retrieve
parameters:
- name: page
required: false
in: query
description: A page number within the paginated result set.
schema:
type: integer
- name: page_size
required: false
in: query
description: Number of results to return per page.
schema:
type: integer
tags:
- Packages
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/PackageQuery'
application/x-www-form-urlencoded:
schema:
$ref: '#/components/schemas/PackageQuery'
multipart/form-data:
schema:
$ref: '#/components/schemas/PackageQuery'
required: true
security:
- tokenAuth: []
- {}
responses:
'200':
content:
application/json:
schema:
$ref: '#/components/schemas/PaginatedPackageV3List'
description: ''
summary: V3 packages retrieve
x-summary-source: derived
servers:
- url: https://public.vulnerablecode.io
components:
schemas:
PackageSetAPI:
type: object
properties:
uuid:
type: string
format: uuid
description: The identifier of the Package set
packages:
type: array
items:
$ref: '#/components/schemas/PackageInPackageSetAPI'
required:
- packages
PackageInPackageSetAPI:
type: object
description: 'Serialize Package instances within a PackageSet that is within a Package in
the PackageAPISerializer'
properties:
uuid:
type: string
format: uuid
readOnly: true
required:
- uuid
NullEnum:
enum:
- null
PaginatedPackageAPIList:
type: object
required:
- count
- results
properties:
count:
type: integer
example: 123
next:
type:
- string
- 'null'
format: uri
example: http://api.example.org/accounts/?page=4
previous:
type:
- string
- 'null'
format: uri
example: http://api.example.org/accounts/?page=2
results:
type: array
items:
$ref: '#/components/schemas/PackageAPI'
BlankEnum:
enum:
- ''
Party:
type: object
properties:
type:
description: 'the type of this party
* `person` - person
* `project` - project
* `organization` - organization'
oneOf:
- $ref: '#/components/schemas/TypeEnum'
- $ref: '#/components/schemas/BlankEnum'
- $ref: '#/components/schemas/NullEnum'
role:
type:
- string
- 'null'
description: A role for this party. Something such as author, maintainer, contributor, owner, packager, distributor, vendor, developer, owner, etc.
maxLength: 32
name:
type:
- string
- 'null'
description: Name of this party.
maxLength: 1024
email:
type:
- string
- 'null'
description: Email for this party.
maxLength: 1024
url:
type:
- string
- 'null'
description: URL to a primary web page for this party.
maxLength: 1024
PackageAPI:
type: object
properties:
url:
type: string
format: uri
readOnly: true
uuid:
type: string
format: uuid
readOnly: true
filename:
type:
- string
- 'null'
readOnly: true
description: File name of a Resource sometimes part of the URI properand sometimes only available through an HTTP header.
package_sets:
type: array
items:
$ref: '#/components/schemas/PackageSetAPI'
package_content:
type: string
readOnly: true
purl:
type: string
readOnly: true
type:
type: string
readOnly: true
description: 'A short code to identify the type of this package. For example: gem for a Rubygem, docker for a container, pypi for a Python Wheel or Egg, maven for a Maven Jar, deb for a Debian package, etc.'
namespace:
type: string
readOnly: true
description: Package name prefix, such as Maven groupid, Docker image owner, GitHub user or organization, etc.
name:
type: string
readOnly: true
description: Name of the package.
version:
type: string
readOnly: true
description: Version of the package.
qualifiers:
type: string
readOnly: true
description: Extra qualifying data for a package such as the name of an OS, architecture, distro, etc.
subpath:
type: string
readOnly: true
description: Extra subpath within a package, relative to the package root.
primary_language:
type:
- string
- 'null'
readOnly: true
description: Primary programming language.
description:
type:
- string
- 'null'
readOnly: true
description: Description for this package. By convention the first line should be a summary when available.
release_date:
type:
- string
- 'null'
format: date-time
readOnly: true
description: The date and time that the package file was created, or when it was posted to its original download source.
parties:
type: array
items:
$ref: '#/components/schemas/Party'
keywords:
type:
- array
- 'null'
items:
type:
- string
- 'null'
readOnly: true
description: A list of keywords.
homepage_url:
type:
- string
- 'null'
readOnly: true
description: URL to the homepage for this package.
download_url:
type: string
readOnly: true
description: A direct download URL.
bug_tracking_url:
type:
- string
- 'null'
readOnly: true
description: URL to the issue or bug tracker for this package.
code_view_url:
type:
- string
- 'null'
readOnly: true
description: a URL where the code can be browsed online.
vcs_url:
type:
- string
- 'null'
readOnly: true
description: 'A URL to the VCS repository in the SPDX form of: "git", "svn", "hg", "bzr", "cvs", https://github.com/nexb/scancode-toolkit.git@405aaa4b3 See SPDX specification "Package Download Location" at https://spdx.org/spdx-specification-21-web-version#h.49x2ik5'
repository_homepage_url:
type:
- string
- 'null'
readOnly: true
description: URL to the page for this package in its package repository. This is typically different from the package homepage URL proper.
repository_download_url:
type:
- string
- 'null'
readOnly: true
description: Download URL to download the actual archive of code of this package in its package repository. This may be different from the actual download URL.
api_data_url:
type:
- string
- 'null'
readOnly: true
description: API URL to obtain structured data for this package such as the URL to a JSON or XML api its package repository.
size:
type:
- integer
- 'null'
readOnly: true
description: Size in bytes.
md5:
type:
- string
- 'null'
readOnly: true
description: MD5 checksum hex-encoded, as in md5sum.
sha1:
type:
- string
- 'null'
readOnly: true
description: SHA1 checksum hex-encoded, as in sha1sum.
sha256:
type:
- string
- 'null'
readOnly: true
description: SHA256 checksum hex-encoded, as in sha256sum.
sha512:
type:
- string
- 'null'
readOnly: true
description: SHA512 checksum hex-encoded, as in sha512sum.
copyright:
type:
- string
- 'null'
readOnly: true
description: Copyright statements for this package. Typically one per line.
holder:
type:
- string
- 'null'
readOnly: true
description: Holders for this package. Typically one per line.
declared_license_expression:
type:
- string
- 'null'
readOnly: true
description: The license expression for this package typically derived from its extracted_license_statement or from some other type-specific routine or convention.
declared_license_expression_spdx:
type: string
license_detections:
readOnly: true
description: A list of LicenseDetection mappings typically derived from its extracted_license_statement or from some other type-specific routine or convention.
other_license_expression:
type:
- string
- 'null'
readOnly: true
description: The license expression for this package which is different from the declared_license_expression, (i.e. not the primary license) routine or convention.
other_license_expression_spdx:
type: string
other_license_detections:
readOnly: true
description: 'A list of LicenseDetection mappings which is different from the declared_license_expression, (i.e. not the primary license) These are detections for the detection for the license expressions in other_license_expression. '
extracted_license_statement:
type:
- string
- 'null'
readOnly: true
description: The license statement mention, tag or text as found in a package manifest and extracted. This can be a string, a list or dict of strings possibly nested, as found originally in the manifest.
notice_text:
type:
- string
- 'null'
readOnly: true
description: A notice text for this package.
source_packages:
type:
- array
- 'null'
items:
type:
- string
- 'null'
readOnly: true
description: A list of source package URLs (aka. "purl") for this package. For instance an SRPM is the "source package" for a binary RPM.
extra_data:
readOnly: true
description: Optional mapping of extra data key/values.
package_uid:
type: string
readOnly: true
datasource_id:
type:
- string
- 'null'
readOnly: true
description: The identifier for the datafile handler used to obtain this package.
file_references:
readOnly: true
description: List of file paths and details for files referenced in a package manifest. These may not actually exist on the filesystem. The exact semantics and base of these paths is specific to a package type or datafile format.
dependencies:
type: array
items:
$ref: '#/components/schemas/DependentPackage'
resources:
type: string
format: uri
readOnly: true
history:
type: string
format: uri
readOnly: true
required:
- api_data_url
- bug_tracking_url
- code_view_url
- copyright
- datasource_id
- declared_license_expression
- declared_license_expression_spdx
- dependencies
- description
- download_url
- extra_data
- extracted_license_statement
- file_references
- filename
- history
- holder
- homepage_url
- keywords
- license_detections
- md5
- name
- namespace
- notice_text
- other_license_detections
- other_license_expression
- other_license_expression_spdx
- package_content
- package_sets
- package_uid
- parties
- primary_language
- purl
- qualifiers
- release_date
- repository_download_url
- repository_homepage_url
- resources
- sha1
- sha256
- sha512
- size
- source_packages
- subpath
- type
- url
- uuid
- vcs_url
- version
TypeEnum:
enum:
- person
- project
- organization
type: string
description: '* `person` - person
* `project` - project
* `organization` - organization'
DependentPackage:
type: object
properties:
purl:
type:
- string
- 'null'
description: A compact purl package URL
maxLength: 2048
extracted_requirement:
type:
- string
- 'null'
description: A string defining version(s)requirements. Package-type specific.
maxLength: 200
scope:
type:
- string
- 'null'
description: The scope of this dependency, such as runtime, install, etc. This is package-type specific and is the original scope string.
maxLength: 100
is_runtime:
type: boolean
description: True if this dependency is a runtime dependency.
is_optional:
type: boolean
description: True if this dependency is an optional dependency
is_pinned:
type: boolean
description: True if this dependency version requirement has been resolved and this dependency url points to an exact version.
PackageV3:
type: object
properties:
purl:
type: string
affected_by_vulnerabilities:
type: string
readOnly: true
affected_by_vulnerabilities_url:
type: string
readOnly: true
fixing_vulnerabilities:
type: string
readOnly: true
fixing_vulnerabilities_url:
type: string
readOnly: true
next_non_vulnerable_version:
type: string
readOnly: true
latest_non_vulnerable_version:
type: string
readOnly: true
risk_score:
type: number
format: double
readOnly: true
required:
- affected_by_vulnerabilities
- affected_by_vulnerabilities_url
- fixing_vulnerabilities
- fixing_vulnerabilities_url
- latest_non_vulnerable_version
- next_non_vulnerable_version
- purl
- risk_score
PaginatedPackageV3List:
type: object
required:
- count
- results
properties:
count:
type: integer
example: 123
next:
type:
- string
- 'null'
format: uri
example: http://api.example.org/accounts/?page=4
previous:
type:
- string
- 'null'
format: uri
example: http://api.example.org/accounts/?page=2
results:
type: array
items:
$ref: '#/components/schemas/PackageV3'
PackageQuery:
type: object
properties:
purls:
type: array
items:
type: string
details:
type: boolean
default: false
ignore_qualifiers_subpath:
type: boolean
default: false
max_advisories:
type: integer
maximum: 10000
minimum: 1
default: 100
reachability:
type: boolean
default: false
required:
- purls
securitySchemes:
tokenAuth:
type: apiKey
in: header
name: Authorization
description: Token-based authentication with required prefix "Token"
x-refined-from:
- purldb-openapi.yml
- aboutcode-purldb-openapi.yml
- aboutcode-vulnerablecode-openapi.yml