D

DopamineDesk AI Marketplace · Solana Route

by DopamineDesk AI Marketplace

POSTBase

$0.03

per call · USD Coin on Base

Fetch a current Jupiter route quote for Solana token mints and a base-unit amount. This does not sign or broadcast a transaction.

Endpoint

POST https://ai-data-marketplace-1042299154756.us-central1.run.app/api/v1/solana_route

1

Calls / 30d

1

Unique payers / 30d

Aug 14

Last called

exact

Payment scheme

Call this service

TypeScript · @x402/fetch
import { wrapFetchWithPayment } from "@x402/fetch";
import { privateKeyToAccount } from "viem/accounts";

const account = privateKeyToAccount(process.env.PRIVATE_KEY);
const fetchWithPay = wrapFetchWithPayment(fetch, account);

const res = await fetchWithPay("https://ai-data-marketplace-1042299154756.us-central1.run.app/api/v1/solana_route", {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({
    "amount": 1000000000,
    "input_mint": "So11111111111111111111111111111111111111112",
    "output_mint": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
    "slippage_bps": 50
  }),
});
const data = await res.json();
cURL
curl -X POST \
  "https://ai-data-marketplace-1042299154756.us-central1.run.app/api/v1/solana_route" \
  -H "Content-Type: application/json" \
  -d '{"amount":1000000000,"input_mint":"So11111111111111111111111111111111111111112","output_mint":"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v","slippage_bps":50}' \
  -H "X-PAYMENT: <signed x402 payment>"

Example response

{
  "broadcast": false,
  "fetched_at": "2026-08-07T07:32:33.864Z",
  "marketplace_metadata": {
    "availability": "operational",
    "billable": true,
    "data_mode": "live_source",
    "source": "Jupiter Lite Quote API"
  },
  "quote": {
    "contextSlot": 437745999,
    "inAmount": "1000000000",
    "inputMint": "So11111111111111111111111111111111111111112",
    "instructionVersion": null,
    "loadedLongtailToken": false,
    "longtailMarketQuoteReport": null,
    "mostReliableAmmsQuoteReport": {
      "info": {
        "BZtgQEyS6eXUXicYPHecYQ7PybqodXQMvkjUbP4R8mUU": "72889816",
        "Czfq3xZZDmsdGdUyrNLtRhGc47cXcZtLG4crryfu44zE": "72899162"
      }
    },
    "otherAmountThreshold": "72538291",
    "otherRoutePlans": null,
    "outAmount": "72902805",
    "outputMint": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
    "platformFee": null,
    "priceImpactPct": "0.0000002801916015918941761007",
    "routePlan": [
      {
        "bps": null,
        "percent": 100,
        "swapInfo": "[nested detail omitted from the challenge header; see the full example in /openapi.json]"
      }
    ],
    "slippageBps": 50,
    "swapMode": "ExactIn",
    "swapUsdValue": "72.8749804747025",
    "timeTaken": 0.001260747,
    "useIncurredSlippageForQuoting": null,
    "useRewards": null
  },
  "source": "Jupiter Lite Quote API",
  "source_url": "https://dev.jup.ag/api-reference/swap/quote",
  "success": true
}

Payment details

Pay to0x8647f7d7a1368a467ad1ff757fbc2e7167973558
AssetUSD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
NetworksBase
Schemesexact

Is this your API?

Pin it to the top of Onchain Data and the homepage with a featured placement.

Get featured →

More from DopamineDesk AI Marketplace & similar services