HomeWho it's forStock prices and exchange rates in Google Sheets and Excel
Market data in your spreadsheet
You can pull prices, rates and economic data into Excel with Power Query, or into Google Sheets with a short Apps Script function. Each call returns JSON and the key travels in a header, so no add-on is needed. One rate table covers 143 currencies in a single request, and the Free plan has 3,000 requests a month.
A prompt to start with
Connect dino.markets to Claude or ChatGPT with one line, then paste this:
Use dino.markets. Give me the daily euro to US dollar rate for the last 30 days as a table with a date column and a rate column, ready to paste into Google Sheets.Three steps to your first call
Sign up, create a key, then call the API from any language that can send an HTTP request.
- Create a key. Sign up, then create an API key in the dashboard.
- Add the call. Paste the script into Google Sheets or the query into Excel.
- Refresh. Use Refresh All in Excel, or a timed trigger in Google Sheets.
// Extensions > Apps Script. Save your key as the script property DINO_API_KEY,
// then type =DINO_CONVERT("USD", "EUR", 100) in any cell
function DINO_CONVERT(from, to, amount) {
const key = PropertiesService.getScriptProperties().getProperty('DINO_API_KEY')
const url = 'https://api.dino.markets/v1/fx/convert?from=' + from + '&to=' + to + '&amount=' + amount
const res = UrlFetchApp.fetch(url, { headers: { Authorization: 'Bearer ' + key } })
return Number(JSON.parse(res.getContentText()).converted)
}What you get
Excel and Google Sheets
Power Query in Excel and Apps Script in Google Sheets, with no add-on to install.
143 currencies
A full rate table in one call, or one converted amount per cell.
Prices and economics
Stocks, metals, energy, inflation and GDP on the same key.
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 |
|---|---|---|
| Getting data in | Copy and paste from websites | One query or one formula |
| Refreshing | By hand, every morning | Refresh All, or a timed trigger |
| Many currencies | Look up each rate one by one | 143 rates in one table |
| Cost | A plan for a sheet you open twice a week | 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 |
|---|---|
| Rate table against a baseGET /v1/fx/rates/{base} | 1 request |
| Convert an amountGET /v1/fx/convert?from=USD&to=EUR&amount=100 | 1 request |
| Spot price for a metal or energyGET /v1/commodities/spot/{commodity}/{currency} | 1 request |
| Daily stock historyGET /v1/equities/{id}/bars | 1 request |
Spreadsheets, answered
Does it work in both Excel and Google Sheets?
Yes. Excel uses Power Query with the key in a header. Google Sheets uses a short Apps Script function you can call from any cell.
Why not use IMPORTDATA or WEBSERVICE?
Those formulas put everything in the URL, and the API refuses keys in the URL to keep them out of logs. Power Query and Apps Script send the key in a header instead.
How many requests does a sheet use?
Each call is one request. A cell with DINO_CONVERT makes one request each time it recalculates, so one rate table uses fewer requests when you need many currencies. The Free plan has 3,000 a month.
Is there an add-on?
Not yet. Apps Script in Google Sheets and Power Query in Excel both work without one.
Keep reading
Next steps
Start with a free key
3,000 requests a month, no card needed.