BKN Publications Scraper avatar

BKN Publications Scraper

Pricing

from $3.50 / 1,000 bkn publications scrapers

Go to Apify Store
BKN Publications Scraper

BKN Publications Scraper

Collect public BKN publication records from the official BKN website. Get titles, links, dates, categories, tags, excerpts, article text, and featured images when available. Run with search and maxResults, without a BKN login. Pricing: $0.0035 per result plus $0.00005 per Actor Start on Free.

Pricing

from $3.50 / 1,000 bkn publications scrapers

Rating

0.0

(0)

Developer

Vitalii Bondarev

Vitalii Bondarev

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

17 days ago

Last modified

Categories

Features

Limited permissions

Share

This Actor extracts public news, announcements, press releases, and other publication records from BKN RI’s official bkn.go.id website through its public WordPress REST endpoint. It costs $0.0035 per scraped result on the Free plan, plus $0.00005 per Actor Start on the Free plan.

  • Search BKN publication titles and content, or collect the latest posts with an empty search.
  • Archive BKN news and announcements with titles, links, dates, categories, tags, excerpts, and article text.
  • Export structured records with source-domain, scrape-time, and featured-image URL metadata when available.
  • Run against the public source without a BKN login.

What you get

The Actor reads published BKN posts from https://www.bkn.go.id/wp-json/wp/v2/posts. It follows pagination until it reaches the requested result count or there are no more posts. Each pushed item has a positive post ID, title, and BKN URL.

FieldTypeWhat it contains
idintegerBKN post ID.
titlestringPublication title converted to text.
urlstringURL of the BKN publication.
published_atstringPublication timestamp from the source, labeled UTC.
updated_atstringLast update timestamp from the source, labeled UTC.
excerptstringAvailable rendered publication excerpt as text.
contentstringAvailable rendered article content as text.
categoriesarray of stringsPublication category names.
tagsarray of stringsPublication tag names.
image_urlstringFeatured image URL when a valid HTTP or HTTPS image is available.
source_domainstringHostname of the publication URL, such as www.bkn.go.id.
scraped_atstringUTC timestamp assigned when the record is collected.

Note: Fields absent from a source post are not fabricated. If no valid featured image is found, image_url is omitted; categories and tags can be empty arrays.

The source URL is accepted only when it uses HTTP or HTTPS and belongs to bkn.go.id or one of its subdomains. Posts without a usable ID, title, or source URL are not pushed.

Sample output

This shortened sample keeps every field except the long excerpt and content values.

{
"id": 127661,
"title": "BKN Berikan Penghargaan Setinggi-tingginya bagi Dua ASN yang Gugur dalam Pemadaman Karhutla Bromo",
"url": "https://www.bkn.go.id/bkn-berikan-penghargaan-setinggi-tingginya-bagi-dua-asn-yang-gugur-dalam-pemadaman-karhutla-bromo/",
"published_at": "2026-10-16T08:08:45",
"updated_at": "2026-10-16T08:08:45",
"categories": ["Berita", "Publikasi"],
"tags": [],
"source_domain": "www.bkn.go.id",
"scraped_at": "2026-10-17T03:22:59.474370+00:00",
"image_url": "https://www.bkn.go.id/wp-content/uploads/2026/09/DSC04342-scaled.jpg"
}

Pricing

This Actor uses pay-per-event billing with these charge events:

Charge eventWhen it appliesFree-plan price
Actor StartWhen the Actor starts running, including a run that produces no results.$0.00005 per event on the Free plan
BKN Publications ScraperOne scraped result (one dataset item) with all fields.$0.0035 per event on the Free plan

Example on the Free plan: 100 x $0.0035 = $0.35 for results, and one Actor Start adds $0.00005, so the total is $0.35005.

Larger result-only examples on the Free plan: 1,000 x $0.0035 = $3.50, and 10,000 x $0.0035 = $35.00.

The Apify Free plan includes $5 of monthly platform usage credit. After one Free-plan Actor Start, that credit covers 1,428 result events at the Free-plan rates. This is a credit calculation, not a promise that the source contains that many matching posts.

For this pay-per-event Actor, platform usage (compute, Apify Proxy traffic, and storage) is included in the event prices and paid by the Actor developer.

How to use

  1. Open the Actor in Apify and start a run using your Apify account.
  2. Enter optional text in search, or leave it empty to collect the latest posts.
  3. Set maxResults to the total number of records you want, from 1 to 1000.
  4. Check proxyConfiguration. Its schema default is Apify Proxy with the RESIDENTIAL group, so a run that does not override it goes through Apify Proxy. A direct request happens only when you set useApifyProxy to false, or when the input is passed without the field where schema defaults are not applied.
  5. Run the Actor and inspect the dataset records.
  6. Repeat the run through Apify Schedules if you need regular collection.

Example input:

{
"search": "ASN",
"maxResults": 50,
"proxyConfiguration": {
"useApifyProxy": true,
"apifyProxyGroups": ["RESIDENTIAL"]
}
}

Export the dataset as JSON or CSV, or read it through the Apify dataset API.

Input parameters

ParameterWhat it doesDefault
searchOptional text passed to the BKN posts search over titles and content; an empty value collects the latest posts.Empty string
maxResultsMaximum total number of records to return across all pages. Range: minimum 1, maximum 1000.50
proxyConfigurationOptional Apify Proxy settings. A proxy is used only when useApifyProxy is true; false makes a direct request.{"useApifyProxy": true, "apifyProxyGroups": ["RESIDENTIAL"]}

Limits and edge cases

ConditionWhat the buyer seesWhat to do
maxResults is 0 or negative when supplied programmaticallyThe Actor logs that no posts were requested and pushes nothing.Use a positive value.
maxResults exceeds the number of matching published postsThe dataset contains fewer records than requested.Broaden or remove search.
search matches no public BKN postsThe dataset is empty.Check the spelling or leave search empty.
A source post lacks a usable ID, title, or BKN URL, or is not publishedThat item is skipped.Check the source publication.
A post has no valid featured image or no category or tag termsimage_url is omitted; categories or tags can be empty arrays.Treat the value as unavailable in the source.
A page request returns an HTTP error, times out (45-second request timeout), or returns non-JSON or a non-list responseThe run stops with an error; records pushed before the error can already be in the dataset.Review the run error and source availability, then run again.
The same post ID appears more than once while pagingOnly the first occurrence is pushed.No action needed.

FAQ

How much does it cost to scrape BKN publications?

Each scraped result costs $0.0035 on the Free plan, and each Actor Start costs $0.00005 on the Free plan. See the Pricing section for the worked example.

Why is my BKN dataset empty?

An empty dataset can occur when search matches no public BKN posts or when maxResults is supplied as zero or a negative value programmatically. Try removing search and use a positive maxResults.

What should I check if the run is not working?

Check the run error and confirm that the BKN public endpoint is available. An HTTP error, request timeout, non-JSON response, or non-list response stops the run. Then run it again.

This Actor reads public publication data from the official BKN website through its public WordPress REST endpoint and does not require a login. Whether a particular collection or use is allowed depends on the source terms, applicable law, and your use case, so review those requirements first; this Actor does not provide a legal guarantee.