x402

Dependency Audit (x402)

Audit npm or Python dependencies. Checks each package against registry for latest version, deprecation, vulnerabilities. Verifiable against actual registries.

get/x402/v2/dependency-audit

Request

  • Base URL: https://api.strale.io
  • URL: https://api.strale.io/x402/v2/dependency-audit
  • Auth: none required

Query parameters

package_jsonstring

package.json contents

requirements_txtstring

requirements.txt contents

Response

Success

summaryobject
ecosystemstring
outdated_countinteger

Example response

{
  "summary": {
    "total": 2,
    "errors": 0,
    "outdated": 2,
    "deprecated": 0,
    "up_to_date": 0
  },
  "ecosystem": "npm",
  "dependencies": [
    {
      "name": "express",
      "is_outdated": true,
      "is_deprecated": false,
      "last_published": "2025-12-01T20:49:43.268Z",
      "latest_version": "5.2.1",
      "current_version": "4.18.0",
      "is_dev_dependency": false
    },
    {
      "name": "lodash",
      "is_outdated": true,
      "is_deprecated": false,
      "last_published": "2026-01-21T17:29:52.831Z",
      "latest_version": "4.17.23",
      "current_version": "4.17.21",
      "is_dev_dependency": false
    }
  ],
  "outdated_count": 2,
  "critical_updates": [],
  "deprecated_count": 0,
  "total_dependencies": 2
}

Changes

No recorded changes to this operation across all 1 revision of this API.