{
  "x402Version": 2,
  "id": 29326,
  "slug": "29326",
  "resource": "https://agent-api-production.tim1712.workers.dev/v1/npm/install-preflight",
  "description": "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.",
  "type": "http",
  "serviceName": "Agent Miner Tools",
  "resourceType": "Travel",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x5229384BD502D85aa7EcA0A31B515E5E48d3910F",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "5000",
      "amountUsd": 0.005,
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "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"
  },
  "extensions": {
    "bazaar": {
      "info": {
        "input": {
          "body": {
            "nodeVersion": "22.14.0",
            "packageName": "zod"
          },
          "bodyType": "json",
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "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
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "additionalProperties": false,
                "properties": {
                  "nodeVersion": {
                    "maxLength": 64,
                    "minLength": 1,
                    "type": "string"
                  },
                  "packageName": {
                    "maxLength": 214,
                    "minLength": 1,
                    "pattern": "^(?:@[a-z0-9][a-z0-9._-]*\\/)?[a-z0-9][a-z0-9._-]*$",
                    "type": "string"
                  }
                },
                "required": [
                  "packageName"
                ],
                "type": "object"
              },
              "bodyType": {
                "enum": [
                  "json",
                  "form-data",
                  "text"
                ],
                "type": "string"
              },
              "method": {
                "enum": [
                  "POST"
                ],
                "type": "string"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method",
              "bodyType",
              "body"
            ],
            "type": "object"
          },
          "output": {
            "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"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "npm",
    "javascript",
    "dependency",
    "package",
    "development",
    "bazaar"
  ],
  "sourceHost": "agent-api-production.tim1712.workers.dev",
  "lastUpdated": "2026-10-10T04:06:31.531Z",
  "quality": {
    "calls30d": 3,
    "uniquePayers30d": 3,
    "lastCalledAt": "2026-10-10T04:06:31.304Z"
  },
  "metadata": {
    "serviceName": "Agent Miner Tools",
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "body": {
              "nodeVersion": "22.14.0",
              "packageName": "zod"
            },
            "bodyType": "json",
            "method": "POST",
            "type": "http"
          },
          "output": {
            "example": {
              "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
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "body": {
                  "additionalProperties": false,
                  "properties": {
                    "nodeVersion": {
                      "maxLength": 64,
                      "minLength": 1,
                      "type": "string"
                    },
                    "packageName": {
                      "maxLength": 214,
                      "minLength": 1,
                      "pattern": "^(?:@[a-z0-9][a-z0-9._-]*\\/)?[a-z0-9][a-z0-9._-]*$",
                      "type": "string"
                    }
                  },
                  "required": [
                    "packageName"
                  ],
                  "type": "object"
                },
                "bodyType": {
                  "enum": [
                    "json",
                    "form-data",
                    "text"
                  ],
                  "type": "string"
                },
                "method": {
                  "enum": [
                    "POST"
                  ],
                  "type": "string"
                },
                "type": {
                  "const": "http",
                  "type": "string"
                }
              },
              "required": [
                "type",
                "method",
                "bodyType",
                "body"
              ],
              "type": "object"
            },
            "output": {
              "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"
            }
          },
          "required": [
            "input"
          ],
          "type": "object"
        }
      }
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": false,
  "featured": false,
  "provider": {
    "host": "agent-api-production.tim1712.workers.dev",
    "manifest_name": "agent-api-production.tim1712.workers.dev",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-10-14T01:15:01.050Z"
  },
  "exampleResponse": {
    "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"
  }
}