Case study

CoinWharf: know what your crypto really costs.

An Australian comparison of what buying, selling and moving crypto actually costs, worked out from live order books and each exchange's published fees rather than the headline price. One Cloudflare Worker, no framework, and every number stamped with when it was fetched.

Start a projectVisit coinwharf.au
Started
16 October 2026
Exchanges compared live
3, across 6 assets
Pages
39, including 13 exchange profiles
Automated tests
193, run on every change

The problem

Exchanges advertise a price and a fee, but what you receive depends on the order book at the moment you buy: how deep it is, how wide the spread is, and what the fee tier does to a $500 order compared with a $50,000 one. CoinWharf answers the question people actually have: for this many dollars, which exchange leaves me with the most coin?

It compares BTC Markets, Independent Reserve and CoinJar Exchange for BTC, ETH, SOL, XRP, USDT and USDC, buying or selling. The maths walks the live asks from the cheapest level up, pays the entry-tier fee, and ranks by coins received. An exchange drops out, with the reason shown, when its book is missing, older than 15 minutes or too thin for the amount.

Honest about freshness

Market data goes stale, so every figure on the site carries the time it was fetched. A scheduled job refreshes the exchange books and CoinGecko's top 100 coins in AUD every five minutes into Workers KV; if a refresh fails, readers keep the last good data with a plain note, never an empty table.

  • A /health endpoint answers 200 only while the market snapshot is fresh, and 503 with each source's last error when it isn't, so an uptime check notices stale data.
  • A /data-sources page lists every upstream API, when the scheduled refresh last ran and which steps failed.
  • Fees are kept by hand with the date they were last checked against each exchange's fee page, because no exchange publishes them by API.

That instrumentation earned its keep: a one-line fetch option that Cloudflare's runtime rejects had silently stopped every refresh for ten days in November. The first run of the new health record named the error, and the fix was live within the hour.

More than one calculator

The comparison is the front door, but the useful questions go further. A trade-size lab shows whether the cheapest exchange changes between $100 and $50,000. A wallet-delivery planner takes the exchange's withdrawal fee off to show how much Bitcoin reaches your own wallet. Others cover swap routes, moving coins between exchanges before selling, and stablecoins in AUD with peg and network warnings.

Thirteen exchange profiles collect what's worth knowing before you sign up: where the exchange is based, when it was founded, its fee structure and its 24-hour volume from CoinGecko, each fact linked to its source. Ten guides explain the costs in plain English.

Fast and plain

There's no framework and no build step: one Worker renders every page on the server, with a strict Content Security Policy that allows no inline script. Only exchanges whose terms allow displaying their prices are compared; adapters for others exist but stay off until written permission is in hand.

What it shows

A data product is only as good as its freshness, and the site has to tell the truth about that. If your business depends on figures pulled from other people's APIs, prices, availability, rates, this is how I'd build it: cached at the edge, stamped with its fetch time, and loud when something upstream breaks.

Keep exploring