Package docs and source for coding agents, in one call
onchaincheck.dev/docs/package
Package docs and source for coding agents, in one call: give an npm or PyPI package name (and optional version) and get its README as Markdown, description, license, repository, entry points and types, exports, dependencies and the full file list; pass file=<path> to read one source or type file (npm). From the npm registry, jsDelivr and PyPI. Errors return 4xx/5xx JSON and aren't charged.
GET
https://onchaincheck.dev/docs/packageUptime100% 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://onchaincheck.dev/docs/package?name=zod");
console.log(await res.json());Example input
{
"name": "zod"
}