X

API for builders

Everything on these screens comes from one public API: REST, a live stream, and transactions built on the server and signed in your wallet.

Base URL: https://api.hardfloor.live. Responses are { data, meta }; errors are { error: { code, message, retryable } }. Amounts are base-unit integer strings; prices and floors are decimal strings in the pair asset. The OpenAPI document is at /openapi.json.

CallReturns
GET /v1/config · /v1/pairsAddresses, fees, pairs and their curve parameters
GET /v1/protocol/totals · /v1/activityProtocol totals and the cross-coin feed
GET /v1/coinsEvery coin: search, pair filter, sorts new · about_to_graduate · graduated · nearest_floor · biggest_floor
GET /v1/coins/:mintA coin with its floor vault, pending fees and totals
GET /v1/coins/:mint/candles · /floor-history · /trades · /holdersPrice with the floor at each candle, floor history, trades, holders
GET /v1/wallets/:wallet/portfolio · /balancesHoldings at market and at floor; balances
GET /v1/token$HARD and its buyback vaults
POST /v1/quotes/trade · /v1/quotes/redeemQuotes, with every fee line; redeem quotes sweep first
POST /v1/transactions/launch · /trade · /redeemAn unsigned v0 transaction to sign in the wallet
POST /v1/transactions/submit · GET /v1/transactions/:idSubmit signed bytes; watch to confirmation
GET /v1/eventsLive stream: trade, launch, price, floor, status, sweep, redemption, totals, transaction