Discover/Go API
live

Go APIdukcapil.kemendagri.go.id

Retrieve full article content from Indonesia's official Dukcapil blog: title, body text, HTML, tags, category, view count, links, and featured image metadata.

Endpoint health
verified 6d ago
get_article
1/1 passing latest checkself-healing
Endpoints
1
Updated
20d ago

What is the Go API?

The Dukcapil Blog API provides access to articles published on Indonesia's official Direktorat Jenderal Kependudukan dan Pencatatan Sipil (Dukcapil) website through a single endpoint, get_article. Each call returns 10 structured response fields including the full article body in both HTML and plain text, publication metadata, tags, embedded hyperlinks, and a view count — covering civil registry guidance, population administration policy, and related public announcements.

This call costs1 credit / call— charged only on success
Try it
URL slug of the blog article (the last path segment of the article URL, e.g. 'ini-cara-benar-cek-nik-ktp-el-ke-dukcapil').
api.parse.bot/scraper/865277fc-20b3-4604-9d9d-45fbe8a86c3e/<endpoint>
Ready to send
Fill in the parameters and hit sign in to send to see live response data here.
Call it over HTTPgrab a free API key at signup
curl -X GET 'https://api.parse.bot/scraper/865277fc-20b3-4604-9d9d-45fbe8a86c3e/get_article?slug=ini-cara-benar-cek-nik-ktp-el-ke-dukcapil' \
  -H 'X-API-Key: $PARSE_API_KEY'
Python SDK · recommended

Typed, relational, agent-ready

A generated client with real types, enums, and the links between objects — the structure a flat JSON response can't carry. Autocompletes in your editor and reads cleanly to coding agents.

  • Fully typed · autocompletes
  • Objects link to objects
  • Typed errors & pagination

Typed Python client. Set up the SDK in your uv project, then pull this API’s typed client:

uv add parse-sdk
uv run parse init
uv run parse add --marketplace dukcapil-kemendagri-go-id-api

uv run parse add --marketplace pulls a pinned snapshot of this canonical API — it won’t change underneath you. To customize it, subscribe and swap to your own copy.

"""Walkthrough: Dukcapil Blog API — fetch and inspect a single article."""
from parse_apis.dukcapil_kemendagri_go_id_api import Dukcapil, ArticleNotFound

client = Dukcapil()

# Fetch an article by its URL slug
try:
    article = client.articles.get(slug="ini-cara-benar-cek-nik-ktp-el-ke-dukcapil")
except ArticleNotFound:
    print("Article not found for the given slug.")
    raise

# Display core metadata
print(article.title)
print("Published:", article.date_published)
print("Category:", article.category)
print("Views:", article.views)

# Walk embedded links
for link in article.links[:3]:
    print(f"  Link: {link.text} -> {link.url}")

# Show tags
print("Tags:", ", ".join(article.tags))

# Browse related articles
for related in article.related_articles[:3]:
    print(f"  Related: {related.title} ({related.date})")

print("exercised: articles.get / Link fields / RelatedArticle fields / tags")
All endpoints · 1 totalmissing one? ·

Retrieve a single blog article by its URL slug. Returns the full article content including title, publication date, category, view count, featured image, body text (plain and HTML), embedded links, tags, and related articles listed in the sidebar. One HTTP round trip per call.

