iPhone widget.
Live prices on your home screen and lock screen — gold, silver, crypto, currencies, and any stock ticker. Powered by Scriptable (free).
Widget sizes
Small
Compact glance
2 pricesMedium
2×2 grid layout
4 pricesLarge
Full list + sparklines
Up to 6 pricesLock screen
Glanceable at a tap
1–2 pricesSetup
- Install Scriptable from the App Store (free).
-
Copy the widget script.
Tap the button below, then open Scriptable and create a new script.
Paste the code and save it.
-
Choose your prices.
Edit the
ITEMSarray at the top of the script. See the full list of available IDs below. - Add the widget. Long-press your home screen → tap + → search "Scriptable" → pick your preferred size → tap Add Widget.
- Link it. Long-press the widget → Edit Widget → set Script to "Spotly" → done.
Lock screen
To add a lock screen widget: long-press your lock screen → tap Customize → select your lock screen → tap the widget area above or below the clock → search "Scriptable" → choose a slot size → set the script to "Spotly".
Three lock screen layouts are supported:
- Inline — a single text line with symbol, price, and change.
- Circular — a compact circle showing one price with a change arrow.
- Rectangular — a mini 2-item list with labels, prices, and changes.
Lock screen widgets are text-only — no colors or sparklines. iOS applies its own tinting to match your wallpaper.
Available price IDs
Use these in the ITEMS array. The widget shows the first N items based on size.
Metals
| ID | Description |
|---|---|
gold_oz | Gold per troy ounce (USD) |
gold_24k | Gold 24K per gram (USD) |
gold_18k | Gold 18K per gram (USD) |
gold_14k | Gold 14K per gram (USD) |
silver_oz | Silver per troy ounce (USD) |
silver_gram | Silver per gram (USD) |
platinum_oz | Platinum per troy ounce (USD) |
platinum_gram | Platinum per gram (USD) |
Currencies
| ID | Description |
|---|---|
usd_thb | US Dollar to Thai Baht |
usd_inr | US Dollar to Indian Rupee |
eur_usd | Euro to US Dollar |
usd_jpy | US Dollar to Japanese Yen |
Crypto
| ID | Description |
|---|---|
btc | Bitcoin (USD) |
eth | Ethereum (USD) |
sol | Solana (USD) |
Stocks & ETFs
Use any ticker symbol directly — AAPL, SPY,
MSFT, NVDA, TSLA, etc.
The widget fetches live quotes from the same source as
Spotly Pro.
Configuration
Edit the top of the script to customise which prices appear and in what order. The widget automatically limits items based on size.
const ITEMS = [
"gold_oz", // Gold per troy ounce
"gold_18k", // Gold 18K per gram
"usd_thb", // USD to Thai Baht
"usd_inr", // USD to Indian Rupee
];
For stocks, just add the ticker symbol:
const ITEMS = [
"gold_oz",
"AAPL",
"SPY",
"btc",
];