Skip to content
Fourohtwo

Package Version Lookup (npm, PyPI, crates.io)

x402.spawndra.com/x402/services/ofr_8dea240ed45c475d

Package Version Lookup (npm, PyPI, crates.io). Returns the latest published version of a package from the official registries: npm (registry.npmjs.org), PyPI (pypi.org JSON API) and crates.io. Input the ecosystem and package name; output is clean JSON with the package name, ecosystem, latest version and source URL. Useful for agents that write dependency pins or check upgrades without reading regi

BaseAnswering
POSThttps://x402.spawndra.com/x402/services/ofr_8dea240ed45c475d

Uptime100% of 1 check in 30 days

30 days agoToday

Try it

Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.

The response shows up here.

Call it from an agent

// npm install fourohtwo
import { createPayer } from "fourohtwo";

// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://x402.spawndra.com/x402/services/ofr_8dea240ed45c475d", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"ecosystem":"npm","package":"react"}),
});
console.log(await res.json());

Example input

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