Request
https://api.zapi.ink/v1/finance:kontan/logam-muliaSend your key in the x-api-key header. The response is JSON in the { project, data, timestamp } envelope, and an identical request is served from cache for 1 hour.
Parameters
| Name | Type | In | Required | Description |
|---|---|---|---|---|
| metal | enum: gold | silver | query | No | Which metal. Default gold Example: gold |
| from | string | query | No | Range start, YYYY-MM-DD. Defaults to the upstream's own recent window Example: 2026-07-01 |
| to | string | query | No | Range end, YYYY-MM-DD Example: 2026-08-20 |
Code examples
curl -X GET "https://api.zapi.ink/v1/finance:kontan/logam-mulia?metal=gold&from=2026-07-01&to=2026-08-20" \ -H "x-api-key: zpi_xxxxxxxxxxxxxxxxxxxxxxxx"
const res = await fetch("https://api.zapi.ink/v1/finance:kontan/logam-mulia?metal=gold&from=2026-07-01&to=2026-08-20", { method: "GET", headers: { "x-api-key": "zpi_xxxxxxxxxxxxxxxxxxxxxxxx" }, }); const data = await res.json(); console.log(data);
import requests res = requests.get( "https://api.zapi.ink/v1/finance:kontan/logam-mulia", params={"metal":"gold","from":"2026-07-01","to":"2026-08-20"}, headers={"x-api-key":"zpi_xxxxxxxxxxxxxxxxxxxxxxxx"}, ) print(res.json())
Example response
{ "project": "finance:kontan", "data": { "to": "2026-08-20", "from": "2026-08-01", "count": 20, "items": [ { "date": "2026-08-01", "price": 2603000, "buyback": 2368000 }, { "date": "2026-08-02", "price": 2603000, "buyback": 2368000 }, { "date": "2026-08-03", "price": 2610000, "buyback": 2379000 }, { "date": "2026-08-04", "price": 2603000, "buyback": 2374000 }, { "date": "2026-08-05", "price": 2629000, "buyback": 2400000 }, { "date": "2026-08-06", "price": 2679000, "buyback": 2490000 }, { "date": "2026-08-07", "price": 2650000, "buyback": 2461000 }, { "date": "2026-08-08", "price": 2690000, "buyback": 2511000 } ], "metal": "gold", "dataset": "logam-mulia", "provider": "kontan" }, "timestamp": "2026-08-20T11:44:00Z" }
Frequently asked questions
How do I call the Kontan Gold and Silver Price API?
Send a GET request to https://api.zapi.ink/v1/finance:kontan/logam-mulia with your Zapi key in the x-api-key header. Parameters — optional: metal, from, to. The response is JSON in the { project, data, timestamp } envelope.
What does the Kontan Gold and Silver Price API return?
Antam gold and silver prices over a date range, with buyback. The example response has the fields to, from, count, items, metal, dataset, provider. Each item in items has fields such as date, price, buyback.
Is the Kontan Gold and Silver Price API free?
Yes. It is on the Zapi free tier: 600 Zap a month with one API key and no credit card. Each call costs 1 Zap. Paid plans raise the limits.
Can an AI assistant call the Kontan Gold and Silver Price API?
Yes. Add the Zapi MCP server (https://mcp.zapi.ink/mcp) to Claude, Cursor or another MCP client and ask in plain words; it calls run_scraper with scraper "kontan" and endpoint "logam-mulia".
What other Kontan API endpoints are there?
It has 24 endpoints. Besides Gold and Silver Price: Channel Feed, Article Search, Article Archive, Article Detail, Trading Recap, Global Indices, and 17 more.
