Back to blog
·4 min readAPI Workflows

News monitoring APIs: alert on a new story, not another URL

Explore API use cases

All Them APIs

Independent API research

One announcement can appear as a company release, several syndicated articles and a dozen search results. A news monitoring API that sends each URL as a fresh event creates a busy inbox without much new information.

Build two layers: an article store that records what was collected, and a review queue that groups related coverage without erasing the original publishers. The useful output is a source-linked change worth reviewing, not a claim that every new search hit is breaking news.

Decide whether the job needs a news feed or web discovery

A dedicated news API and a general web-search API can have different source coverage, date controls and content rights. Start with the news-provider comparison. If the watchlist includes company documentation, releases and non-news pages, inspect the search API directory as a separate discovery path.

Perplexity Search's reference distinguishes publication and last-update dates, and notes that publication dates can be missing. Parallel's Search quickstart describes objective-and-query retrieval. Neither a current retrieval time nor a recently returned result establishes when the underlying event happened.

Keep three clocks

Store publication time when available, the first time your monitor observed an article, and the latest successful collection time. If a supplier provides an update time, preserve that too without substituting it for publication.

Schedule a small overlap between collection windows so delayed indexing does not create a gap. The overlap will return old articles again; that is why the persistent article identity comes before alerting. Commit a cursor or watermark only after its records are durably stored.

Normalize tracking parameters, not article identity

Prefer a provider's stable article ID and a verified canonical URL where available. For a URL fallback, remove only known tracking parameters. Parameters such as an article ID, language or page number can be meaningful.

function articleUrlKey(value) {
  let url;
  try { url = new URL(value); } catch { return null; }
  if (url.protocol !== "https:" || url.username || url.password) return null;
  url.hash = "";
  for (const key of ["utm_source", "utm_medium", "utm_campaign", "utm_content"]) {
    url.searchParams.delete(key);
  }
  return url.href;
}

This local normalization example makes no request. It deliberately does not merge two publishers carrying similar text. Keep those as separate article records, and attach a provisional shared story label only after comparing their sources and event details.

Separate a new article from a material update

OutcomeQueue behavior
Same article and relevant contentUpdate successful-check metadata; no new alert
New URL describing a known storyAdd coverage to the existing review item
Material correction or new factQueue an update with before/after evidence
Collection failurePreserve the prior record and mark coverage incomplete
Missing publication dateRetain an explicit unknown; do not backdate it

An article disappearing from a result page is not proof of deletion. Likewise, a new headline does not prove that the underlying facts changed. The website change-monitoring guide covers maintaining a baseline for known pages.

Write a short, checkable brief

Ask for the event, supporting URLs, publication times or unknowns, and what changed since the previous review. Keep allegations attributed to their sources. Require a reviewer before publishing a public summary or sending an external message.

Monitor the approved entities, source set and collection windows.
Deduplicate articles, then group related coverage without dropping publishers.
Distinguish publication, first-observed and updated times.
Summarize only supported new facts or material corrections.
Preserve gaps, stop at the request budget and queue findings for review.
Do not automatically post, email, or infer revenue and market share.

Test tracking-parameter variants, articles with the same title, a correction to an old story and a page repeated in overlapping windows. Retrying the same batch must not create another alert. Count all discovery pages, follow-up reads and retries when comparing providers.

Confirm the supplier's permitted storage and display terms before saving full article bodies. Metadata access does not automatically include redistribution rights. When a brief needs a sourced answer rather than an alert, use the web RAG evidence workflow and retain the same source references.