81trust / 100

Dev Package

by dev-package-stats in Other

x402 APIPassing, checked 3 h ago

Package intelligence across npm / PyPI / crates: latest version, age, release cadence, deprecation/yank, license, and download stats (last day/week/month) with a rising/falling trend. Aggregates the official registry + downloads API + deps.dev.

GET https://api.agentstools.dev/dev/package

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
28 ms typical, 28 ms slowest 5%
Last check
3 h ago
Next check
any minute now

How to call it

# See the payment challenge (nothing is charged)
curl -i -X GET "https://api.agentstools.dev/dev/package?ecosystem=npm&name=react"
import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";

const client = new x402Client().register(
  "eip155:8453",
  new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_KEY)),
);
const pay = wrapFetchWithPayment(fetch, client);

// Not sure it's safe to pay? Preflight it first for $0.03:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fapi.agentstools.dev%2Fdev%2Fpackage
const res = await pay("https://api.agentstools.dev/dev/package?ecosystem=npm&name=react");
console.log(await res.json());

Example input

{
  "ecosystem": "npm",
  "name": "react"
}

Example output

{
  "age_days": 4200,
  "deprecated": false,
  "downloads": {
    "last_day": 4200000,
    "last_month": 120000000,
    "last_week": 28000000
  },
  "ecosystem": "npm",
  "latest_version": "18.3.1",
  "license": "MIT",
  "name": "react",
  "release_cadence_days": 21,
  "releases_count": 150,
  "signals": {
    "download_trend": "stable",
    "is_maintained": true
  },
  "yanked": false
}

Security scan

  • No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.

Recent checks

WhenResultHTTPTimePrice
3 h agoPassed40228 ms$0.005