Sources › News › Liputan6 › Search

Liputan6 Search API

Cari berita berdasarkan keyword dengan pagination.

Liputan6GET /searchAll plans1 Zap

Request

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

Example response

200 OK · application/json
{
  "project": "news:liputan6",
  "data": {
    "page": 1,
    "count": 25,
    "items": [
      {
        "url": "https://berita.liputan6.com/peristiwa/read/7331438/momen-wapres-gibran-sapa-jemaah-usai-salat-idul-adha-di-masjid-istiqlal",
        "image": "https://cdn1-production-images-kly.akamaized.net/w3YVBvYljHDcOxpYDeQk5COvnsQ=/255x143/smart/filters:quality(75):strip_icc()/kly-media-production/medias/7077012/original/049616700_1…",
        "title": "Momen Wapres Gibran Sapa Jemaah Usai Salat Idul Adha di Masjid Istiqlal",
        "source": "liputan6.com",
        "category": "berita",
        "publishedAt": "2026-05-27T11:39:28+07:00"
      },
      {
        "url": "https://www.liputan6.com/news/read/7330581/curhat-eks-dirjen-phu-terseret-kasus-kuota-haji-ayah-stroke-keluarga-hancur",
        "title": "Curhat Eks Dirjen PHU Terseret Kasus Kuota Haji: Ayah Stroke, Keluarga Hancur",
        "source": "liputan6.com",
        "category": "news",
        "publishedAt": "2026-05-27T11:12:43+07:00"
      },
      {
        "url": "https://www.liputan6.com/news/read/7330578/skandal-dugaan-pemalsuan-riset-seret-nama-uny-pihak-kampus-buka-suara",
        "title": "Skandal Dugaan Pemalsuan Riset Seret Nama UNY, Pihak Kampus Buka Suara",
        "source": "liputan6.com",
        "category": "news",
        "publishedAt": "2026-05-27T11:11:23+07:00"
      }
    ],
    "hasMore": true,
    "nextPage": 2
  },
  "timestamp": "2026-05-27T13:31:59Z"
}

Frequently asked questions

How do I call the Liputan6 Search API?

Send a GET request to https://api.zapi.ink/v1/news:liputan6/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 Liputan6 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, category, publishedAt.

Is the Liputan6 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 Liputan6 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 "liputan6" and endpoint "search".

What other Liputan6 API endpoints are there?

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