Sources › Social media › Kaskus › Get Community Directory

Kaskus Community Directory API

Seluruh sub-forum Kaskus, untuk menemukan communityId.

KaskusGET /communitiesAll plans2 Zap

Request

GET
https://api.zapi.ink/v1/social-media:kaskus/communities

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 6 hours.

Parameters

NameTypeInRequiredDescription
channelIdstringqueryNoOnly communities in this channel Example: 6
querystringqueryNoFilter by name, case-insensitive Example: lounge

Code examples

cURL
curl -X GET "https://api.zapi.ink/v1/social-media:kaskus/communities?channelId=6&query=lounge" \
  -H "x-api-key: zpi_xxxxxxxxxxxxxxxxxxxxxxxx"
JavaScript
const res = await fetch("https://api.zapi.ink/v1/social-media:kaskus/communities?channelId=6&query=lounge", {
  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/social-media:kaskus/communities",
    params={"channelId":"6","query":"lounge"},
    headers={"x-api-key":"zpi_xxxxxxxxxxxxxxxxxxxxxxxx"},
)
print(res.json())

Example response

200 OK · application/json
{
  "project": "social-media:kaskus",
  "data": {
    "ok": true,
    "count": 1610,
    "communities": [
      {
        "url": "https://www.kaskus.co.id/forum/2473",
        "icon": "https://s.kaskus.id/ficon/image-241.png",
        "name": "Adi Santoso",
        "channel": {
          "id": "5",
          "name": "News"
        },
        "isOfficial": false,
        "communityId": "2473",
        "description": "Adi Santoso",
        "allowCommerce": false
      },
      {
        "url": "https://www.kaskus.co.id/forum/479",
        "icon": "https://s.kaskus.id/ficon/image-479.png",
        "name": "Cinta Indonesiaku",
        "isOfficial": true,
        "communityId": "479",
        "description": "Forum yang didedikasikan untuk menunjukkan kecintaan Kaskuser terhadap Indonesia.",
        "allowCommerce": false
      },
      {
        "url": "https://www.kaskus.co.id/forum/72",
        "icon": "https://s.kaskus.id/ficon/image-72.png",
        "name": "REGIONAL",
        "channel": {
          "id": "11",
          "name": "Regional"
        },
        "isOfficial": true,
        "communityId": "72",
        "description": "Kenalan dan tahu lebih jauh dengan Kaskuser dari berbagai Regional, baik dalam & luar negeri. Saling berbagi pengalaman mengenai tempat-tempat yang pernah Agan kunjungi! ",
        "allowCommerce": false
      }
    ]
  },
  "timestamp": "2026-06-13T13:42:23Z"
}

Frequently asked questions

How do I call the Kaskus Community Directory API?

Send a GET request to https://api.zapi.ink/v1/social-media:kaskus/communities with your Zapi key in the x-api-key header. Parameters — optional: channelId, query. The response is JSON in the { project, data, timestamp } envelope.

What does the Kaskus Community Directory API return?

Seluruh sub-forum Kaskus, untuk menemukan communityId. The example response has the fields ok, count, communities. Each item in communities has fields such as url, icon, name, channel, isOfficial, communityId, description, allowCommerce.

Is the Kaskus Community Directory 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 2 Zap. Paid plans raise the limits.

Can an AI assistant call the Kaskus Community Directory 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 "kaskus" and endpoint "communities".

What other Kaskus API endpoints are there?

It has 3 endpoints. Besides Get Community Directory: Detail Thread, Thread Sub-Forum.