Sources › News › Tribunnews › Search

Tribunnews Search API

Cari berita berdasarkan keyword dengan pagination.

TribunnewsGET /searchAll plans1 Zap

Request

GET
https://api.zapi.ink/v1/news:tribunnews/search

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 3 minutes.

Parameters

NameTypeInRequiredDescription
querystringqueryYesKeyword pencarian berita Example: politik
pagenumberqueryNoHalaman hasil (default 1, max 50) Example: 1

Code examples

cURL
curl -X GET "https://api.zapi.ink/v1/news:tribunnews/search?query=politik&page=1" \
  -H "x-api-key: zpi_xxxxxxxxxxxxxxxxxxxxxxxx"
JavaScript
const res = await fetch("https://api.zapi.ink/v1/news:tribunnews/search?query=politik&page=1", {
  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/news:tribunnews/search",
    params={"query":"politik","page":"1"},
    headers={"x-api-key":"zpi_xxxxxxxxxxxxxxxxxxxxxxxx"},
)
print(res.json())

Example response

200 OK · application/json
{
  "project": "news:tribunnews",
  "data": {
    "page": 1,
    "count": 5,
    "items": [
      {
        "url": "https://www.tribunnews.com/nasional/7834711/pks-putusan-mk-soal-kuota-30-persen-perempuan-jangan-sekadar-administratif",
        "image": "https://asset.tribunnews.com/8CvJ4NBmhEnfp9mRLdHquUqt95U=/148x99/filters:quality(30):format(webp):focal(0.5x0.5:0.5x0.5)/tribunnews/foto/bank/originals/anggota-komisi-ix-dpr-ri-anis-byarwati.jpg",
        "title": "PKS: Putusan MK soal Kuota 30 Persen Perempuan Jangan Sekadar Administratif",
        "source": "tribunnews.com",
        "category": "nasional",
        "publishedAt": "2026-05-27 09:50:41"
      },
      {
        "url": "https://www.tribunnews.com/seleb/7834731/erin-serahkan-bukti-cctv-saat-diperiksa-dalam-laporan-herawati-tessa-mariska-sindir-sang-sosialita",
        "image": "https://asset.tribunnews.com/cqBVWcbd_DovTpPfkLpRNMRA67g=/148x99/filters:quality(30):format(webp):focal(0.5x0.5:0.5x0.5)/tribunnews/foto/bank/originals/erin-eks-andre-taulany1.jpg",
        "title": "Erin Serahkan Bukti CCTV saat Diperiksa dalam Laporan Herawati, Tessa Mariska Sindir sang Sosialita",
        "source": "tribunnews.com",
        "category": "seleb",
        "publishedAt": "2026-05-27 10:38:40"
      },
      {
        "url": "https://www.tribunnews.com/bisnis/7834717/ledakan-pipa-di-pabrik-kimia-cilegon-menperin-agus-gumiwang-turunkan-tim-pengawasan-ke-lokasi",
        "image": "https://asset.tribunnews.com/ZqiKb0zFtjCOWd7pZW7wKyZP7E0=/148x99/filters:quality(30):format(webp):focal(0.5x0.5:0.5x0.5)/tribunnews/foto/bank/originals/Asap-putih-membumbung-dari-pabrik-kimia-di-Cilegon-usai-ledakan-Senin-siang.jpg",
        "title": "Ledakan Pipa di Pabrik Kimia Cilegon, Menperin Agus Gumiwang Turunkan Tim Pengawasan ke Lokasi",
        "source": "tribunnews.com",
        "category": "bisnis",
        "publishedAt": "2026-05-27 10:06:16"
      },
      {
        "url": "https://www.tribunnews.com/regional/7834752/prakiraan-cuaca-kota-ternate-kamis-28-mei-2026-dominan-hujan-ringan",
        "image": "https://asset.tribunnews.com/uIHYvofrX57Av2FbNLm2y35j-ec=/148x99/filters:quality(30):format(webp):focal(0.5x0.5:0.5x0.5)/tribunnews/foto/bank/originals/Cuaca-Ternate-BMKG-21.jpg",
        "title": "Prakiraan Cuaca Kota Ternate Kamis, 28 Mei 2026: Dominan Hujan Ringan",
        "source": "tribunnews.com",
        "category": "regional",
        "publishedAt": "2026-05-27 11:44:57"
      },
      {
        "url": "https://www.tribunnews.com/nasional/7834758/pengamat-sebut-jokowi-safari-politik-demi-psi-gibran-dan-kaesang-tak-cukup-kuat-untuk-jadi-simbol",
        "image": "https://asset.tribunnews.com/KTgarv-i_peB_KHr8qS8qIdDOD4=/148x99/filters:quality(30):format(webp):focal(0.5x0.5:0.5x0.5)/tribunnews/foto/bank/originals/JOKOWI-usai-salat-id-di-gbk.jpg",
        "title": "Pengamat Sebut Jokowi Safari Politik Demi PSI: Gibran dan Kaesang Tak Cukup Kuat untuk Jadi Simbol",
        "source": "tribunnews.com",
        "category": "nasional",
        "publishedAt": "2026-05-27 11:59:09"
      }
    ],
    "hasMore": false
  },
  "timestamp": "2026-05-27T13:31:59Z"
}

Frequently asked questions

How do I call the Tribunnews Search API?

Send a GET request to https://api.zapi.ink/v1/news:tribunnews/search?query=politik 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 Tribunnews Search API return?

Cari berita berdasarkan keyword dengan pagination. The example response has the fields page, count, items, hasMore. Each item in items has fields such as url, image, title, source, category, publishedAt.

Is the Tribunnews 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 Tribunnews 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 "tribunnews" and endpoint "search".

What other Tribunnews API endpoints are there?

It has 3 endpoints. Besides Search: Detail Artikel, Berita Terbaru.