Swap Integration
Expose Anqa’s meta-routing engine inside your own application through one of three integration layers:
API – A stateless REST interface that returns deterministic quotes, optimal route breakdowns, and pre-signed Aptos transactions ready for broadcast. Ideal for server-side or mobile back ends that require full control over execution logic.
Widget – A modular React component that bundles quoting, routing, and transaction signing behind a configurable UI. Drop it into any web front-end to enable best-rate swaps with minimal engineering overhead.
Iframe – A sandboxed, zero-code embed for dashboards, analytics sites, and legacy stacks. Provides the same pricing logic and execution guarantees while isolating all blockchain interactions in a secure container.
Each integration surfaces identical pricing algorithms, drawing from 10 + liquidity sources across AMMs, CLAMMs, CLOBs, LSD pools, and peer aggregators, and supports slippage controls, gas estimation, and custom route constraints. Consult the method-specific reference for authentication, rate-limit policies, response schemas, and implementation examples.
⚙️API⚙️Widget⚙️IframeLast updated