Golden CashGeneva
Geneva gold-buying website, real-time prices
The new site shows a buy-back estimator and prices refreshed every 10 seconds. It went live 12 days after the first commit.
In short
Golden Cash, a gold buyer in Geneva, put its new website live on 25 April 2026. The Astro site shows a buy-back estimator and prices refreshed every 10 seconds, from an API that keeps a backup source. The first commit was on 13 April, 12 days earlier.
Case study by David Khazaei, Founder of DKDP·Published on , updated on
Project sheet
- Sector
- Gold and precious-metal buying
- Location
- Geneva, Eaux-Vives
- Project start
- 13 April 2026
- Live
- 25 April 2026
- Delivered
- Website rebuild, price API, SEO
- Technology
- Astro 5, PHP API, Infomaniak
- Live site
- goldencash.ch (opens in a new tab)
The context
Prices to confirm by phone before every sale
- Audience
- Individuals and professionals selling gold
- Stake
- An accurate displayed price, with no prior call
- Start
- Previous WordPress site
Golden Cash's previous site did not show precious-metal prices in real time: a customer who wanted to know what their gold was worth had to call before coming in. The admin interface was not properly secured, and occasional bugs affected the public display.
In a trade where trust depends on an accurate price, the site had to show a correct rate at all times, and let the team take back control within seconds if a price source went down.
Our approach
A fast static site, a price API that does not go down
A complete rebuild on Astro 5 as a static site, for speed and simple deployment to Infomaniak through GitHub Actions. On the server side, a PHP API queries GoldAPI by default and keeps XMLCharts as a backup. A 10-second cache limits paid calls, and the EUR/CHF rate is read live from Yahoo Finance, with two fallback sources.
The public estimator calculates the buy-back price from weight and carat, and a token-secured dashboard lets the team choose the price source, adjust its margins and correct a price by hand.
What was delivered
- Astro 5 static site, Infomaniak deployment through GitHub Actions
- Buy-back estimator: weight and carat, price refreshed every 10 seconds
- Price ticker across the site, refreshed every 10 seconds
- PHP API: GoldAPI by default, XMLCharts as backup, 10-second cache
- EUR/CHF rate read live, with two fallbacks and a plausibility check
- Secure dashboard: price source, margins, manual correction
The site, top to bottom
The whole home page as it appears on a computer: hover over the window to scroll through it.The whole home page as it appears on a computer: it scrolls by itself once on screen.
Browse the live sitegoldencash.ch (opens in a new tab)

See it in action
Recorded on the live site, without editing.
What the video shows
On the Estimation page, the visitor picks the quality of their gold, 18 then 22 carats, and the weight, from 20 to 100 grams. The estimated value is recalculated on every click, in Swiss francs then in euros. The price moved during the recording: for 100 grams of 22-carat gold, the value went from CHF 9,536 to CHF 9,537.
Stack
Results
Each figure shows where it comes from and when it was measured.
Time to production
12 days
between the first commit and going live
Project git history, retrieved on 25.09.2026 · from 13 to 25 April 2026
- 10 sDisplayed prices
between two updates of the estimator and the price ticker
Production site code, retrieved on 25.09.2026
- 2Price sources
GoldAPI by default, XMLCharts as backup, selectable from the dashboard
Production site code, retrieved on 25.09.2026
What we would do differently
What this project taught us, and what we now apply to the next ones.
- 01
A price source is chosen for its reliability before its cost: two days after launch, the site switched to GoldAPI by default, keeping XMLCharts as a backup.
- 02
An exchange rate derived from two gold prices drifted by 0.3 to 1% from the market. Since 28 April 2026, the EUR/CHF rate is read live, with two fallbacks.
- 03
The site’s security policy blocked conversion tracking without any error message. Since 20 June 2026, we check every tag on the production site, not only on the preview.
“I highly recommend DKDP digital agency for the quality of its work. David handled my project with great professionalism and fully understood my brief from the start, with great responsiveness at every step. I particularly appreciated his attentiveness, his availability and the care given to details. An efficient and pleasant collaboration.”
Questions about this project
Where do the prices on the site come from?
From an API that queries GoldAPI by default and can switch to XMLCharts from the dashboard. The EUR/CHF rate is read live from Yahoo Finance, with two fallbacks, and a 10-second cache limits paid calls.
How long did the rebuild take?
Twelve days separate the first commit, on 13 April 2026, from going live, on 25 April 2026. Content and tracking adjustments followed in the weeks after.
Where is the site hosted?
With Infomaniak, in Switzerland, with automatic deployment through GitHub Actions on every change.
The services behind this project
Keep reading

Next case study · Website
cours-informatique.ch · Geneva
WordPress to Astro rebuild for a Geneva computer school for seniors
A complete rebuild of cours-informatique.ch, from WordPress to Astro: a journey designed for seniors and beginners, a four-question price estimator, 88 redirects and one page per neighbourhood. First on Google for “cours informatique genève” in a manual check on 28 September 2026.
Read the case study
Video 14 sLocal service website and job-management CRM for a Geneva building-services company
Next.js 15 website for a Geneva lift-pump specialist: a four-step request funnel feeds a custom intervention CRM, with local SEO and answers written to be quoted by generative engines.
Video 14 s
MKR Caucasian Camp · Wrestling and MMA camps · Dagestan and ChechnyaBrand, bilingual website and application platform for a wrestling and MMA camp
For MKR Caucasian Camp, which runs wrestling camps in Dagestan and MMA camps in Chechnya, we created the brand, the Next.js website in French and English, the online application, the back office that follows every file until departure, the emails, the presentation film and the Google Ads campaigns.
Let's talk about your project
15 minutes, free of charge, and we tell you honestly whether we can help, and how.
No commitment · Reply within 24h · Eaux-Vives, Geneva or by video call

