API
API reference
The coverage-metadata endpoints — authentication, rate limits, every parameter and field, with examples. Both examples show the same real story. Stories are kept for 60 days, so its id will stop working. The open story feeds need no key and are listed at /api.json.
Two layers
The open layer — the story feeds, country editions, RSS and the MCP server — is free, unmetered and needs no key. This page documents the metered layer: the propagation record, which is what a key unlocks. Three endpoints, all authenticated, all JSON.
Call the metered endpoints from a server, not a browser. A browser sends a preflight OPTIONS request before any call carrying an Authorization or x-api-key header, and these endpoints answer it with 405, so the browser blocks the real call. That also keeps your key out of page source and browser extensions. The open feeds are different: they need no header, so a plain fetch from any web page can read them (Access-Control-Allow-Origin: *).
| Endpoint | Returns | Plan |
|---|---|---|
GET /api/propagation.json | What is spreading fastest now, ranked by how many outlets carry it | any key |
GET /api/coverage/{id}.json | The full propagation record for one story | any key |
GET /api/bulk/coverage.json | Coverage records for up to 500 stories in one request | Desk |
Authentication
Send your key in the Authorization header on every request:
curl -H "Authorization: Bearer un_your_key_here" \
"https://urgent.news/api/propagation.json?hours=24"
An x-api-key: un_… header is accepted as an alternative. Never put the key in the URL — query strings land in server logs, browser history and Referer headers. Keys are issued instantly at /keys, never expire, and an account may hold up to 10. A missing or bad key does not fail the open endpoints — it is served at the anonymous tier; on the metered endpoints it returns 401, or 503 if the key could not be checked at all.
Rate limits
Calls are counted per account, per UTC day — pooled across all your keys, not per key. Every metered response that reaches the meter — a success, a 404, a 429, or a 503/500 after the meter — reports where you stand. A 403 for a plan that cannot make the call is refused before the meter, is not counted, and carries only x-plan and x-key-status:
| Response header | Meaning |
|---|---|
x-plan | The plan that answered: open (the free key), signal or desk |
x-ratelimit-limit | Your daily allowance |
x-ratelimit-remaining | Calls left today |
x-key-status | ok, or why a key resolved to a lower tier (e.g. unknown-key) |
Allowances: Free key (plan id: open) 1,000/day · Signal 25,000/day · Desk 250,000/day (see /pricing). Over the limit is a clean 429 with the reset time — never a silently truncated result. The keyless story feeds are not counted. Responses are Cache-Control: private, no-store and vary by key: cache them locally per key if you cache at all, never in a shared cache.
GET /api/propagation.json
The stories moving fastest across outlets right now, ranked by distinct outlet count. This is the discovery endpoint — use it to find clusters, then follow each coverage link for the full record.
| Parameter | Default | Range | Notes |
|---|---|---|---|
hours | 24 | 1 – 168 | Look-back window. Capped by plan: free key 24h, Signal/Desk up to 168h. Ask for more than your plan allows and the response tells you it was capped. |
min_outlets | 3 | 2 – 50 | Only clusters carried by at least this many outlets. |
limit | 25 | 1 – 100 | Maximum clusters returned. |
Example — GET https://urgent.news/api/propagation.json?hours=24&min_outlets=4&limit=1
{
"self": "https://urgent.news/api/propagation.json",
"window_hours": 24,
"min_outlets": 4,
"generated": "2026-11-28T01:00:00.000Z",
"count": 1,
"stories": [
{
"cluster_id": 22256311,
"title": "US disables ship in Gulf of Oman under Iran blockade",
"url": "https://urgent.news/2026/11/27/us-disables-ship-in-gulf-of-oman-under-iran-blockade",
"outlets": 8,
"outlets_in_window": 8,
"outlets_discovered": 0,
"countries": 7,
"first_seen": "2026-11-27T18:12:03.000Z",
"latest_seen": "2026-11-28T00:10:24.000Z",
"span_hours": 5.97,
"velocity_outlets_per_hour": 1.34,
"coverage": "https://urgent.news/api/coverage/22256311.json"
}
],
"plan": "signal",
"disclaimer": "…"
}
The window chooses and ranks the stories: outlets_in_window is the number of outlets that filed inside it, and it is what min_outlets and the order use. Every other figure — outlets, outlets_discovered, countries, first_seen, latest_seen, span_hours, velocity_outlets_per_hour — describes the story's whole coverage, so it matches the story's coverage record. countries counts distinct country codes; a source with no country is not counted.
When your requested hours exceeds your plan cap, the response adds window_capped_from, window_cap_reason and an upgrade pointer, and window_hours reflects what you actually got.
GET /api/coverage/{id}.json
The complete propagation record for one story, keyed by its cluster_id (or any story id in the cluster). Takes no query parameters. Stories are kept for 60 days.
Example, the same story as above — GET https://urgent.news/api/coverage/22256311.json
{
"story": { "id": 22256311, "title": "US disables ship in Gulf of Oman under Iran blockade", "url": "https://urgent.news/2026/11/27/us-disables-ship-in-gulf-of-oman-under-iran-blockade" },
"cluster_id": 22256311,
"outlets": 8,
"outlets_capped": false,
"outlets_independent": 8,
"outlets_discovered": 0,
"countries": 7,
"first_seen": "2026-11-27T18:12:03.000Z",
"latest_seen": "2026-11-28T00:10:24.000Z",
"span_hours": 5.97,
"velocity_outlets_per_hour": 1.34,
"by_country": [ { "country": "KR", "name": "South Korea", "outlets": 1 }, { "country": "IL", "name": "Israel", "outlets": 1 }, … ],
"by_tier": [ { "tier": "news", "outlets": 7 }, { "tier": "community", "outlets": 1 } ],
"timeline": [
{
"outlet": "The Korea Times",
"slug": "the-korea-times-koreatimes",
"domain": "koreatimes.co.kr",
"country": "KR",
"tier": "news",
"first_seen": "2026-11-27T18:12:03.000Z",
"minutes_after_first": 0,
"discovered": false
},
{
"outlet": "Arutz Sheva - Israel National News",
"slug": "arutz-sheva-israel-national-news",
"domain": "israelnationalnews.com",
"country": "IL",
"tier": "news",
"first_seen": "2026-11-27T19:30:07.000Z",
"minutes_after_first": 78,
"discovered": false
}, …
],
"plan": "signal",
"disclaimer": "…"
}
A story that is unknown, hidden or older than 60 days returns 404 {"error":"unknown story"}. The call still counts against your quota, and the 404 carries the rate-limit headers. A story not yet grouped with others reports its own outlet: outlets: 1 (or outlets_discovered: 1) and a one-entry timeline. countries counts distinct country codes; an outlet whose source has no country is listed in by_country under "country": null and is not counted.
GET /api/bulk/coverage.json — Desk plan
The coverage record — timelines included — for many stories in a single request, so a caller ingesting a window of news makes one call instead of one per story. Requires the Desk plan; other keys receive 403.
| Parameter | Default | Range | Notes |
|---|---|---|---|
hours | 24 | 1 – 168 | Look-back window (Desk allows the full 168h). |
min_outlets | 2 | 2 – 50 | Only clusters with at least this many outlets. |
limit | 100 | 1 – 500 | Maximum stories returned. truncated: true in the response means the result reached limit, so more may have matched. It is also true when exactly limit matched; to be sure you have everything, raise limit or narrow hours until it is false. |
Each entry in stories[] carries cluster_id, title, url, outlets, outlets_discovered, countries, first_seen, latest_seen, span_hours, velocity_outlets_per_hour and a full timeline. It is not the full coverage shape: there is no outlets_independent, by_country or by_tier, and title/url are flat rather than a story object. For the corroboration figure, call coverage for the stories you need it on.
Field glossary
| Field | What it means |
|---|---|
outlets | Distinct outlets this pipeline polled that carried the story. This is the headline "N outlets" figure. |
outlets_capped | true when outlets is 12 or more. A story stops taking outlets at 12 and later reports start a new story, so read the figure as "12 or more". On coverage only. |
outlets_independent | Of those outlets, how many filed text of their own rather than running the same copy. Outlets whose publisher text overlaps another's are treated as one filing, so a wire item on forty sites counts once. outlets is breadth; this is corroboration. An outlet whose text could not be compared is counted as distinct. |
outlets_discovered | Additional outlets seen in the discovered corpus (a wider crawl) rather than polled directly. Reported separately because it carries a different clock — do not add the two into one figure. Discovery was retired on 21 Nov 2026: the field stays in the response, only stories discovered before then can report a non-zero value, and every newer story reports 0. |
countries | Distinct countries among the carrying outlets (ISO-3166 alpha-2). |
span_hours | Hours between the first and last outlet filing. |
velocity_outlets_per_hour | Outlets per hour across the span. null — never Infinity — when every outlet filed in the same instant. |
minutes_after_first | In the timeline: minutes between the first outlet and this one. The corroboration clock. |
discovered | true if this outlet came from the discovered corpus rather than a direct poll. Retired with discovery on 21 Nov 2026: newer stories report false for every outlet. |
tier | Our ingest setting for the outlet: news, wire or community. It is not a kind of outlet. |
A note on honesty: outlets is not reprint-adjusted — a wire story and every outlet that reprints it verbatim each count once, so read it as breadth. outlets_independent is the corroboration figure: filings whose publisher text matches another's are collapsed into one. It is computed by comparing ten-word sequences, so it separates verbatim syndication from independent write-ups and will not detect a reprint that has been substantially rewritten. Where an outlet's text is unavailable to compare, it is counted as distinct — that direction overstates independence rather than hiding it.
Errors
| Status | When | Body |
|---|---|---|
401 | No key, or an unrecognised one, on a metered endpoint | error: "api key required" + a get_one pointer |
429 | Daily quota exhausted | error: "daily quota exceeded" + used, limit, resets (ISO), upgrade |
403 | Bulk endpoint on a non-Desk plan | error: "plan does not include bulk export" + upgrade |
404 | Story unknown, hidden or older than 60 days, on the coverage endpoint | error: "unknown story" |
503 | Your key could not be checked just now; it is still valid | error: "temporarily unavailable", with a retry-after header in seconds |
503 | The database was briefly overloaded while answering | error: "temporarily unavailable", with retry-after and the rate-limit headers. The unit this call was charged is refunded when the refund can be written; detail says whether it was. |
500 | Any other server error while answering | error: "internal error", with the rate-limit headers and the same refund. Retry with backoff (for example 2, 4, 8 seconds). |
Changes
Customer-visible changes to the metered layer, newest first. There is no API version number; this list is the record.
| Date | Change |
|---|---|
| 1 Dec 2026 | coverage adds outlets_capped: true when the story has reached the 12-outlet limit of one group, so outlets is a floor. No number changed. The open feeds and /api/story/{id}.json carry the same flag. |
| 21 Nov 2026 | propagation reports each story's whole coverage rather than only the part inside the window, and adds outlets_in_window, the count the ranking uses. countries no longer counts sources with no country, on coverage and bulk (by_country lists them under null, not "??"). Bulk counts an outlet we poll as polled even when the wider crawl found it first. Titles are the English headline the open feeds show. A story not yet grouped reports its own outlet instead of outlets: 0. A server error on a metered call is JSON with the rate-limit headers and refunds the call. A bulk 403 is no longer counted. Discovery through the wider crawl was retired: outlets_discovered and discovered keep their names and shapes, and stories discovered after this date report 0 and false. |
| 16 Nov 2026 | Stories are kept for 60 days. A coverage request for an older story returns 404 with error: "unknown story", and still counts against your quota. |
| 10 Nov 2026 | When your key cannot be checked (a database blip), the metered endpoints return 503 with retry-after: 30 and x-key-status: lookup-failed. They used to return 401, which looked like a revoked key. |
| 10 Nov 2026 | The bulk section now lists the fields each stories[] entry carries. It used to say the entries had the same shape as a coverage response; they never carried outlets_independent, by_country or by_tier. The response itself did not change. |
| 16 Aug 2026 | Daily quota counted per account, pooled across all its keys, rather than per key. The propagation window is capped by plan. |
A worked example
Find what is spreading, then pull the full record for the top story:
# 1. what is moving right now
curl -H "Authorization: Bearer un_…" \
"https://urgent.news/api/propagation.json?hours=6&min_outlets=5"
# 2. take a cluster_id from the response and get its record
# (22256311 is the story shown above; use an id from step 1)
curl -H "Authorization: Bearer un_…" \
"https://urgent.news/api/coverage/22256311.json"
Using the data
Use it in your products, research and reporting, including commercially. Please attribute urgent.news as the source of the coverage data, keep the publisher links intact where you show individual stories, and don't present machine-written summaries as human reporting. The full terms are at /terms. Every response carries a disclaimer field saying which text is machine-written from other outlets' reporting, and the story feeds label each record with summary_source and ai_generated (see /api).