Spectrum Nodes

On-chain agents

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.

Read and execute

Raw RPC alongside swap quotes and approvals, so an agent can go from decision to transaction in one integration.

Typed surface

A typed TypeScript SDK gives agent tooling a schema to generate against, instead of hand-rolled JSON.

Throughput for agent traffic

Agents poll hard. Dedicated nodes and clear per-method analytics keep that traffic predictable and priced.

A few lines to start

Install, authenticate, call. The whole sample runs as it is, against every network we support.

agent.ts
// 1. Install the SDK
$ npm i @spectrumnodes/sdk
 
import { Spectrum } from "@spectrumnodes/sdk";
 
// 2. Authenticate with your API key
const spectrum = new Spectrum({ apiKey: process.env.SPECTRUM_API_KEY });
 
// 3. Read a quote the agent can act on
const quote = await spectrum.defi.getSwapQuote({ from, to, amount });
  1. 1Install and importOne typed package, and no per-chain clients to wire up.npm i @spectrumnodes/sdk
  2. 2AuthenticatePass the API key from your dashboard. The same key works across every supported network.
  3. 3Get an actionable quoteThe agent reads a swap quote it can execute against, rather than raw state it has to interpret.

The APIs behind it

Every one of these is documented. Follow a card straight into its reference page.

Get started

Build your agents on Spectrum

Create a free account, grab an API key, and ship against production-grade infrastructure today.

No credit card required · Free tier included