datakoot-com Package Intel API
The Package Intel API from datakoot-com — 6 operation(s) for package intel.
The Package Intel API from datakoot-com — 6 operation(s) for package intel.
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/datakoot-com:datakoot-com-package-intel-api"
curl "https://apis.io/api/v1/apis?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
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: 3.2.0
info:
title: Datakoot x402 data Package Intel API
version: 2.8.0
x-guidance: 'Call POST /api/<tool> with a JSON body of the tool''s arguments (GET with a query string also works). Without payment you get HTTP 402 with an x402 v2 challenge (PAYMENT-REQUIRED header and JSON body): pay $0.01 USDC on Base (eip155:8453) to the listed payTo using the exact scheme, then retry with the PAYMENT-SIGNATURE header. Datakoot verifies the payment, runs the tool, and settles only if the tool succeeds; a tool error returns 422 with charged:false. Successful responses are plain JSON matching each operation''s 200 schema, with the on-chain receipt in PAYMENT-RESPONSE. Start with cve_lookup, package_health, financials, country_profile or domain_report. MCP clients can use /mcp; every tool is also free for 100 calls/day at <server>.datakoot.com/mcp.'
description: 48 live public-data tools (security, packages, SEC filings, economy, FX, weather, domains, Federal Register, Base) plus 4 Koot briefing tools that combine many lookups into one answer, for AI agents. $0.01 USDC per call (every tool and every Koot brief) on Base via x402, charged only on success. The same tools are free for 100 calls/day via MCP at .datakoot.com/mcp.
contact:
email: hello@datakoot.com
url: https://datakoot.com
servers:
- url: https://x402.datakoot.com
tags:
- name: Package Intel
paths:
/api/package_info:
post:
operationId: package_info
summary: Package Info (Package Intel)
description: 'Get core metadata for a package: latest version, description, license, homepage, source repository, maintainers, and whether it is deprecated. Use before an agent installs or recommends a dependency. Ecosystems: npm, pypi, cargo. PAID: $0.01 USDC per call via x402 (charged only on success).'
tags:
- Package Intel
x-payment-info:
price:
currency: USD
mode: fixed
amount: '0.01'
protocols:
- x402:
scheme: exact
network: eip155:8453
asset: '0x833589fcd6edb6e08f4c7c32d4f71b54bda02913'
payTo: '0x3de7b2de531053340cf132d29b837e5a0e924177'
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
ecosystem:
type: string
enum:
- npm
- pypi
- cargo
description: 'Package registry to look in. One of: npm, pypi, cargo.'
name:
type: string
description: Package/crate name
required:
- ecosystem
- name
example:
ecosystem: pypi
name: requests
responses:
'200':
description: Tool result (charged)
content:
application/json:
schema:
type: object
properties:
ecosystem: {}
name: {}
version: {}
description: {}
license: {}
homepage: {}
repository: {}
maintainers: {}
published: {}
deprecated: {}
requires_python: {}
version_count: {}
additionalProperties: true
'402':
description: 'Payment required: x402 challenge in the PAYMENT-REQUIRED header and body'
'422':
description: Tool error (not charged)
/api/package_versions:
post:
operationId: package_versions
summary: Package Versions (Package Intel)
description: 'List recent released versions of a package with release dates (most recent first). Helps an agent pick a version or check how actively it is maintained. Ecosystems: npm, pypi, cargo. PAID: $0.01 USDC per call via x402 (charged only on success).'
tags:
- Package Intel
x-payment-info:
price:
currency: USD
mode: fixed
amount: '0.01'
protocols:
- x402:
scheme: exact
network: eip155:8453
asset: '0x833589fcd6edb6e08f4c7c32d4f71b54bda02913'
payTo: '0x3de7b2de531053340cf132d29b837e5a0e924177'
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
ecosystem:
type: string
enum:
- npm
- pypi
- cargo
description: 'Package registry to look in. One of: npm, pypi, cargo.'
name:
type: string
description: Exact package name as published in that registry, e.g. express for npm, requests for pypi, serde for cargo.
limit:
type: integer
default: 15
description: Maximum number of results to return.
required:
- ecosystem
- name
example:
ecosystem: npm
name: react
limit: 5
responses:
'200':
description: Tool result (charged)
content:
application/json:
schema:
type: object
properties:
ecosystem: {}
name: {}
latest: {}
versions: {}
additionalProperties: true
'402':
description: 'Payment required: x402 challenge in the PAYMENT-REQUIRED header and body'
'422':
description: Tool error (not charged)
/api/package_downloads:
post:
operationId: package_downloads
summary: Package Downloads (Package Intel)
description: 'Get popularity/download statistics for a package (recent download counts). Useful for judging how widely used and battle-tested a dependency is. Ecosystems: npm, pypi, cargo. PAID: $0.01 USDC per call via x402 (charged only on success).'
tags:
- Package Intel
x-payment-info:
price:
currency: USD
mode: fixed
amount: '0.01'
protocols:
- x402:
scheme: exact
network: eip155:8453
asset: '0x833589fcd6edb6e08f4c7c32d4f71b54bda02913'
payTo: '0x3de7b2de531053340cf132d29b837e5a0e924177'
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
ecosystem:
type: string
enum:
- npm
- pypi
- cargo
description: 'Package registry to look in. One of: npm, pypi, cargo.'
name:
type: string
description: Exact package name as published in that registry, e.g. express for npm, requests for pypi, serde for cargo.
required:
- ecosystem
- name
example:
ecosystem: npm
name: react
responses:
'200':
description: Tool result (charged)
content:
application/json:
schema:
type: object
properties:
ecosystem: {}
last_month: {}
additionalProperties: true
'402':
description: 'Payment required: x402 challenge in the PAYMENT-REQUIRED header and body'
'422':
description: Tool error (not charged)
/api/package_dependencies:
post:
operationId: package_dependencies
summary: Package Dependencies (Package Intel)
description: 'List the direct dependencies of a specific package version (defaults to latest), via deps.dev. Lets an agent understand what a package pulls in before adding it. Ecosystems: npm, pypi, cargo. PAID: $0.01 USDC per call via x402 (charged only on success).'
tags:
- Package Intel
x-payment-info:
price:
currency: USD
mode: fixed
amount: '0.01'
protocols:
- x402:
scheme: exact
network: eip155:8453
asset: '0x833589fcd6edb6e08f4c7c32d4f71b54bda02913'
payTo: '0x3de7b2de531053340cf132d29b837e5a0e924177'
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
ecosystem:
type: string
enum:
- npm
- pypi
- cargo
description: 'Package registry to look in. One of: npm, pypi, cargo.'
name:
type: string
description: Exact package name as published in that registry, e.g. express for npm, requests for pypi, serde for cargo.
version:
type: string
description: Optional; defaults to the latest/default version
required:
- ecosystem
- name
example:
ecosystem: cargo
name: serde
responses:
'200':
description: Tool result (charged)
content:
application/json:
schema:
type: object
properties:
ecosystem: {}
name: {}
version: {}
direct_dependency_count: {}
required_dependency_count: {}
direct_dependencies: {}
build_dependency_count: {}
dev_dependency_count: {}
source: {}
additionalProperties: true
'402':
description: 'Payment required: x402 challenge in the PAYMENT-REQUIRED header and body'
'422':
description: Tool error (not charged)
/api/package_health:
post:
operationId: package_health
summary: Package Health (Package Intel)
description: 'A composite trust/health check for a package an agent is considering: latest-release recency, deprecation status, license present, maintainer count, dependency count, and any known security advisories (via deps.dev). Returns a summary an agent can act on. Ecosystems: npm, pypi, cargo. PAID: $0.01 USDC per call via x402 (charged only on success).'
tags:
- Package Intel
x-payment-info:
price:
currency: USD
mode: fixed
amount: '0.01'
protocols:
- x402:
scheme: exact
network: eip155:8453
asset: '0x833589fcd6edb6e08f4c7c32d4f71b54bda02913'
payTo: '0x3de7b2de531053340cf132d29b837e5a0e924177'
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
ecosystem:
type: string
enum:
- npm
- pypi
- cargo
description: 'Package registry to look in. One of: npm, pypi, cargo.'
name:
type: string
description: Exact package name as published in that registry, e.g. express for npm, requests for pypi, serde for cargo.
required:
- ecosystem
- name
example:
ecosystem: npm
name: left-pad
responses:
'200':
description: Tool result (charged)
content:
application/json:
schema:
type: object
properties:
latest_version: {}
last_release: {}
days_since_release: {}
actively_maintained: {}
deprecated: {}
has_license: {}
license: {}
maintainers: {}
known_advisories: {}
advisory_ids: {}
repository: {}
verdict: {}
concerns: {}
additionalProperties: true
'402':
description: 'Payment required: x402 challenge in the PAYMENT-REQUIRED header and body'
'422':
description: Tool error (not charged)
/api/package_search:
post:
operationId: package_search
summary: Package Search (Package Intel)
description: 'Search for packages by keyword and get the top matches with descriptions. Supported ecosystems: npm and cargo (PyPI has no public search API). PAID: $0.01 USDC per call via x402 (charged only on success).'
tags:
- Package Intel
x-payment-info:
price:
currency: USD
mode: fixed
amount: '0.01'
protocols:
- x402:
scheme: exact
network: eip155:8453
asset: '0x833589fcd6edb6e08f4c7c32d4f71b54bda02913'
payTo: '0x3de7b2de531053340cf132d29b837e5a0e924177'
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
ecosystem:
type: string
enum:
- npm
- cargo
description: 'Package registry to look in. One of: npm, pypi, cargo.'
query:
type: string
description: Free-text search terms, matched against package names and descriptions.
limit:
type: integer
default: 10
description: Maximum number of results to return.
required:
- ecosystem
- query
example:
ecosystem: npm
query: mcp server
limit: 5
responses:
'200':
description: Tool result (charged)
content:
application/json:
schema:
type: object
properties:
ecosystem: {}
query: {}
result_count: {}
results: {}
additionalProperties: true
'402':
description: 'Payment required: x402 challenge in the PAYMENT-REQUIRED header and body'
'422':
description: Tool error (not charged)