Documentation

Build on Archerus

Archerus is a unified perpetuals liquidity layer on Solana. Route orders across Drift, Zeta and Jupiter with one API, MEV-protected by default.

Quickstart

Get a quote for a 25k SOL-PERP order in under a minute.

# 1. Install
npm install @archerus/sdk

# 2. Quote
curl https://api.archerus.io/v1/quote \
  -H "Authorization: Bearer $ARCHERUS_KEY" \
  -d '{ "market": "SOL-PERP", "side": "buy", "size": 25000 }'

SDK

Typed TypeScript client with built-in transaction signing.

import { Archerus } from "@archerus/sdk";

const archerus = new Archerus({ apiKey: process.env.ARCHERUS_KEY });

const route = await archerus.quote({
  market: "SOL-PERP",
  side: "buy",
  size: 25_000,
});

const receipt = await archerus.execute(route, wallet);
console.log(receipt.avgPrice, receipt.slippageSaved);

Smart Routing

Our solver splits each order across venues to minimize slippage and fees, simulating fills against live order books before signing. Median execution time is ~400ms.

MEV Protection

All routed orders are submitted via private mempool relays with sandwich-resistant ordering. No configuration needed — enabled by default for every account.

Looking for endpoints?

See the full REST + WebSocket reference.

View API Reference →