Sources › Finance › IDX (Bursa Efek Indonesia) › Buybacks

IDX Buybacks API

Share buyback disclosures (plan, execution, report, stop, transfer of treasury shares) for one stock or the whole market. Each item has code, date, stage, title and pdfUrl. With withAttachments=true the PDFs are read for maxShares, maxPrice, budget, period and realised figures. Use code=BBRI for full history, or from/to (YYYY-MM, at most 12 months) for the whole market.

IDX (Bursa Efek Indonesia)GET /buybacksAll plans5 Zap

Request

GET
https://api.zapi.ink/v1/finance:idx/buybacks

Send 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 5 minutes.

Parameters

NameTypeInRequiredDescription
codestringqueryNoKode emiten 4 huruf. Kosongkan untuk seluruh bursa (wajib pakai rentang from/to, maks 12 bulan) Example: BBRI
fromstringqueryNoAwal rentang: YYYY-MM (bulan) atau YYYY-MM-DD (tanggal pengumuman, inklusif, WIB), mis. 2026-01-15. Default: semua riwayat untuk satu kode, atau 12 bulan terakhir untuk seluruh bursa Example: 2026-01
tostringqueryNoAkhir rentang: YYYY-MM atau YYYY-MM-DD (inklusif), default bulan ini. Pakai from=to=tanggal hari ini untuk pengumuman hari berjalan Example: 2026-11
stageenum: plan | execution | report | stop | transfer | otherqueryNoFilter tahap: plan (rencana/keterbukaan/perubahan), execution (pelaksanaan), report (laporan hasil), stop (penghentian), transfer (pengalihan/penarikan saham hasil buyback), other Example: plan
limitnumberqueryNoJumlah baris (default 50, maks 200), terbaru dulu Example: 50
withAttachmentsbooleanqueryNoBaca PDF pengumuman lalu isi maxShares, maxPrice, budget, periodStart, periodEnd (dan untuk laporan: sharesBought, avgPrice, totalValue). Field yang tidak ditemukan = null + textStatus. Maks 20 PDF per permintaan Example: true

Code examples

cURL
curl -X GET "https://api.zapi.ink/v1/finance:idx/buybacks?code=BBRI&from=2026-01&to=2026-11&stage=plan&limit=50&withAttachments=true" \
  -H "x-api-key: zpi_xxxxxxxxxxxxxxxxxxxxxxxx"
JavaScript
const res = await fetch("https://api.zapi.ink/v1/finance:idx/buybacks?code=BBRI&from=2026-01&to=2026-11&stage=plan&limit=50&withAttachments=true", {
  method: "GET",
  headers: {
    "x-api-key": "zpi_xxxxxxxxxxxxxxxxxxxxxxxx"
  },
});
const data = await res.json();
console.log(data);
Python
import requests

res = requests.get(
    "https://api.zapi.ink/v1/finance:idx/buybacks",
    params={"code":"BBRI","from":"2026-01","to":"2026-11","stage":"plan","limit":"50","withAttachments":"true"},
    headers={"x-api-key":"zpi_xxxxxxxxxxxxxxxxxxxxxxxx"},
)
print(res.json())

Frequently asked questions

How do I call the IDX Buybacks API?

Send a GET request to https://api.zapi.ink/v1/finance:idx/buybacks with your Zapi key in the x-api-key header. Parameters — optional: code, from, to, stage, limit, withAttachments. The response is JSON in the { project, data, timestamp } envelope.

What does the IDX Buybacks API return?

Share buyback disclosures (plan, execution, report, stop, transfer of treasury shares) for one stock or the whole market.

Is the IDX Buybacks 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 5 Zap. Paid plans raise the limits.

Can an AI assistant call the IDX Buybacks 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 "idx" and endpoint "buybacks".

What other IDX API endpoints are there?

It has 47 endpoints. Besides Buybacks: Ringkasan Saham, Ringkasan Indeks, Top Movers, Ringkasan Broker, Emiten Tercatat, Daftar Securities, and 40 more.