HomeWho it's forPrice alert API for gold, oil and currencies
Data for price alerts
dino.markets gives you the prices an alert needs: gold, silver, platinum, palladium, copper, WTI and Brent, plus rates for 143 currencies. Your code polls the spot route on a schedule, compares the price with your rule and tells your users. dino.markets does not send alerts or push data yet, and each poll is one request.
A prompt to start with
Connect dino.markets to Claude or ChatGPT with one line, then paste this:
Use dino.markets. Get the gold price in US dollars and the Brent crude price now. Tell me if gold is above 2,700 dollars or Brent is above 90 dollars, then show the daily gold price for the last 7 days.Three steps to your first call
Sign up, create a key, then call the API from any language that can send an HTTP request.
- Pick the price. Gold, silver, oil or any of 143 currencies.
- Poll on a schedule. Call the spot route from a cron job or a timed trigger.
- Fire the alert. Your code checks the rule and tells your users.
curl "https://api.dino.markets/v1/commodities/spot/XAU/USD" \ -H "Authorization: Bearer $DINO_API_KEY"
What you get
Spot prices on demand
Ask for the latest price of a metal, oil or a currency as often as your plan allows.
History to compare against
Daily bars let your code check a move over a day or a week.
Gold in 31 currencies
Gold priced in 31 currencies, and silver, platinum, palladium, copper and oil in US dollars.
Skip the glue code
Most of the work in a data feature is wiring sources together and keeping them fresh.
| Task | Do it yourself | dino.markets |
|---|---|---|
| Prices | Scrape pages or stitch feeds together | Metals, energy and 143 currencies on one key |
| Checking | Scrape a page on a cron and diff the numbers | Poll one JSON route on a cron and compare the numbers |
| Currency | Convert each price by hand | Gold in 31 currencies, the rest in US dollars |
| Cost | A monthly plan for alerts that fire now and then | Free up to 3,000 requests a month, paid plans from $29 a month |
The calls you'll make
Each request counts once against your plan.
| Call | Counts as |
|---|---|
| Spot price for a metal or energyGET /v1/commodities/spot/{commodity}/{currency} | 1 request |
| Price historyGET /v1/commodities/spot/{commodity}/{currency}/bars | 1 request |
| Latest currency ratesGET /v1/fx/rates/{base} | 1 request |
Price alerts, answered
Which prices can I alert on?
Gold, silver, platinum, palladium, copper, WTI and Brent, plus rates for 143 currencies. Gold can be quoted in 31 currencies and the others in US dollars.
How often should I poll?
As often as your alert needs. Each poll is one request, so checking one price once an hour uses about 720 requests a month, and every 5 minutes uses about 8,600. The Free plan has 3,000 a month.
Can dino.markets push new prices to me?
Not yet. Webhooks and live streams are planned and are not available today, so your code polls the spot and history routes on a schedule.
Do you send the alert to my users?
No. We send the price to you, and your app decides when to alert and how to reach your users.
Keep reading
- Guide: how to get exchange rates in Python
- Commodity spot prices API
- Commodity price history API
- Currency rates API
Next steps
Start with a free key
3,000 requests a month, no card needed.