Open Source Meta-Aggregation Library
Expand tokens, pools, and chains beyond any single aggregator. Fetch multiple quotes to find the best price or lowest latency quote. Built-in failover. Free and open source: Inspect, modify, and contribute. Remove the risk of vendor lock-in. The world is yours.
- Redundant quote fetching across multiple providers (failover by default).
- Optimize for your use case: pick best price, fastest quote, or lowest estimated gas.
- Built-in simulation to validate quotes before execution.
- Minimal dependencies (core is lightweight and ESM-ready).
- Multiple provider integrations (0x, KyberSwap, Odos, Relay, LiFi, Fabric).
- Proxy support to defer quote fetching to a remote server (CORS-friendly).
- React hooks for fast UI integration.
- Metrics extraction (latency, gas, price impact, net outputs).
Why spanDEX?
Getting Started
Getting Started for React Apps
Architecture
- We welcome pull requests.
- We encourage GitHub Discussions for ideas, questions, and feedback.
- See the contribution guide for instructions and guidelines.