Guides
Each guide gets one kind of data into one tool, with the request and the result shown at every step.
Stocks guides
How to get stock prices in Python
Get stock prices in Python with the requests library and one API key: the latest price, up to 50 prices in one request, and daily history adjusted for splits and dividends.
Read guideHow to get stock prices in JavaScript
Get stock prices in JavaScript with the fetch function in Node 18 or newer and one API key: the latest price, up to 50 prices in one request, and daily history.
Read guideHow to get stock prices in Excel
Get stock prices in Excel with Power Query and one API key. The query loads the latest price into a table and refreshes when you ask or every few minutes.
Read guideHow to get stock prices in Google Sheets
Get stock prices in Google Sheets with a DINO_PRICE custom function in Apps Script. The key stays in Script Properties, and a 5 minute cache saves requests.
Read guideBeta and cost of equity in Excel
Work out a stock's beta and its CAPM cost of equity in Excel: load daily prices for the stock and a benchmark fund, take weekly returns, use SLOPE and add the 10 year yield.
Read guideCurrencies guides
About these guides
Each guide shows one task from the first request to the finished result, in a tool you already use.
Every request in a guide runs against the live API with your own key.
Get this data by API
Every guide calls the same API. Send your key as a Bearer token, for example:
curl "https://api.dino.markets/v1/commodities/spot/XAU/USD" \
-H "Authorization: Bearer $DINO_API_KEY"Common questions
Are the guides free to read?
Yes. Every guide is free to read without an account. You only need a free API key to run the requests yourself.
Which languages do the guides use?
Python, JavaScript, Excel and Google Sheets. Each step shows the request and what it returns.
Do the guides work on the free plan?
Yes. Every example in the guides runs on the free plan, which has 3,000 requests a month and needs no card.
Can I get the same data through the API?
Yes. The guides call the same API as every other page. The reference lists every endpoint, parameter and response field.
Start with a free key
3,000 requests a month, no card needed.