Skip to main content

What are these guides?

These guides answer the question: “How do I do X on Solana?” Each guide walks through a real problem you’ll hit while building, which API to use, and how to implement it. Before you start: Get an API key at portal.jup.ag

Available Guides

Swap Tokens on Solana

The standard way to swap any SPL token via Swap API V2. Two API calls, no RPC, best execution.

Get Token Information

Search tokens by name/symbol/mint. Get metadata, verification status, organic score, holder count, and trading stats.

Get Token Prices

Get real-time USD prices for any Solana token. Up to 50 tokens per request.

Embed Swap Widget

Drop a full swap interface into your app. No RPC, no wallet code, no UI to build.

Custom Swap Transactions

Build composable swaps via Swap API V2 /build with full control over routing, fees, and CPI.

Prediction Markets

Let users trade on real-world event outcomes. Sports, crypto, politics, and more.

Quick reference

Tokens and prices

I want to…Use this guide
Swap tokens on Solana via APISwap API V2
Build a trading bot with swapsSwap API V2
Search for tokens by name or symbolGet Token Information
Get token logos and metadataGet Token Information
Check if a token is verifiedGet Token Information
Find trending or new tokensGet Token Information
Get current token prices in USDGet Token Prices
Calculate portfolio valueGet Token Prices

Swapping

I want to…Use this guide
Embed a swap widget in my appEmbed Swap Widget
Add token swap to my websiteEmbed Swap Widget
Let users buy my token on my siteEmbed Swap Widget
Build a swap with custom logicSwap V2 /build
Call Jupiter swap from my program (CPI)Swap V2 /build
Add custom instructions to a swapSwap V2 /build

Trading

I want to…Use this guide
Let users bet on event outcomesPrediction Markets
Build a prediction market appPrediction Markets

Demo apps

Source code for the demo apps built in these guides is available in the api-examples repo:

Stay updated