Points Integration
Partners integrating HyperFlow’s swap system can register a partner code so their users earn additional bonus points on every swap. For full parameter documentation, see the OpenAPI spec.
Points endpoints live on the platform API (api.hyperflow.fun), not on the aggregator hosts. No API key is required.
Get your partner code
Contact the HyperFlow team to receive your unique partner code (e.g. hyperflowteam) and agree on the bonus percentage users earn per swap via your integration (e.g. 10%).
- Discord: discord.gg/GGDmD4K9CK
- Telegram: t.me/hyperflow_fun
- X: @HyperFlow_fun
Call the DEX Aggregator API with your code
When triggering a swap, call the DEX Aggregator API and pass your partner code in the source parameter:
Estimate points before the swap
Before executing on-chain, call /v1/point/estimate (with your source code) to preview the points awarded:
Parameters (all required):
Example response:
point— base points from the transaction (excluding bonuses)partnerBonus— additional points from your partner code
Execute the on-chain transaction
Perform the swap transaction as usual. The points logic is tied to your partner code, so your users’ actions accumulate bonus points automatically.
Verify credited points
Query GET https://api.hyperflow.fun/v1/point/leaderboard (query parameters user, from, to as unix-second integers; accepted ranges are enforced server-side — confirm details with the team) and navigate to total → pointPartnerBonuses → {your_code}:
This confirms points earned via your integration are credited under your partner code.
Need help?
- OpenAPI spec for all endpoints and parameters.
- Join the developer community on Discord.