Input
ParamTypeDescription
slugrequiredstringURL slug of the blog article (the last path segment of the article URL, e.g. 'ini-cara-benar-cek-nik-ktp-el-ke-dukcapil').
Response
{
  "type": "object",
  "fields": {
    "url": "Canonical URL of the article",
    "tags": "Array of tag strings associated with the article",
    "links": "Array of objects with 'text' and 'url' for each hyperlink in the article body",
    "title": "Article headline",
    "views": "Formatted view count string",
    "category": "Article category label",
    "body_html": "Full article body as raw HTML",
    "body_text": "Full article body as plain text with newlines separating paragraphs",
    "description": "Short description from Open Graph meta tag",
    "image_caption": "Caption text for the featured image",
    "date_published": "Publication date as displayed on the page (e.g. '01 Juli 2024')",
    "featured_image": "Absolute URL of the article's featured image",
    "related_articles": "Array of related article objects with 'title', 'url', and 'date'"
  },
  "sample": {
    "data": {
      "url": "https://dukcapil.kemendagri.go.id/blog/read/ini-cara-benar-cek-nik-ktp-el-ke-dukcapil",
      "tags": [
        "NIK",
        "nomor induk kependudukan",
        "Direktur PIAK Handayani Ningrum"
      ],
      "links": [
        {
          "url": "http://kemendagri.lapor.go.id",
          "text": "kemendagri.lapor.go.id"
        }
      ],
      "title": "Ini Cara Benar Cek NIK KTP-el ke Dukcapil",
      "views": "4,859,881",
      "category": "KELOLA INFORMASI",
      "body_html": "<div class=\"entry-content\"><div style=\"color: blue\"><p><strong>Jakarta</strong>...</p></div></div>",
      "body_text": "Jakarta\n- Baru-baru ini muncul informasi berita di laman Detikcom...",
      "description": "Jakarta - Baru-baru ini muncul informasi berita di laman Detikcom tentang cara memverifikasi dan validasi Nomor Induk Kependudukan (NIK). Berita yang disebut-sebut bersumber dari situs Dukcapil Pemkab",
      "image_caption": "Ilustrasi. [Foto: Google]",
      "date_published": "01 Juli 2024",
      "featured_image": "https://dukcapil.kemendagri.go.id/images/blog_post/cek-ektp-768x576.jpg",
      "related_articles": [
        {
          "url": "https://dukcapil.kemendagri.go.id/blog/read/dukcapil-jemput-bola-ke-riung-419-dokumen-kependudukan-warga-terdampak-gempa-ngada-dipulihkan",
          "date": "26/08/2026",
          "title": "Dukcapil Jemput Bola ke Riung, 419 Dokumen Kependu..."
        }
      ]
    },
    "status": "success"
  }
}

About the Go API

What the API Returns

The get_article endpoint retrieves a complete blog post from the Dukcapil official website by accepting a slug parameter — the final path segment of the article URL. For example, passing ini-cara-benar-cek-nik-ktp-el-ke-dukcapil returns the full article on verifying a National Identity Number (NIK). The response includes the article title, category, views (as a formatted string), description (from the Open Graph meta tag), and the url of the canonical page.

Body Content and Markup

Article content is returned in two forms: body_html delivers the raw HTML markup of the article body, suitable for rendering or further parsing, while body_text provides the same content stripped of tags with paragraph breaks preserved as newlines. The image_caption field carries the caption for the featured image when present.

Links and Tags

The links array enumerates every hyperlink found within the article body, with each entry containing a text and url property — useful for mapping cross-references within Dukcapil's content or identifying external sources cited in official guidance. The tags array lists all topic labels associated with the article, enabling categorization or filtering downstream.

Reliability & maintenanceVerified

The Go API is a managed, monitored endpoint for dukcapil.kemendagri.go.id — not a raw scraper you maintain. Every endpoint is automatically health-checked on a schedule, and when dukcapil.kemendagri.go.id changes and a check fails, the API is automatically queued for repair and re-verified. It is built to keep working as the site underneath it changes.

This isn't an official dukcapil.kemendagri.go.id API — it's an independent, maintained REST wrapper over public data. Where the source has no official API (or only a limited one), Parse gives you a stable contract over a source that never promised one, and keeps it current. Need a new endpoint or field? You can revise it yourself in plain English and the agent rebuilds it against the live site in minutes — contributing the change back to the shared API is free.

Last verified
6d ago
Latest check
1/1 endpoint passing
Maintenance
Monitored & self-healing
Will this API break when the source site changes?+
It's built not to. Every endpoint is health-checked on a schedule with automated test probes. When the source site changes and a check fails, the API is automatically queued for repair and re-verified — that's the self-healing layer. Each API page shows when its endpoints were last verified. And because marketplace APIs are shared, any fix reaches everyone using it.
Is this an official API from the source site?+
No — Parse APIs are independent, managed REST wrappers over publicly available data. That is the point: where a site has no official API (or only a limited one), Parse gives you a maintained, monitored endpoint for that data and keeps it working as the site changes — so you get a stable contract over a source that never promised one.
Can I fix or extend this API myself if I need a new endpoint or field?+
Yes — and you don't have to wait on us. This API was generated by the Parse agent, which stays attached. Describe the change in plain English ("add an endpoint that returns reviews", "fix the price field") in the revise box on the API page or via the revise_api MCP tool, and the agent rebuilds it against the live site in minutes. Contributing the change back to the public API is free.
What happens if I call an endpoint that has an issue?+
Errors are machine-readable: a bad call returns a clean status with the list of available endpoints and a repair hint, so an agent (or you) can recover or trigger a fix instead of failing silently. Confirmed failures feed the automatic repair queue.
Common use cases
  • Aggregate Dukcapil guidance articles on NIK and KTP-el verification for a civil registry reference tool
  • Extract body_text from policy announcements to feed a question-answering system about Indonesian population administration
  • Monitor views and category fields to identify which civil registry topics receive the most public attention
  • Parse the links array to build a cross-reference map of official government sources cited in Dukcapil articles
  • Collect tags across multiple articles to build a taxonomy of Dukcapil's published topics for research classification
  • Ingest body_html into a content management system mirroring official Indonesian civil registry announcements for archival
