Skip to content
Fourohtwo

tlacuilo-jet.vercel.app/api/v1/solana/swap/order

Best-price quote and ready-to-sign transaction for a token swap on Solana, routed through the Jupiter meta-aggregator (RFQ market makers plus every major DEX). Give input and output as symbols (SOL, USDC, USDT, JUP, JitoSOL, mSOL, BONK, WIF, RAY, PYTH, ETH) or mint addresses, and the amount in human units. Without taker you get the quote; with taker you also get the unsigned base64 transaction tha

SolanaBaseAnswering
GEThttps://tlacuilo-jet.vercel.app/api/v1/solana/swap/order

Uptime100% of 1 check 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

import { createPayer } from "fourohtwo";

// One agent key pays USDC on Base or USDG on Robinhood Chain,
// inside the spending rules you set on Fourohtwo.
const pay = createPayer({ privateKey: process.env.AGENT_KEY });
const res = await pay("https://tlacuilo-jet.vercel.app/api/v1/solana/swap/order?amount=0.1&input=SOL&output=USDC");
console.log(await res.json());

Example input

{
  "amount": "0.1",
  "input": "SOL",
  "output": "USDC"
}

More from Tlacuilo