Why monitor instead of re-scrape

Every time a scheduled scraper fetches a whole feed, it pays for rows it has already seen. On pay-per-event platforms that is not just wasted requests — it is wasted credits. I built a small Apify Actor to watch Hacker News incrementally and added a cost guard after reading the same complaint in several scraper reviews: "it devoured my credits, an early warning would have saved me."

What the Actor uses

No API key, no login, no proxy. It reads the official public Hacker News Firebase API and emits structured JSON: story id, title, url, score, author and timestamp.

Actor page: https://apify.com/daj8/hackernews-scraper-incremental

Step 1 — First run

Click "Try it" on the Store page and start with maxItems: 20 so the first run finishes quickly. Inspect the dataset — each item has id, title, url, score, by and time.

Step 2 — Understand the cost guard

Two input fields control cost:

  • maxChargeItems (1–500) caps the number of dataset writes per run.
  • dryRun: true previews results without pushing or advancing the checkpoint.

When a run is truncated, only the highest story id that was actually pushed advances the watermark. The remaining stories stay eligible for the next run instead of being silently skipped.

The registry lists $0.0003 per item (pay-per-event). Check the Store page for the current price.

Step 3 — Schedule and react

Use Apify Scheduler for the cadence you need. Connect the dataset to a webhook, Slack, email, a database or a BI tool. Each run writes LAST_RUN_SUMMARY to the key-value store with fetched and pushed counts — useful as a cheap health signal.

Step 4 — Know the limits

This is honest scope, not a marketing claim: deduplication happens within a run. Cross-run checkpointing is not reliable on this account because each API run gets a fresh key-value store. If you need true incremental state across runs, configure a persistent KV store at the platform level and feed its high-water mark back as input.

What I learned

A cheap scraper is not the same as a cheap monitor. The difference is whether truncation loses data and whether a runaway loop can spend your credits before you notice. Building the cap and the dry-run first, then the scraping logic, saved me from both problems.

If you want the source or want to tell me what fields you need next, the Actor page is the place: https://apify.com/daj8/hackernews-scraper-incremental