Pricing & limitsSee full pricing →
TierPriceCredits/monthRate limit
Free$0/mo2005 req/min
Hobby$30/mo1,00020 req/min
Developer$100/mo5,000100 req/min
Team$300/mo20,000300 req/min
Company$1,000/mo100,000500 req/min

Each endpoint has a fixed posted price per successful call — most fall between 1 and 10 credits — shown on this API's page before you run it. Exceeding the rate limit returns a 429 response. Authenticate with the X-API-Key header.

Frequently asked questions
Does Dukcapil provide an official developer API for its blog content?+
Dukcapil does not publish a public developer API for its blog. The site at dukcapil.kemendagri.go.id offers informational articles for general public consumption without a documented programmatic access layer.
What does the `get_article` endpoint require, and what does it return?+
The endpoint requires a single slug string — the last path segment of the article URL. It returns the article title, url, category, views, description, image_caption, body_html, body_text, tags, and a links array. One call maps to one article; there is no batch input.
Does the API support listing or searching multiple articles at once?+
Not currently. The API covers retrieval of individual articles by slug only. You can fork it on Parse and revise to add a listing or search endpoint that returns multiple articles from the blog index.
Is there a way to get related articles or sidebar content through this API?+
The endpoint description references related articles listed in the sidebar, but these are not surfaced as explicit fields in the current response schema. You can fork it on Parse and revise to expose related article titles and URLs as a structured array.
How current is the article content returned by this API?+
Each call retrieves the current published state of the article at the time of the request. There is no built-in change-detection or historical versioning, so if Dukcapil edits or removes an article, subsequent calls will reflect those changes immediately.
Page content last updated . Spec covers 1 endpoint from dukcapil.kemendagri.go.id.
Related APIs in Government PublicSee all →
detik.com API
Search and browse news articles from Detik.com by keywords, topics, or specific channels to get the latest headlines and full article details. Find news tailored to your interests through tag-based browsing and access real-time updates across different content categories.
jdih.kemenkeu.go.id API
Search and retrieve Indonesian Ministry of Finance legal documents with detailed information including document types, metadata, and downloadable files. Browse legal products by category and access comprehensive details about regulations, policies, and official legal materials from Indonesia's financial authority.
pddikti.kemdiktisaintek.go.id API
Search and retrieve comprehensive information about Indonesian higher education institutions, including details about students, lecturers, universities, and their study programs from the official national education database. Quickly look up specific universities, academic staff profiles, and available degree programs to research educational options or verify institution credentials.
kaskus.co.id API
Search and browse Kaskus forum discussions across communities, discover trending threads, and read full post content from Indonesia's largest online forum. Find hot topics, explore community-specific conversations, and access popular communities all in one place.
bcg.com API
Retrieve article content from BCG.com publications including titles, authors, publish dates, body text, and embedded images to access their latest insights and research. Get direct access to complete articles with all their components organized in a single request.
pusiknas.polri.go.id API
Search for and retrieve detailed information about wanted persons from the Indonesian National Police's official wanted list. Access comprehensive profiles including suspect names, charges, and other identifying details to help identify individuals listed by Pusiknas Bareskrim.
pdki-indonesia.dgip.go.id API
Search Indonesia's official intellectual property database to find registered trademarks by keyword and verify trademark availability before registration. Quickly check trademark ownership, registration status, and details across the complete PDKI registry.
idx.co.id API
Access real-time and historical data from the Indonesia Stock Exchange (IDX). Retrieve stock listings, daily trading summaries, market indices, company profiles, financial and annual reports, corporate event calendars, announcements, IPO data, and market overviews.