Request
https://api.zapi.ink/v1/news:antara/searchSend 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 3 minutes.
Parameters
| Name | Type | In | Required | Description |
|---|---|---|---|---|
| query | string | query | Yes | Keyword pencarian berita Example: ekonomi |
| page | number | query | No | Nomor halaman (1-indexed). Default 1, max 50 Example: 1 |
Code examples
curl -X GET "https://api.zapi.ink/v1/news:antara/search?query=ekonomi&page=1" \ -H "x-api-key: zpi_xxxxxxxxxxxxxxxxxxxxxxxx"
const res = await fetch("https://api.zapi.ink/v1/news:antara/search?query=ekonomi&page=1", { 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/news:antara/search", params={"query":"ekonomi","page":"1"}, headers={"x-api-key":"zpi_xxxxxxxxxxxxxxxxxxxxxxxx"}, ) print(res.json())
Example response
{ "project": "news:antara", "data": { "page": 1, "count": 28, "items": [ { "url": "https://www.antaranews.com/berita/5583845/brin-bersama-palmco-kembangkan-gas-limbah-sawit-pengganti-lpg", "image": "https://cdn.antaranews.com/cache/350x233/2026/05/26/2AE022F2-C017-49D8-B0BC-08F4150501AE.jpeg", "title": "BRIN bersama PalmCo kembangkan gas limbah sawit pengganti LPG", "source": "antaranews.com", "summary": "Badan Riset dan Inovasi Nasional (BRIN) bersama Sub Holding PTPN III (Persero), PTPN IV PalmCo mengembangkan ...", "publishedAt": "15 jam lalu" }, { "url": "https://www.antaranews.com/berita/5583752/gubernur-sumut-minta-blackout-listrik-di-sumatera-tak-terulang-lagi", "image": "https://cdn.antaranews.com/cache/350x233/2026/05/26/1000900918.jpg", "title": "Gubernur Sumut minta blackout listrik di Sumatera tak terulang lagi", "source": "antaranews.com", "summary": "Gubernur Sumatera Utara (Sumut) Bobby Nasution meminta peristiwa pemadaman listrik massal atau blackout di Sumatera ...", "publishedAt": "15 jam lalu" }, { "url": "https://www.antaranews.com/berita/5581839/hoaks-singapura-tantang-indonesia-perang-setelah-batalkan-pesanan-bbm", "image": "https://cdn.antaranews.com/cache/350x233/2026/05/12/pertemuan-bilateral-menlu-indonesia-singapura-2788093.jpg", "title": "Hoaks! Singapura tantang Indonesia perang setelah batalkan pesanan BBM", "source": "antaranews.com", "summary": "Jakarta (ANTARA/JACX) – Sebuah unggahan di media sosial Facebook mengeklaim bahwa Singapura menantang ...", "publishedAt": "Kemarin 17:49" } ], "hasMore": true, "nextPage": 2 }, "timestamp": "2026-05-27T13:31:59Z" }
Frequently asked questions
How do I call the Antara Search API?
Send a GET request to https://api.zapi.ink/v1/news:antara/search?query=ekonomi with your Zapi key in the x-api-key header. Parameters — required: query; optional: page. The response is JSON in the { project, data, timestamp } envelope.
What does the Antara Search API return?
Cari berita berdasarkan keyword dengan pagination. The example response has the fields page, count, items, hasMore, nextPage. Each item in items has fields such as url, image, title, source, summary, publishedAt.
Is the Antara Search 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 Antara Search 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 "antara" and endpoint "search".
What other Antara API endpoints are there?
It has 3 endpoints. Besides Search: Detail Artikel, Berita Terbaru.
