Solana Quote
by proxy.suverse.io in Onchain & crypto
Bidirectional SPL token swap aggregator on Solana mainnet via Jupiter v6 routing across 30+ DEXs (Raydium, Orca, Meteora, Phoenix). USDC to BONK WIF POPCAT JUP RAY ORCA SOL MEW BOME or any SPL, and reverse to USDC. Two-step quote/execute x402 flow. 1% fee. AI agent swap. memecoin DEX.
https://proxy.suverse.io/v1/swap/solana/quote- Price
- $0.001
- per call in USDC
- Uptime
- 100%
- last 30 days
- Response time
- 216 ms
- 576 ms slowest 5%
- Last check
- Passed
- 1 h ago, next any minute now
Reliability
Status and outage history · Atom feed · Watch with other listings
How to call it
POST https://proxy.suverse.io/v1/swap/solana/quote
Each call costs $0.001 in USDC on Solana, paid with the request over x402.
Run a free test callOne unpaid request, the way an agent sends it. You see the payment challenge it gets back. Nothing is charged.
Example request
From the listing.
POST https://proxy.suverse.io/v1/swap/solana/quote
content-type: application/json
{
"input_amount": "1000000",
"input_mint": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
"output_mint": "DezXAZ8z7PnrnRJjz3wXBoRgixCa6xjnB7YaB1pPB263",
"slippage_bps": 100
}Example response
The provider's example. We can't check it without paying.
Example response, 31 lines
{
"direction": "forward",
"expected_output": "5977180021",
"expected_output_human": "59771.80021 BONK",
"expires_at": "2026-06-02T00:00:00.000Z",
"fee": "10000",
"fee_human": "0.01 USDC",
"input_amount": "1000000",
"input_amount_human": "1 USDC",
"input_token": {
"decimals": 6,
"mint": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
"name": "USD Coin",
"symbol": "USDC"
},
"output_token": {
"decimals": 5,
"logoURI": "https://arweave.net/bonk-logo",
"mint": "DezXAZ8z7PnrnRJjz3wXBoRgixCa6xjnB7YaB1pPB263",
"name": "Bonk",
"symbol": "BONK"
},
"price_impact_pct": 0.026,
"quote_id": "q_abc123def456",
"requires_approval": false,
"service": "suverse-solana-swap",
"tool": "jupiter",
"total_cost": "1010000",
"total_cost_human": "1.01 USDC",
"x402_pay_url": "https://proxy.suverse.io/v1/swap/solana/execute/q_abc123def456"
}Call it from code
The curl command shows the payment challenge. The JavaScript and Python versions pay and call, and never pay more than $0.001.
curl: see the payment challenge
# bash or zsh: see the payment challenge. Nothing is charged.
curl -sS -g -i -X POST 'https://proxy.suverse.io/v1/swap/solana/quote' \
-H 'content-type: application/json' \
--data-raw '{"input_amount":"1000000","input_mint":"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v","output_mint":"DezXAZ8z7PnrnRJjz3wXBoRgixCa6xjnB7YaB1pPB263","slippage_bps":100}'
# x402 v2 sends the challenge base64-encoded in the PAYMENT-REQUIRED header (v1 sends it in the body).
# To read the header:
curl -sS -g -o /dev/null -D - -X POST 'https://proxy.suverse.io/v1/swap/solana/quote' \
-H 'content-type: application/json' \
--data-raw '{"input_amount":"1000000","input_mint":"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v","output_mint":"DezXAZ8z7PnrnRJjz3wXBoRgixCa6xjnB7YaB1pPB263","slippage_bps":100}' \
| grep -i '^payment-required:' | cut -d' ' -f2 | tr -d '\r' | base64 --decodeJavaScript: pay and call
// npm i @x402/fetch @x402/svm @solana/kit @scure/base
import { wrapFetchWithPayment, x402Client } from "@x402/fetch";
import { registerExactSvmScheme } from "@x402/svm/exact/client";
import { createKeyPairSignerFromBytes } from "@solana/kit";
import { base58 } from "@scure/base";
// Pays at most $0.001 per call.
const client = new x402Client().setSpendControls({ maxAmountPerPayment: "$0.001" });
registerExactSvmScheme(client, { signer: await createKeyPairSignerFromBytes(base58.decode(process.env.SVM_PRIVATE_KEY)) });
const pay = wrapFetchWithPayment(fetch, client);
// Not sure it's safe to pay? ToolVet checks it first for $0.005. Pay for that from a separate
// client: this one is capped at $0.001 per payment. GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fproxy.suverse.io%2Fv1%2Fswap%2Fsolana%2Fquote&method=POST
const res = await pay("https://proxy.suverse.io/v1/swap/solana/quote", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({
"input_amount": "1000000",
"input_mint": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
"output_mint": "DezXAZ8z7PnrnRJjz3wXBoRgixCa6xjnB7YaB1pPB263",
"slippage_bps": 100
}),
});
console.log(res.status, await res.text());Python: pay and call
# pip install "x402[requests,svm]"
import os
from x402 import x402ClientSync
from x402.http.clients import x402_requests
from x402.mechanisms.svm import KeypairSigner
from x402.mechanisms.svm.exact.register import register_exact_svm_client
# Pays at most $0.001 per call.
client = x402ClientSync().set_spend_controls({"max_amount_per_payment": "$0.001"})
register_exact_svm_client(client, KeypairSigner.from_base58(os.environ["SVM_PRIVATE_KEY"]))
with x402_requests(client) as session:
res = session.post(
"https://proxy.suverse.io/v1/swap/solana/quote",
json={
"input_amount": "1000000",
"input_mint": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
"output_mint": "DezXAZ8z7PnrnRJjz3wXBoRgixCa6xjnB7YaB1pPB263",
"slippage_bps": 100,
},
)
print(res.status_code, res.text)Security scan
No findings
We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.
Recent checks
| When | Result | HTTP | Time | Price |
|---|---|---|---|---|
| 1 h ago | Passed | 402 | 149 ms | $0.001 |
| 6 h ago | Passed | 402 | 255 ms | $0.001 |
| 11 h ago | Passed | 402 | 367 ms | $0.001 |
| 16 h ago | Passed | 402 | 220 ms | $0.001 |
| 20 h ago | Passed | 402 | 346 ms | $0.001 |
Show 10 older checks
| 25 h ago | Passed | 402 | 368 ms | $0.001 |
| 30 h ago | Passed | 402 | 272 ms | $0.001 |
| 34 h ago | Passed | 402 | 169 ms | $0.001 |
| 39 h ago | Passed | 402 | 216 ms | $0.001 |
| 43 h ago | Passed | 402 | 138 ms | $0.001 |
| 47 h ago | Passed | 402 | 269 ms | $0.001 |
| 2 days ago | Passed | 402 | 273 ms | $0.001 |
| 2 days ago | Passed | 402 | 135 ms | $0.001 |
| 3 days ago | Passed | 402 | 284 ms | $0.001 |
| 3 days ago | Passed | 402 | 171 ms | $0.001 |