What Building a Trend Radar Taught Us About Public APIs
An engineering postmortem of a free API trend radar, refreshed with the 2026-11-16 run data: 20 sources, five stages, three filtering gates
What Building a Trend Radar Taught Us About Public APIs
The honest headline: free public APIs are good enough to power a daily trend radar, and nearly everything that decides whether the radar is useful happens after the HTTP request returns. Collecting twenty feeds is the easy part. Filtering, deduplication, scoring, and deciding when a single-source candidate deserves a second look is where this project actually lives.
In this article
- What the radar does today: 20 sources and five stages
- What the 2026-11-16 run actually captured
- The filtering stack: three gates before a name becomes an entry
- Endpoint lessons now written into the code
- How the radar scores and stages candidates
- What automation still cannot do
- Frequently asked questions
- Next step
This postmortem is for engineers and founders about to wire free public APIs into their own trend-watch, newsroom, or competitive-intelligence pipeline, and who want a concrete accounting of the failure modes before spending a week building one.
We published the first version of this piece in October 2026, when the pipeline polled eleven sources. This refreshed version reflects the current build: twenty source adapters, a rewritten Common Crawl fetcher, GDELT query fixes documented in code comments, and a first-party capture of the run from 2026-11-16, snapshotted on 2026-11-18. Every number below is either a constant from the pipeline source code, a measured value from that capture, or a conclusion labeled as ours.
What the radar does today: 20 sources and five stages
The radar's job is unchanged: poll free, mostly keyless endpoints once a day, extract candidate names of specific new things — models, products, tools, repos — and publish the ones worth watching on the /discover page. What changed is the width of the intake and the rigor downstream.
The first stage runs twenty adapters in parallel. Eleven are the core keyless set from the original build: GitHub search for new AI repos, Hacker News via Algolia, Hugging Face, npm, PyPI, crates.io, Google News RSS, GDELT, Dev.to, arXiv, and Wikipedia. Five are newer: the Stack Exchange search API, the Mastodon hashtag timeline, Mozilla Add-ons, OpenAlex, and community Discourse forums. The last four run under tighter rules — Common Crawl, Google autocomplete, the Google Trends RSS feed, and Shopify, which produces zero output by default because it only scans a hand-maintained store whitelist.
A few operating constants matter more than the source list:
- Concurrency is bounded: a thread pool of 12 workers, a 30-second timeout per source, and an overall collection window of 150 seconds.
- Retries are bounded: the shared HTTP helper allows a 20-second timeout and 2 retries (3 attempts), honoring Retry-After on 429 and 503 responses up to 30 seconds.
- The lookback is generous on purpose: the default window is 48 hours and the deduplication cutoff is four times that, 192 hours. Sources lag; the grace window absorbs the lag instead of losing first sightings.
One source filter carries a lot of the signal: Show HN posts are pulled with no keyword at all, using the Algolia tags filter with a points floor — the expression is literally points>2 — keeping zero-engagement posts out while letting day-one launches in.
After collection, the pipeline runs four more stages in a fixed order:
- Stage 1 DISCOVER: poll the free, keyless sources and collect raw observations.
- Stage 2 ENTITY: normalize candidate names into slug-keyed entities and deduplicate observations by a hash of source and external ID, so re-fetching the same post never creates a duplicate.
- Stage 3 VALIDATE: score every entity per run on corroboration, growth, and freshness; demand and competition arrive from Stage 4 when an entity qualifies.
- Stage 4 SEO GATE: run budgeted deep checks — Google autocomplete, Wikipedia existence, RDAP lookups across 7 common TLDs — on only the top 12 candidates by default.
A fifth, quieter stage persists run metadata, per-source status, and the entities, then syncs the strongest into the term feed (see the scoring section).
What the 2026-11-16 run actually captured
On 2026-11-18 we captured a snapshot of the 100 most recent discovery entities, all from the run stamped 2026-11-16T01-00Z. Reading raw output is the best antidote to over-claiming, so here is what it shows.
By category, the capture holds 43 repo entities, 42 terms, 10 products, and 5 models. By source, 43 entities came from GitHub, 18 from Mastodon, 13 from Dev.to, 10 from Google News, 9 from Hacker News, 5 from Hugging Face, 1 from Wikipedia, and 1 from Stack Exchange. Every one of the 100 sits in the observed stage — none had been corroborated by a second independent source within this snapshot.
That all-observed result is not a malfunction; it is the normal texture of a single 48-hour window, and its consequences get their own section below. The same capture shows the noise floor without flinching. Real entries from this run include:
- t investment. It — a phrase fragment sliced out of a Hacker News headline. The extractor caught a broken fragment, not a name.
- went dark and 897 Fake Followers — Dev.to article phrases that read like stories, not products.
- missconstrue — a handle observed in the captured Mastodon record quoting a mefi.social/@MissConstrue URL; the capture does not record how it was extracted.
- netbeans — an IDE name surfaced by a passing Mastodon mention titled 'Apache NetBeans IDE'.
- torch-machine-learning — a Wikipedia reference to an established framework, exactly what the gates should hold back.
- Zero-star repos such as ozcanm/LLMOps — newly created GitHub repositories with no adoption signal at all.
Alongside the noise sit genuine finds. The entity GeoXAI came from a Show HN post titled "Show HN: Aurora GeoXAI – Sovereign geospatial AI built out of frustration", first seen 2026-11-16 01:00:53 UTC with 3 upvotes at capture time. Its score breakdown is worth walking through line by line, and the scoring section does exactly that.
The filtering stack: three gates before a name becomes an entry
A candidate name must pass three gates, each built because of a specific failure we watched happen.
Gate 1 is extraction hygiene. Names are pulled with three patterns: quoted strings, CamelCase tokens, and a multiword leading phrase of consecutive capitalized words; clean_name() rejects a multiword fragment whose uppercase-letter ratio exceeds 60 percent while still allowing single-word acronyms. Headline extractions pass a 55-entry stopword list; slug-level extraction passes a 27-entry generic blacklist. An earlier version of this article described this as one blacklist of roughly 60 terms. The current code keeps two lists with different jobs, and we would rather correct ourselves than let a rounded number stand. Forum candidates face a narrower gate: a regex of 19 AI-adjacent keywords (ai, llm, gpt, chatgpt, claude, gemini, llama, agent, chatbot, rag, prompt, mcp, and their kin) decides whether a Discourse thread is even considered. In the October period, adding that gate cut Discourse candidates from roughly 50 per run to roughly 16 — a measured change we reported at the time.
Gate 2 is the standalone name gate, name_gate.py. It maintains seven hard-block groups — programming languages, frameworks and build tools, databases and infrastructure, major platforms and companies, established AI models, ML file formats and pipeline labels, and generic tech words — plus alias normalization and squashed variants, so next.js, NextJS, and nextjs all collide with the same blocklist entry. Structural heuristics reject version-shaped strings, URLs, hashtags, mostly-numeric tokens, metadata colons, and awesome-list names, each with a machine-readable reason code: version-like, url-like, hashtag, numeric, metadata-colon, curated-list, brand-compound. One deliberate exception matters: a compound of a known brand with a digit passes, because names in the style of qwen image 2.1 are precisely the kind of specific new thing the radar exists to catch.
Gate 3 is a batched LLM judge whose core instruction deserves quoting verbatim, because it encodes the whole philosophy: "judge whether the term is STRUCTURALLY a product-style name of one specific thing — NOT whether you have heard of it." A coined name the judge does not recognize should score high; a common word, a person's name, a headline, or an established brand alone should score low. Candidates below 0.8 are discarded, judging runs in batches of 30 at temperature 0.1, and if the model is unavailable the pipeline degrades to the hard gates rather than stalling.
One hygiene rule from the Mastodon adapter generalizes well: hashtags are stripped from post text before extraction because, as the code comment puts it, otherwise every trending hashtag becomes a fake entity.
Endpoint lessons now written into the code
The first version's most reusable section was the per-endpoint contract notes. The refresh: several of those lessons are now comments and logic in the source file, dated 2026-10-17.
GDELT's DOC API taught us three syntax rules the hard way, now written above the fetcher: group OR terms in parentheses, pass the time window via the startdatetime parameter, and strip the T and Z from GDELT's seendate format before treating it as a timestamp. The query also changed shape: it is now a phrase query for "AI agent", "AI tool", "AI model", or "LLM", because a bare OR of common words floods the results with unrelated news that merely contains the word tool. Rate discipline sits next to the request: about 1 request per 5 seconds, 429 responses on bursts, a page size of 50 records.
Common Crawl was rewritten, and the cause is more specific than the October version admitted. The old fetcher queried a hardcoded path (/cccrawl/search) that simply does not exist; the real CDX endpoint for each collection is listed in the collinfo.json index response. The new fetcher resolves collections from that index, falls back across 3 collections, and only issues prefix queries with an explicit prefix parameter, because bare wildcards are rejected. It also stopped pretending to know when pages were published: capture timestamps lag reality by weeks, so they are stored in metadata only. The October observation still stands as the reason this source is opportunistic rather than load-bearing: in that window, the CDX endpoints returned 502 or 504 errors for roughly half of all requests.
Domain checks run against RDAP for seven TLDs: com at rdap.verisign.com/com/v1/domain/, net at rdap.verisign.com/net/v1/domain/, org at rdap.publicinterestregistry.org/rdap/domain/, io and ai at rdap.identitydigital.services/rdap/domain/, and dev and app at pubapi.registry.google/rdap/domain/, with a 0.15-second pause between calls and a 404 treated as likely available. The .co TLD is deliberately excluded because the code documents it as having no reachable RDAP service — a missing answer there would be a false availability signal. Every base URL named in this article is HTTPS.
The remaining contracts are quota notes: GitHub search allows about 10 requests per minute unauthenticated; the Stack Exchange API allows 300 requests per day anonymously, or 10,000 with a key; Google autocomplete calls are spaced 1.2 seconds apart, use a brand-context pattern (a token combined with the word ai), and every returned suggestion passes through the name gate before becoming an entry.
How the radar scores and stages candidates
Every entity receives a score per run from five weighted sub-scores. The formula, verbatim from the source:
total = 0.30*corroboration + 0.25*growth + 0.20*freshness + 0.15*demand + 0.10*(1 - competition)
The sub-score mechanics are simple enough to audit by hand:
- Corroboration counts distinct sources and caps early: min of (n_sources / 3) and 1.0. Three or more sources is full marks; a fourth adds nothing.
- Growth is neutral at 0.5 for an entity's first run, then moves in 0.125 steps per source gained or lost between runs, capped at a change of 0.25 in either direction (±2 sources).
- Freshness decays linearly over a 30-day window: 1.0 minus hours-since-first-seen divided by 720, floored at 0.
- Demand comes from the SEO gate: autocomplete completion count divided by 8, capped at 1.0. An entity needs at least 2 completions to ever be called validated.
- Competition comes from RDAP: base 0.2, minus 0.10 if the .com is available, minus 0.05 per other available TLD with the available-TLD discount capped at 0.10, plus 0.02 per registered TLD capped at 0.12.
Stage labels are structural, not editorial. Observed means seen at least once. Corroborated means the entity's record shows 2 or more distinct sources. Validated means the Stage 4 gate passed, which requires at least 2 autocomplete completions. Archived means an exact-title Wikipedia entry exists — such an entity is never validated and its competition is forced to 1.0. When the SEO budget is tight, corroborated entities get the Wikipedia check first.
The worked example from the capture: GeoXAI had 1 source (Hacker News), was new this run, and had been first seen 0 hours before scoring.
0.30 × (1/3) + 0.25 × 0.5 + 0.20 × 1.0 + 0.15 × 0.0 + 0.10 × (1 − 0.0) = 0.525
That matches the stored total exactly, and the stored reasons array reads sources:hackernews, new this run, first seen 0h ago — a calculated confirmation that the deployed code implements the documented formula, not a claim that 0.525 means anything universal.
The honest caveat: the weights are heuristic. Nobody calibrated 0.30, 0.25, 0.20, 0.15, and 0.10 against outcomes; they encode our belief that independent mention beats momentum, momentum beats age, age beats demand, and demand beats domain availability. The pipeline publishes no ground-truth evaluation of whether top-scored candidates mattered, so we cannot quote one.
One downstream detail ties the discovery side to the term feed: only when the collector is invoked with both the --sync-terms flag and a database URL does it POST a Trends-ingest payload for the top 20 entities with at least two observations (excluding archived and established names), scored as min(observations / 50, 1.0) with each entity's trend series scaled to 10. Without both flags no sync happens. The feed is visible on our trends page, and the scoring model in its product-facing form is described on the methodology page.
What automation still cannot do
The refreshed data sharpens the original conclusion rather than overturning it.
Noise is bounded, not eliminated. The gates catch version strings, blocklisted words, and brand compounds, but fragments like t investment. It still pass, because the word it is not on any stopword list and the fragment is structurally name-shaped. This is the visible cost of extraction-first design: recall is cheap to tune, while precision requires reading context — which is what the LLM judge does, downstream, for candidates that survive this far.
Name variants fragment the evidence. Our captured term feed from 2026-11-06 tracks sshhole (from Lobste.rs) and sshole (from Hacker News) as two separate entries, both pointing at the same site, sshhole.com. Corroboration counts distinct sources, but two spellings of one name never meet inside the same entity. A fuzzy merge would fix such cases and introduce its own false merges; we have not shipped one, and we are not pretending the problem is solved.
Corroboration trades latency for confidence. Waiting for a second independent source is the best noise filter this pipeline has, and it is also a delay: everything in the 2026-11-16 snapshot was single-source, so everything waited. The radar's value is early sighting, and the stage system is honest about the price — observed entries are labeled unconfirmed rather than quietly promoted.
Demand signals arrive after attention, not before it. The validated stage requires people to already be typing the name into Google autocomplete — a reasonable confirmation mechanism and a poor early-warning mechanism, one reason demand carries a smaller weight and why the radar never claims to predict breakouts.
And there is no ground truth. The pipeline does not publish per-day ingest totals, uptime, or outcome evaluations, so claims in the style of "the radar catches 90 percent of real launches" cannot be made by us and should not be repeated by anyone citing us. What we can attest to is what the code does and what dated captures show, which is exactly what this article restricts itself to.
Frequently asked questions
How many sources does the pipeline use, and do any need API keys?
Twenty adapters run in the current build. All are free, and every core source is keyless; a GitHub token and an OpenAlex key are optional and only raise rate limits. Shopify scanning stays disabled unless a store whitelist is configured, so it produces zero output by default.
What stops generic words like "ai tool" from becoming entries?
Three layers: extraction stopword lists (55 entries for headlines, 27 for slugs), the name gate's seven hard-block groups plus structural heuristics such as version-like and url-like checks, and a batched LLM judge that discards candidates scoring below 0.8 as not name-shaped.
Why are almost all entries in the observed stage?
Observed means seen once. Moving to corroborated requires a second distinct source on the entity's record, and in the 2026-11-16 capture all 100 entities were single-source. Most genuine new names spend their first day there; that is the confidence-latency tradeoff working as designed.
Can the radar predict which new term will break out?
No. Scores rank candidates by corroboration, growth, freshness, demand, and domain competition, and those weights are heuristic rather than calibrated against outcomes. The radar surfaces early sightings with their evidence attached; it does not publish a forecast of which sightings will matter.
Next step
Want to see the machinery's output rather than its blueprint? The discover page lists every candidate the latest run surfaced, each with its stage, score breakdown, SEO signals, and domain checks, so you can judge the same captures this article walked through.
See what is emerging right now
The radar mines 17 public sources every six hours and keeps the candidates that more than one source confirms.
Free to start. No card required.
Free forever. Unsubscribe anytime.
Related reading
- ai-trendsInside the corroboration funnel: what makes a term emergingDistinct sources, not mention volume, decide what we call an emerging term: the observed-to-corroborated-to-validated funnel behind our /discover feed.
- ai-trendsNew Term Radar vs Google Trends: Two Tools, Two QuestionsGoogle Trends shows established search demand. New Term Radar records newly surfaced tool names and leaves query demand unmeasured until checks run.
- ai-trendsHow to Build an Emerging AI Terms WatchlistBuild an AI terms watchlist from public sources: collect observations, filter names, score corroboration, and review a shortlist on a fixed cadence.
- ai-toolsOpen-Source AI Tools Worth Watching This QuarterRepository-backed AI tools refreshed against the November 21, 2026 capture: how the October shortlist reads one month on, and the six projects this cycle adds.