api.recta.build/v1/x402/route
Recta: a cheaper provable bridge route to move USDC/USDT cross-chain, for AI agents (Across, CCTP, Stargate, USDT0). POST your transfer (source/destination network and asset, amount, sender, recipient, and the route you would use without Recta as baseline_provider). No proven saving: 200 with your route, free. A saving: this 402 asks for an x402 `upto` permit; Recta then settles exactly 5 % of the
POST
https://api.recta.build/v1/x402/routeUptime100% 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
// 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://api.recta.build/v1/x402/route", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"amount":"1000","baseline_provider":"stargate_v2","constraints":{"destination_execution":"NONE","guarantee_class":"ANY","latency_class":"ANY"},"destination_asset":"USDC","destination_network":"arbitrum","execution_authority":{"headroom":"0.2","source_max_fee_per_gas_wei":"100000000","source_max_priority_fee_per_gas_wei":"1000000"},"recipient":"0x1111111111111111111111111111111111111111","schema":),
});
console.log(await res.json());Example input
{"amount":"1000","baseline_provider":"stargate_v2","constraints":{"destination_execution":"NONE","guarantee_class":"ANY","latency_class":"ANY"},"destination_asset":"USDC","destination_network":"arbitrum","execution_authority":{"headroom":"0.2","source_max_fee_per_gas_wei":"100000000","source_max_priority_fee_per_gas_wei":"1000000"},"recipient":"0x1111111111111111111111111111111111111111","schema":