← SolMachina · trust-first Solana & Base intelligence for AI agents
/v1/dex-quote$0.003 per call · USDC over x402 · no account, no API key
Live aggregated Solana swap quote from the Jupiter aggregator: best-route output, price impact with stated thresholds (minimal/low/moderate/high), min-received after slippage, transparent route path, USD value and a freshness slot. A quote, NOT an execution guarantee (impact/liquidity move block to block). NOT financial advice. Requires ?inputMint=&outputMint=&amount= (amount in the input token's base units).
inputMint (required) — Base58 mint you are selling, e.g. So11111111111111111111111111111111111111112 (SOL).outputMint (required) — Base58 mint you are buying, e.g. EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v (USDC).amount (required) — Amount of inputMint in its base units (lamports for SOL, 1e6 per USDC).slippageBps — Slippage tolerance in basis points for min-received, 0-5000 (default 50 = 0.5%).Call it → get HTTP 402 with USDC payment terms (Solana or Base) → pay with any x402 client → retry. Every paid answer ships an Ed25519-signed receipt you can verify offline. It reports unknown instead of guessing.
curl -i "https://api.solmachina.com/v1/dex-quote?inputMint=…&outputMint=…&amount=…"
Or one line in any MCP agent (Claude, Cursor…): npx -y solmachina-x402-mcp
x402 manifest · OpenAPI · all endpoints · trust & conformance
SolMachina — the trust & decision layer for autonomous capital on Solana. NOT financial advice.