Practical overview
When it fits
Use Autobahn when a Solana application needs a router to search supported DEX liquidity sources for swap routes, or when a team wants to host or extend that routing service.
Who it is for
- Developers integrating Solana token quotes and swaps into an application.
- Teams that want to operate a self-hosted Solana swap router.
- Developers building adapters for additional DEX liquidity sources.
Documented uses
- Request a quote for an input and output token with amount, slippage, and route constraints.
- Submit swap-related requests using a public key and quote response.
- Run a router using a local configuration.
- Extend routing to an adapter’s supported markets.
Requirements & limits
The README describes a hosted version that requires an access token requested from partnerships@mango.markets. Self-hosting is also documented.
- Route search is described as prioritizing execution reliability over marginal price.
- The documented quote request supports mint identifiers, amount, slippage, maximum accounts, and a direct-routes constraint.
- Swap and swap-instructions requests support a user public key, quote response, SOL wrapping options, and automatic associated-token-account creation.
- Self-hosting requires custom validator patches for low-latency account subscriptions.
- The project is open source under AGPL-3.0 and written in Rust.
Check current requirements in the official documentation. Source-based guidance does not mean OpenViST has run or independently tested this project.
Start the self-hosted router from a configuration file
Create a router setup from the example configuration and start the documented Rust router process.
Before you start
- Autobahn repository
- Example configuration file at bin/autobahn-router/example-config.toml
- Custom validator patches for low-latency account subscriptions
Steps
Use the example configuration file to create a router configuration.
Start the router with
RUST_LOG=info router my_config.toml.
Expected outcome
The documented router process is started using the selected configuration.
Guide limitations
- The README does not explain the configuration fields in detail.
- Self-hosting requires custom validator patches for low-latency account subscriptions.
Sources & review
Source record details
- Source availability
- Active
- Sources checked
- 15 October 2026
- Original website title
- blockworks-foundation/autobahn · Official homepage title · retained in its source language

