Ever wanted your iPhone to fetch and announce the current Bitcoin price automatically?
With Shortcuts and Siri, you can set up an automation that retrieves the latest Bitcoin price from a public API and speaks it at a scheduled time.
Here’s how to do it!
Step 1: Choose a Public API for Bitcoin Prices
We’ll use the CoinDesk API, which provides real-time Bitcoin price information. The endpoint we’ll access is:
https://api.coindesk.com/v1/bpi/currentprice/BTC.json
Step 2: Create a Shortcut to Fetch and Speak the Bitcoin Price
-
Open the Shortcuts App • Launch the Shortcuts app on your iPhone.
-
Create a New Shortcut • Tap the ”+” icon to create a new shortcut. • Tap “Add Action”.
-
Fetch Bitcoin Price Data • In the search bar, type “Get Contents of URL” and select it. • Tap the URL field and enter: