Read and execute
Raw RPC alongside swap quotes and approvals, so an agent can go from decision to transaction in one integration.
Raw RPC, swap quotes, DeFi positions and approvals behind a typed SDK, so an autonomous agent can read state and act on it without bespoke plumbing per chain.
Raw RPC alongside swap quotes and approvals, so an agent can go from decision to transaction in one integration.
A typed TypeScript SDK gives agent tooling a schema to generate against, instead of hand-rolled JSON.
Agents poll hard. Dedicated nodes and clear per-method analytics keep that traffic predictable and priced.
Install, authenticate, call. The whole sample runs as it is, against every network we support.
// 1. Install the SDK$ npm i @spectrumnodes/sdkimport { Spectrum } from "@spectrumnodes/sdk";// 2. Authenticate with your API keyconst spectrum = new Spectrum({ apiKey: process.env.SPECTRUM_API_KEY });// 3. Read a quote the agent can act onconst quote = await spectrum.defi.getSwapQuote({ from, to, amount });
npm i @spectrumnodes/sdkEvery one of these is documented. Follow a card straight into its reference page.
Create a free account, grab an API key, and ship against production-grade infrastructure today.
No credit card required · Free tier included