Developer API

Stop polling, we tell you

Register a URL and pick events. We send a signed POST within seconds of each change, and retry for up to 24 hours if it fails.

Events

rate.updatedA currency rate changed at any bank
rate.best_changedThe cheapest sell or highest buy changed
rate.threshold_crossedA rate crossed a limit you set
cbe.rate_changedThe Central Bank rate changed
gold.updatedGold prices changed
silver.updatedSilver prices changed
transfer.quotes_updatedTransfer provider prices changed
certificate.createdA bank launched a new certificate
certificate.rate_changedA certificate return changed
tbill.auction_resultA treasury bill auction result
fund.price_updatedA fund unit price was updated
status.incidentA service incident started or ended

What we send

POST https://example.com/geneh
Geneh-Event: rate.best_changed
Geneh-Signature: t=1792118220,v1=5f2b9c1e7a

{
  "id": "evt_01JB7Q2K",
  "type": "rate.best_changed",
  "created_at": "2026-10-16T00:37:00Z",
  "data": {
    "currency": "USD",
    "side": "sell",
    "previous": { "bank": "nbe", "rate": 53.52 },
    "current": { "bank": "credit_agricole", "rate": 53.47 }
  }
}

Check the signature

Each request is signed with your endpoint's secret using HMAC SHA-256. Reject anything older than 5 minutes.

import crypto from "node:crypto";

function verify(rawBody, header, secret) {
  const [t, v1] = header.split(",").map(p => p.split("=")[1]);
  const mac = crypto.createHmac("sha256", secret)
    .update(t + "." + rawBody).digest("hex");
  const fresh = Math.abs(Date.now() / 1000 - t) < 300;
  return fresh && crypto.timingSafeEqual(Buffer.from(mac), Buffer.from(v1));
}

Delivery and retries

Timeout
Reply with 2xx within 10 seconds
Retries
8 tries over 24 hours, spacing out each time
Duplicates
An event can arrive twice, so use its id to skip repeats
Order
Compare created_at, because order is not guaranteed
Pausing
We pause an endpoint after 3 days of failures and email you, and you can replay what you missed

Your endpoints

Loading your endpoints

The week's prices in your inbox

The dollar, gold, silver and the top savings returns, every Sunday morning. Free, and you can unsubscribe any time.

We'll send you a link to confirm. No account needed.

Rates shown are for information only, and the rate you get at the branch or at checkout may differ. Confirm it with the bank or provider before you buy, sell or send. Geneh does not sell currency or gold and does not give investment advice.

Get it on Google PlayDownload on the App Store
© 2026 Daleenda For IT Developments. All rights reserved.Built and run by