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.
| Call | Returns |
|---|---|
GET /v1/config · /v1/pairs | Addresses, fees, pairs and their curve parameters |
GET /v1/protocol/totals · /v1/activity | Protocol totals and the cross-coin feed |
GET /v1/coins | Every coin: search, pair filter, sorts new · about_to_graduate · graduated · nearest_floor · biggest_floor |
GET /v1/coins/:mint | A coin with its floor vault, pending fees and totals |
GET /v1/coins/:mint/candles · /floor-history · /trades · /holders | Price with the floor at each candle, floor history, trades, holders |
GET /v1/wallets/:wallet/portfolio · /balances | Holdings at market and at floor; balances |
GET /v1/token | $HARD and its buyback vaults |
POST /v1/quotes/trade · /v1/quotes/redeem | Quotes, with every fee line; redeem quotes sweep first |
POST /v1/transactions/launch · /trade · /redeem | An unsigned v0 transaction to sign in the wallet |
POST /v1/transactions/submit · GET /v1/transactions/:id | Submit signed bytes; watch to confirmation |
GET /v1/events | Live stream: trade, launch, price, floor, status, sweep, redemption, totals, transaction |