# Agent Data Tools – Package Safety & Metadata Lookup

> Agent Data Tools – Package Safety & Metadata Lookup is a paid API for AI agents from agent-data-tools.revmesh2074.workers.dev, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-11).

Looks up security, licensing, version, and download metadata for open-source packages across ecosystems (npm, PyPI, Cargo, Go, Maven, NuGet) and returns a safety verdict.

## Facts

- Endpoint: GET https://agent-data-tools.revmesh2074.workers.dev/package?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-11
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agent-data-tools-package-safety-metadata-lookup-43df7e1e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Qv-nbxkSOOPo8M1yxF9mK

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability agent-data-tools-package-safety-metadata-lookup-43df7e1e
```

Example prompt: Can you check whether the npm package 'axios' is safe to use — any known vulnerabilities, advisories, or deprecation warnings?

## When to prefer this

Use this endpoint when an AI agent needs to programmatically vet an open-source package before recommending or installing it — especially for security verdicts, license checks, or deprecation status — without requiring an account or API key. Ideal for autonomous coding agents that want a pay-per-call, no-setup solution covering npm, PyPI, Cargo, Go, Maven, and NuGet in a single API.

## Known failure modes

- Package not found in the specified ecosystem — exists:false returned
- Invalid ecosystem name causes validation error
- Typo in package name returns no results
- Scoped npm packages (e.g. @scope/name) must be URL-encoded correctly
- Rate or quota issues may return HTTP 402 if payment fails

## How this service works

Pay-per-call tools for AI agents: web page text extraction and summaries, screenshots, image generation, speech-to-text, image description, domain and email-auth intelligence, and live Base token and wallet lookups. No account or API key; pay per request in USDC on Base via x402.

## Output

Returns a JSON object with the package name, ecosystem, existence flag, age in days, a safety verdict string (e.g. 'ok'), list of licenses, list of security advisories, deprecation status, repository URL, total version count, latest version string, weekly download count, and count of known vulnerabilities.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "ecosystem",
      "name"
     ],
     "properties": {
      "name": {
       "type": "string",
       "description": "Exact package name, e.g. lodash or @scope/name"
      },
      "ecosystem": {
       "type": "string",
       "description": "One of npm, pypi, cargo, go, maven, nuget"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "name": "lodash",
  "flags": [],
  "exists": true,
  "ageDays": 5282,
  "verdict": "ok",
  "licenses": [
   "MIT"
  ],
  "ecosystem": "npm",
  "advisories": [],
  "deprecated": false,
  "repository": "git+https://github.com/lodash/lodash.git",
  "versionCount": 117,
  "latestVersion": "4.18.1",
  "weeklyDownloads": 162476177,
  "knownVulnerabilities": 0
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agent-data-tools-package-safety-metadata-lookup-43df7e1e/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agent-data-tools.revmesh2074.workers.dev](https://www.zero.xyz/host/agent-data-tools.revmesh2074.workers.dev/llms.txt)
