Developer API
Send prices from your own system
A claimed business can send its buy and sell prices to Geneh over the API. Each price is checked, then shown on your profile and in our rates.
The basics
- Base URL
https://api.geneh.app- Key
- Send your business key after Bearer in the Authorization header. Live keys start with gb_live_ and test keys with gb_test_. Make keys in your business account.
- Scope
- Sending prices needs a key with the prices:write scope.
Errors
Prices
Send prices
/v1/business/pricesPost the prices for one branch. Each price needs a buy price, a sell price or both. Send up to 200 prices at a time.
branch- The branch id. Use all for every branch, which is the default.
prices- Up to 200 prices. Each has an instrument id such as usd, and a buy price, a sell price or both.
validFrom- Optional. A start time that has already come. Later start times are not supported yet.
curl -X POST https://api.geneh.app/v1/business/prices \
-H "Authorization: Bearer gb_live_YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{
"branch": "all",
"prices": [
{ "instrument": "usd", "buy": 47.62, "sell": 47.72 },
{ "instrument": "eur", "buy": 51.10, "sell": 51.35 }
]
}'{
"live": 2,
"held": []
}Held prices
A price more than 1.5 percent away from the market middle, or from our own reading for your business, is held and not shown. The reply lists each held price with the side and how far off it is, as a fraction. If it is right, confirm it in your portal and a person at Geneh checks it before it goes live. Or send a corrected price.
{
"live": 1,
"held": [
{ "instrument": "eur", "side": "sell", "off": 0.034 }
]
}Fresh prices
A price you set by hand stays current for 3 hours for currencies, gold and silver, and for 2 days for funds. After that our own price shows instead and your line is hidden. A price that follows the market never ages.
Webhooks
Add an endpoint on the Webhooks tab to hear about your prices. The events price.live and price.held go to the owners and editors of the business. The event views.weekly arrives each Saturday with last week's profile views and taps. Check the signature the same way as for other events.
Geneh-Event: price.live
{
"id": "evt_01JB7Q2K",
"type": "price.live",
"created_at": "2026-11-19T10:02:00Z",
"data": { "business": "biz_123", "instrument": "usd", "branch": "all" }
}Geneh-Event: price.held
{
"id": "evt_01JB7Q2M",
"type": "price.held",
"created_at": "2026-11-19T10:02:00Z",
"data": { "business": "biz_123", "instrument": "eur", "branch": "all", "side": "sell", "off": 0.034 }
}Sheet templates
Files, Google Sheets and feeds use one template for each kind of business. The first row names the columns and each row is one price. Copy a template as CSV.
| instrument | buy | sell |
|---|---|---|
| usd | 47.62 | 47.72 |
instrument,buy,sell
usd,47.62,47.72Scopes
Each key holds the scopes you choose when you make it. Prices are documented above. The others are listed here for reference.
prices:writeSend and update your pricesads:readRead your ads and their resultsads:writeCreate and change adsleads:readRead leads from your adsdata:readUse the paid data APIThe 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.