const url = "https://apizie.tech/v1/finance:coingecko/simple-price"
+ "?ids=bitcoin,ethereum,solana&vsCurrencies=idr&include24hChange=true";
async function refresh() {
const res = await fetch("/api/prices"); // your backend fetches `url` with x-api-key
const { data } = await res.json();
for (const [coin, p] of Object.entries(data.prices)) {
document.querySelector(`[data-coin=${coin}]`).textContent =
`Rp${p.idr.toLocaleString("id-ID")} (${p.idr_24h_change.toFixed(1)}%)`;
}
}
setInterval(refresh, 30_000);
// Need second-by-second ticks for one pair? Your backend can add:
// GET /v1/finance:binance/ticker?symbol=BTCUSDT
03AI agent (MCP)
Research assistant for Claude
Connect Apizie as an MCP server and Claude can search PubMed and arXiv, read Wikipedia summaries and cite what it found, with no glue code.
For Students, analysts, anyone writing with an AI agent
# 1. Give your agent the key (Claude Code shown; Claude.ai and ChatGPT use OAuth)
claude mcp add --transport http apizie https://apizie.tech/mcp \
--header "x-api-key: $APIZIE_KEY"
# 2. Ask in plain language
> Find the 5 most recent arXiv papers on retrieval-augmented generation,
check PubMed for any clinical use, and give me a one-paragraph summary
of each with links.
04Mobile app feature
Prayer times and holidays
Shows today's prayer times for the user's city from Kemenag data and flags national holidays, so the app can adjust reminders and opening hours.
For Muslim lifestyle apps, mosques, HR and shift tools
import os, requests
API = "https://apizie.tech/v1"
H = {"x-api-key": os.environ["APIZIE_KEY"]}
today = requests.get(f"{API}/indonesia:sholat-kemenag/jadwal-today",
params={"city": "jakarta"}, headers=H).json()["data"]
day = requests.get(f"{API}/indonesia:hari-libur/cek", headers=H).json()["data"]
print(today["city"], today["jadwal"]) # subuh, dzuhur, ashar, maghrib, isya
if day["isDayOff"]:
print("Day off:", [h["name"] for h in day["holidays"]] or day["day"])
05Scheduled job
Morning news digest
Every morning at 07:00 it collects headlines on your topics from Google News, CNN Indonesia and The Guardian and sends one tidy email or Slack message.
Province, regency, district and village dropdowns that fill in as the buyer types, using official Indonesian region codes, so deliveries stop bouncing.
// Your backend proxies these calls and adds x-api-key.
// 1. Type-ahead for city or province: "bandung" -> Kota Bandung (3273), Kab. Bandung (3204)
const { data } = await api("/v1/indonesia:wilayah/search?level=regency&q=" + encodeURIComponent(q));
citySelect.innerHTML = data.items.map((r) => `<option value="${r.code}">${r.name}</option>`).join("");
// 2. Then fill the next dropdowns from the picked code
const districts = await api("/v1/indonesia:wilayah/districts?regencyCode=" + citySelect.value);
const villages = await api("/v1/indonesia:wilayah/villages?districtCode=" + districtSelect.value);
Want to build one of these?
Free plan: 1,000 requests a month, no card. Your first key takes a few seconds.