API Overview
Introduction to the HyperBloom API
The HyperBloom Swap API functions as a central hub for liquidity and data within the DeFi space, facilitating access to aggregated liquidity from a multitude of decentralized exchange networks, both on-chain and off-chain, across various blockchain platforms. It offers a comprehensive set of parameters to customize your requests according to your application’s and users’ specific requirements.
We offer hosted solutions for the HyperEVM ecosystem.
API Endpoint: https://api.hyperbloom.xyz/
Endpoints
Explore the various endpoints available in the Swap API:
GET /swap/v1/quote
- Retrieve a straightforward quote for purchasing or selling any ERC20 token. This endpoint returns a transaction that can be executed on a HyperEVM node.GET /swap/v1/price
- The/price
endpoint is similar to/quote
, with some key distinctions. Unlike/quote
,/price
does not return a transaction for on-chain submission; it simply provides the same data. Consider it theread-only
counterpart of/quote
.GET /swap/v1/source
- Provides the liquidity sources that are active for a specified blockchain.
Authentication
HyperBloom secures your API requests through your account’s API keys. Once configured, ensure you include your key using the api-key
header parameter in your requests.
To obtain an API key, please reach out to the HyperBloom team.