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. Two API calls, no RPC, best execution. Used by Phantom and Backpack.

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 with Metis

Build composable swaps with full control over routing, fees, custom instructions, 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 Tokens
Build a trading bot with swapsSwap Tokens
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 logicCustom Swap with Metis
Call Jupiter swap from my program (CPI)Custom Swap with Metis
Add custom instructions to a swapCustom Swap with Metis

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