Request
https://api.zapi.ink/v1/finance:antam/buybackSend 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 |
|---|---|---|---|---|
| x | string | query | No | Unused — the buyback price takes no parameters. |
Code examples
curl -X GET "https://api.zapi.ink/v1/finance:antam/buyback?x=" \ -H "x-api-key: zpi_xxxxxxxxxxxxxxxxxxxxxxxx"
const res = await fetch("https://api.zapi.ink/v1/finance:antam/buyback?x=", { 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:antam/buyback", params={"x":""}, headers={"x-api-key":"zpi_xxxxxxxxxxxxxxxxxxxxxxxx"}, ) print(res.json())
Example response
{ "project": "finance:antam", "data": { "metal": "gold", "dataset": "buyback", "currency": "IDR", "provider": "antam", "pricePerGram": 2585000, "appliesToAllDenominations": true }, "timestamp": "2026-08-21T02:23:43Z" }
Frequently asked questions
How do I call the Antam Buyback API?
Send a GET request to https://api.zapi.ink/v1/finance:antam/buyback with your Zapi key in the x-api-key header. Parameters — optional: x. The response is JSON in the { project, data, timestamp } envelope.
What does the Antam Buyback API return?
What Antam pays to take a bar back. The example response has the fields metal, dataset, currency, provider, pricePerGram, appliesToAllDenominations.
Is the Antam Buyback 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 Antam Buyback 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 "antam" and endpoint "buyback".
What other Antam API endpoints are there?
It has 2 endpoints. Besides Buyback: Harga.
