Answer a coding question from current package documentation
saylorinnovations.com/api/docs/:ecosystem/:package
Answer a coding question from current package documentation. Pass an npm, PyPI, crate, Go module or GitHub repository; get the latest version, license, install command and README sections, optionally narrowed by search text or heading.
GET
https://saylorinnovations.com/api/docs/:ecosystem/:packageUptime100% of 4 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://saylorinnovations.com/api/docs/:ecosystem/:package?q=safeParse");
console.log(await res.json());Example input
{
"q": "safeParse"
}More from Saylor Innovations Library DocsProvider status
- saylorinnovations.com/api/docs/crates/serdeRust crate documentation - README, version, docs.rs link, install command and table of contents0.01
- saylorinnovations.com/api/docs/github/colinhacks/zodGitHub repo README as sections with a table of contents, searchable with ?q= or ?section=0.01
- saylorinnovations.com/api/docs/go/github.com/gin-gonic/ginGo module documentation - README, latest version, pkg.go.dev link, install command and table of contents0.01
- saylorinnovations.com/api/docs/npm/zodCurrent library docs for an npm, PyPI, crates, Go or GitHub package - README sections, version, license and install0.01
- saylorinnovations.com/api/docs/pypi/fastapiPyPI package documentation - README, version, license, install command and table of contents0.01
