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

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

Swapping

Trading


Demo apps

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

Stay updated