Skip to content
Fourohtwo

Call this before executing a trade so you don't overpay in fees

apexrunner.ai/signals/optimal-order-routing

Call this before executing a trade so you don't overpay in fees — compares fee-adjusted net cost on Kraken, Coinbase and Hyperliquid for your coin, size and side, and returns the cheapest venue with the exact dollar saving versus the others. Params: coin=BTC, size_usd=5000, side=buy

BaseAnswering
GEThttps://apexrunner.ai/signals/optimal-order-routing

Uptime100% 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://apexrunner.ai/signals/optimal-order-routing?coin=BTC&side=buy&size_usd=1000");
console.log(await res.json());

Example input

{
  "coin": "BTC",
  "side": "buy",
  "size_usd": 1000
}