agents.writerslogic.com/api/v1/symbol-exists
Checks that up to 20 named exports (functions, classes, constants, types, default) exist in the .d.ts files published for an exact npm package version, read from jsDelivr, for coding agents that may be calling an API that does not exist. Follows export lists and relative export-star re-exports within the package (at most 7 files) and reports when the export surface cannot be fully enumerated. Neve
POST
https://agents.writerslogic.com/api/v1/symbol-existsUptime100% of 2 checks 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://agents.writerslogic.com/api/v1/symbol-exists", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"package":"nanoid","symbols":["nanoid","customAlphabet","nonexistentFn"],"version":"5.0.7"}),
});
console.log(await res.json());Example input
{
"package": "nanoid",
"symbols": [
"nanoid",
"customAlphabet",
"nonexistentFn"
],
"version": "5.0.7"
}