HOGSWAP v3 API

Routing and market data for Algorand DEX pools through router app 3687031461. Quantities are decimal strings; quotes live about 30 s and fund at most 5 builds. Limits: 30 quote and execute calls per 10 s per IP, 4 in flight.

POST /quoteSWAP (exact-in, exact-out, multi-input, basket), LP_MINT, LP_REDEEM
POST /executeunsigned group for a quote_id and user_address; nothing is signed or sent
GET /healthstatus, service, router_app_id
GET /assets, /assets/{id}, /assets/{id}/poolsassets with prices, LP-token links
GET /pools, /pools/{id}, /stamm/poolspools, reserves, TVL, STAMM tiers
GET /prices, /tvl, /tvl/assets, /analytics/pricesprices and TVL
GET /stamm/state, /stamm/assets, /stamm/metaSTAMM pool state as algod returns it
GET /stream/blocksserver-sent events per block
GET /referrer/{address}referral programme: a platform's registration and earnings per asset
POST /referrer/setup, /referrer/claimunsigned groups to open assets for earning, register a discount token, claim or close; signed by the platform's own wallet

Platforms earn on swaps they send: add referrer (your address) and fee_ppm (up to 10000 = 1%) to /quote. You keep half of the fee above the router's 0.05% floor, accrued in the router and claimed by you. Plain single-input, single-output swaps only.