Skip to main content
The Shroomy Swap API provides unified access to aggregated liquidity across multiple decentralized exchange networks on the ink blockchain. It serves as a central integration layer that allows developers to query token prices, generate optimized swap quotes, and execute transactions through Shroomy’s aggregation engine. The API supports both on-chain and off-chain liquidity sources and exposes a consistent interface for developers building wallets, trading applications, or DeFi services on ink. Base URL: TBD

Endpoints

  • GET /swap/v1/quote Returns a complete swap quote for buying or selling any supported token. This endpoint provides all data necessary to execute a transaction on-chain, including the transaction payload ready for submission to a ink node.
  • GET /swap/v1/price Returns a read-only version of the quote data, without transaction payloads. The /price endpoint provides the same pricing and routing information as /quote but is intended for estimation and display purposes only. No transaction data suitable for execution is returned.
  • GET /swap/v1/sources Returns a list of all liquidity sources currently active and available on the specified blockchain. This includes decentralized exchanges, market makers, and off-chain RFQ providers integrated with the [redacted] protocol.

Authentication

All API requests require authentication using an API key. The key must be included in the api-key header parameter for every request. To obtain an API key, contact the Shroomy Project team or your integration partner.
I