Want to highlight a helpful answer? Upvote!

Did someone help you, or did an answer or User Tip resolve your issue? Upvote by selecting the upvote arrow. Your feedback helps others! Learn more about when to upvote >

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Automated Bitcoin price in numbers

I am looking for a simple way to import the current Bitcoin value into a Numbers sheet.


Google sheets handles this quickly and efficiently by using this formula:


=GoogleFinance("CURRENCY:BTCUSD")

This is exactly what I need - but for Numbers.

The data could come from any of a number of sources such as https://api.bitcoinaverage.com/ticker/USD/last.

Thanks for your help!

MacBook Pro (Retina, 15-inch, Early 2013), OS X Mountain Lion (10.8.4)

Posted on Jul 12, 2016 1:02 PM

Reply
Question marked as Best reply

Posted on Jun 8, 2017 6:26 PM

Here is an AppleScript gist that will retrieve the value of just about any cryptocurrency and add it to Numbers. It uses the API at Cryptonator API endpoint.


To run this you must have the JSON Helper for AppleScriptrunning (free on the MacOS app store), as well as numbers open to a sheet titled "Overview" that contains a table called "Coin Values (USD)" which has the following format:


|SYMBOL|PRICE|LAST_UPDATED_DATE|


where SYMBOL is the ticker symbol for the currency you want to fetch ('BTC'). The Price and LAST_UPDATED_DATE columns will be filled in by the script.


A more concrete example:


|BTC|blank|blank|

|ETH|blank|blank|

|LTC|blank|blank|


will fetch BTC, ETH, LTC and fill in the price and last updated columns.


Hey, a picture is worth 1000 words:

User uploaded file


You can edit the code to adjust the base currency, table names and such.

28 replies

Automated Bitcoin price in numbers

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.