Use before a coding agent installs an unfamiliar npm dependency
Use before a coding agent installs an unfamiliar npm dependency. Returns current facts from the official npm registry: the version `npm install` resolves (dist-tags.latest), prerelease and deprecation status, engines.node compatibility with an optional target…
by agent-api-production.tim1712.workers.dev · discovered, not yet claimed by its owner · updated 2026-10-10
Mirrored from Coinbase's public x402 Bazaar. The description is the provider's own text and has not been reviewed here; the payment requirements are copied as published.
What it does
Use before a coding agent installs an unfamiliar npm dependency. Returns current facts from the official npm registry: the version `npm install` resolves (dist-tags.latest), prerelease and deprecation status, engines.node compatibility with an optional target Node version (real SemVer evaluation), license, days since release, best-effort weekly downloads, repository URL and maintainer count. Facts only — no safety, trust, or malware verdict.
Tags: npm · javascript · dependency · package · development · bazaar
Call contract
- Method
- POST
- Input
- json
- Output
- json
- Last paid call
- 2026-10-10
{
"nodeVersion": "22.14.0",
"packageName": "zod"
}{
"checkedAt": "2026-08-30T10:00:02.000Z",
"daysSinceRelease": 12,
"deprecated": false,
"deprecationMessage": null,
"enginesNode": ">=18",
"found": true,
"homepage": "https://zod.dev",
"latestIsPrerelease": false,
"latestVersion": "3.24.1",
"license": "MIT",
"maintainerCount": 2,
"nodeCompatible": true,
"packageName": "zod",
"publishedAt": "2026-01-15T09:12:00.000Z",
"repositoryUrl": "https://github.com/colinhacks/zod",
"requestedNodeVersion": "22.14.0",
"source": "npm",
"warnings": [],
"weeklyDownloads": 23456789
}Use with an agent
- Discover. Agents find this listing with
GET https://bazaar.saylorinnovations.com/discovery/search?query=…, the MCP toolsearch_resources, or/discovery/resources. - Inspect. Fetch
/resources/29326.jsonfor the price and payment options. - Pay. Call
GET https://agent-api-production.tim1712.workers.dev/v1/npm/install-preflight. The provider answers402with its payment requirements. An x402 client signs one of the options below and retries withPAYMENT-SIGNATURE. - Execute. The provider returns
200with the data. Agent Bazaar is not in the request path and never sees your payment.
For humans
You don't need an account or an API key; you need a wallet holding a small amount of USDC on Base, and an x402-capable client (see the examples below). Call the endpoint unpaid first to see exactly what it asks for.
Pricing & payment
- Price
- $0.005 / request
- Protocol
- x402 v2
- Auth
- No account or API key. Pay per request.
- Networks
- Base
- Demand
- 3 calls · 3 unique payers in 30d (public x402 Bazaar data)
x402 payment requirements
| Scheme | Network | Asset | Amount | Pay to | Timeout |
|---|---|---|---|---|---|
| exact | Base eip155:8453 | USDC | $0.005 | 0x5229384BD502D85aa7EcA0A31B515E5E48d3910F | 300s |
accepts[] (raw JSON)
[
{
"scheme": "exact",
"network": "eip155:8453",
"payTo": "0x5229384BD502D85aa7EcA0A31B515E5E48d3910F",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "5000",
"amountUsd": 0.005,
"maxTimeoutSeconds": 300
}
]Schemas
Output schema (JSON Schema)
{
"properties": {
"example": {
"additionalProperties": false,
"properties": {
"checkedAt": {
"type": "string"
},
"daysSinceRelease": {
"anyOf": [
{
"minimum": 0,
"type": "integer"
},
{
"type": "null"
}
]
},
"deprecated": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"deprecationMessage": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"enginesNode": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"found": {
"type": "boolean"
},
"homepage": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"latestIsPrerelease": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"latestVersion": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"license": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"maintainerCount": {
"anyOf": [
{
"minimum": 0,
"type": "integer"
},
{
"type": "null"
}
]
},
"nodeCompatible": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"packageName": {
"type": "string"
},
"publishedAt": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"repositoryUrl": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"requestedNodeVersion": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"source": {
"const": "npm",
"type": "string"
},
"warnings": {
"items": {
"type": "string"
},
"type": "array"
},
"weeklyDownloads": {
"anyOf": [
{
"minimum": 0,
"type": "integer"
},
{
"type": "null"
}
]
}
},
"required": [
"packageName",
"found",
"latestVersion",
"latestIsPrerelease",
"deprecated",
"deprecationMessage",
"enginesNode",
"requestedNodeVersion",
"nodeCompatible",
"license",
"publishedAt",
"daysSinceRelease",
"weeklyDownloads",
"repositoryUrl",
"homepage",
"maintainerCount",
"source",
"warnings",
"checkedAt"
],
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}Example shape — generated from the schema, not a captured live response
{
"example": {
"checkedAt": "string",
"daysSinceRelease": null,
"deprecated": null,
"deprecationMessage": null,
"enginesNode": null,
"found": true,
"homepage": null,
"latestIsPrerelease": null,
"latestVersion": null,
"license": null,
"maintainerCount": null,
"nodeCompatible": null,
"packageName": "string",
"publishedAt": null,
"repositoryUrl": null,
"requestedNodeVersion": null,
"source": "string",
"warnings": [
"string"
],
"weeklyDownloads": null
},
"type": "string"
}Examples
curl "https://agent-api-production.tim1712.workers.dev/v1/npm/install-preflight"
# -> 402 Payment Required, accepts[] lists how to pay
# retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paidconst res = await fetch("https://agent-api-production.tim1712.workers.dev/v1/npm/install-preflight");
if (res.status === 402) {
const { accepts } = await res.json();
// pay one of accepts[] via an x402 client, then retry with the payment header
}import httpx
res = httpx.get("https://agent-api-production.tim1712.workers.dev/v1/npm/install-preflight")
if res.status_code == 402:
accepts = res.json()["accepts"]
# pay one of accepts[] via an x402 client, then retry with the payment headerDetails
- Provider
- agent-api-production.tim1712.workers.dev
- Endpoint
- https://agent-api-production.tim1712.workers.dev/v1/npm/install-preflight
- Machine-readable
/resources/29326.json