WIZER Data API
A REST API over JSON for Indian news in English and Hindi. You get articles with AI tags, the listed companies they name, and the story each belongs to, with volume, velocity and top coverage links. You never get full article text: every record links to its publisher.
https://api.wizerdata.co/v1.Try the data before you have a key: the sample explorer shows 173 real records exactly as the API returns them.
Quickstart
- Request a key. Explore keys are free and need no card.
- Store it in an environment variable:
export WIZER_API_KEY=wz_live_…(PowerShell:$env:WIZER_API_KEY="wz_live_…"). - Run one of these. Each prints the five newest business stories that name a listed company.
curl -s "https://api.wizerdata.co/v1/stories?category=business&sort=recent&limit=5" \
-H "X-API-Key: $WIZER_API_KEY" | jq '.results[] | {headline, related_count, companies: [.companies[]?.nse_symbol]}'
# pip install requests
import os, requests
r = requests.get(
"https://api.wizerdata.co/v1/stories",
params={"category": "business", "sort": "recent", "limit": 5},
headers={"X-API-Key": os.environ["WIZER_API_KEY"]},
timeout=10,
)
r.raise_for_status()
for s in r.json()["results"]:
print(s["related_count"], s["headline"])
// Node 18+ (built-in fetch). Save as quickstart.mjs and run: node quickstart.mjs
const url = new URL("https://api.wizerdata.co/v1/stories");
url.search = new URLSearchParams({ category: "business", sort: "recent", limit: "5" });
const res = await fetch(url, { headers: { "X-API-Key": process.env.WIZER_API_KEY } });
if (!res.ok) throw new Error(`${res.status} ${await res.text()}`);
const { results } = await res.json();
for (const s of results) console.log(s.related_count, s.headline);
Authentication
Send your key in the X-API-Key header on every request. Keys start with wz_live_; test keys start with wz_test_ and return the sample dataset without counting against your quota.
Keep keys on your server. If a key leaks, rotate it from the dashboard: the old key stops working within a minute. Requests over plain HTTP are refused.
Get news for a company
Pass an NSE symbol, BSE code or ISIN. All three resolve to the same company.
curl -s "https://api.wizerdata.co/v1/articles?company=COALINDIA&from=2026-11-01T00:00:00Z&limit=20" \ -H "X-API-Key: $WIZER_API_KEY"
Each article's companies array tells you which mention matched. For attention over time, use /companies/{id}/stories, which returns one row per story rather than per article.
Follow a story
Every article carries story.story_id. Fetch the story to see its summary, volume, velocity and top 5 links; on Enterprise, page through every member article.
curl -s "https://api.wizerdata.co/v1/stories/1073010" -H "X-API-Key: $WIZER_API_KEY" curl -s "https://api.wizerdata.co/v1/stories/1073010/articles?limit=100" -H "X-API-Key: $WIZER_API_KEY" # Enterprise
Find breaking stories
A story is flagged breaking when its 15-minute velocity passes the 99th percentile of the last 7 days for its category. Poll every minute, or use the stream on Enterprise.
curl -s "https://api.wizerdata.co/v1/stories?breaking=true&sort=velocity&limit=10" -H "X-API-Key: $WIZER_API_KEY"
Stream new articles Enterprise
The stream is plain server-sent events. Each event is one JSON record. Reconnect with the Last-Event-ID header and you get what you missed, up to 24 hours back.
curl -N "https://api.wizerdata.co/v1/stream?category=business&language=en,hi" -H "X-API-Key: $WIZER_API_KEY"
event: article
id: 1794988662-0001
data: {"article_id":"wz_1886016","title":"…","story":{"story_id":970412,"related_count":52}}Endpoints
All endpoints are GET, return JSON, and accept the filters described below. Plan labels show the lowest plan that can call each one.
GET/articlesAll plans
Articles matching your filters, newest first, each with its story block. Returns: Page of Article records.
| Parameter | In | Type | Description |
|---|---|---|---|
q | query | string | Keywords or a phrase in quotes. Matches title, description, summary and entities. |
category | query | string | Comma-separated categories, for example business,politics. |
language | query | string | Comma-separated ISO 639-1 codes, for example en,hi. |
state | query | string | Indian state named in the article, for example Maharashtra. |
company | query | string | NSE symbol, BSE code or ISIN. Comma-separated for several. |
source | query | string | Publisher ids, comma-separated, for example economictimes.indiatimes.com. |
sentiment | query | string | positive, neutral or negative. |
from | query | datetime | Earliest first_seen, ISO 8601. Defaults to 24 hours ago. |
to | query | datetime | Latest first_seen, ISO 8601. Defaults to now. |
include | query | string · default story | story to embed the story block, or none. |
limit | query | integer · default 20 | Records per page, 1 to 100. |
cursor | query | string | Opaque cursor from the previous page's next_cursor. |
GET/articles/{article_id}All plans
One article by id. Returns: Article record.
| Parameter | In | Type | Description |
|---|---|---|---|
article_id required | path | string | For example wz_1886016. |
GET/storiesAll plans
Stories (clusters of articles about one event), sorted by volume, velocity or recency. Returns: Page of Story records. Explore gets 3 top links; volume and velocity need Build.
| Parameter | In | Type | Description |
|---|---|---|---|
q | query | string | Keywords or a phrase in quotes. Matches title, description, summary and entities. |
category | query | string | Comma-separated categories, for example business,politics. |
language | query | string | Comma-separated ISO 639-1 codes, for example en,hi. |
state | query | string | Indian state named in the article, for example Maharashtra. |
company | query | string | NSE symbol, BSE code or ISIN. Comma-separated for several. |
source | query | string | Publisher ids, comma-separated, for example economictimes.indiatimes.com. |
sentiment | query | string | positive, neutral or negative. |
from | query | datetime | Earliest first_seen, ISO 8601. Defaults to 24 hours ago. |
to | query | datetime | Latest first_seen, ISO 8601. Defaults to now. |
sort | query | string · default recent | recent, volume, velocity or rising. |
breaking | query | boolean | Only stories flagged breaking. |
limit | query | integer · default 20 | Records per page, 1 to 100. |
cursor | query | string | Opaque cursor from the previous page's next_cursor. |
GET/stories/{story_id}All plans
One story with summary, volume, velocity and top related links. Returns: Story record.
| Parameter | In | Type | Description |
|---|---|---|---|
story_id required | path | integer | For example 970412. |
GET/stories/{story_id}/articlesEnterprise
Every article in the story: full cluster membership, oldest first. Returns: Page of Article records.
| Parameter | In | Type | Description |
|---|---|---|---|
story_id required | path | integer | Story id. |
limit | query | integer · default 20 | Records per page, 1 to 100. |
cursor | query | string | Opaque cursor from the previous page's next_cursor. |
GET/companies/{id}/storiesAll plans
Stories that name a listed company, newest first, with attention counts. Returns: Page of Story records.
| Parameter | In | Type | Description |
|---|---|---|---|
id required | path | string | NSE symbol, BSE code or ISIN, for example COALINDIA. |
from | query | datetime | Earliest first_seen. |
limit | query | integer · default 20 | Records per page, 1 to 100. |
cursor | query | string | Opaque cursor from the previous page's next_cursor. |
GET/streamEnterprise
Server-sent events: one event per new article or story update that matches your filters. Returns: text/event-stream of Article and Story events.
| Parameter | In | Type | Description |
|---|---|---|---|
q | query | string | Keywords or a phrase in quotes. Matches title, description, summary and entities. |
category | query | string | Comma-separated categories, for example business,politics. |
language | query | string | Comma-separated ISO 639-1 codes, for example en,hi. |
state | query | string | Indian state named in the article, for example Maharashtra. |
company | query | string | NSE symbol, BSE code or ISIN. Comma-separated for several. |
source | query | string | Publisher ids, comma-separated, for example economictimes.indiatimes.com. |
events | query | string · default article | article, story or both. |
GET/sourcesAll plans
Publishers we cover, with languages, tier and type. Returns: Page of Source records.
| Parameter | In | Type | Description |
|---|---|---|---|
limit | query | integer · default 20 | Records per page, 1 to 100. |
cursor | query | string | Opaque cursor from the previous page's next_cursor. |
Pagination
List endpoints return {"results": [...], "next_cursor": "…" | null, "count": n}. Pass next_cursor back as cursor until it is null. Cursors are stable: new articles arriving while you page do not shift or duplicate results.
Rate limits and quotas
| Plan | Requests per month | Per minute | History |
|---|---|---|---|
| Explore | 5,000 | 60 | 30 days |
| Build | 100,000 (250,000 on USD plans), then overage | 300 | 12 months |
| Enterprise | 2,000,000+ | Custom | Full archive |
Every response carries X-RateLimit-Limit, X-RateLimit-Remaining and X-Quota-Remaining. On 429, wait for the seconds in Retry-After. Rejected calls are not billed.
Errors
Errors return a JSON body: {"error": {"code": "plan_required", "message": "…", "request_id": "req_…"}}. Quote the request_id when you contact us.
| Status | Code | Meaning and fix |
|---|---|---|
| 400 | invalid_parameter | A parameter is missing or malformed. The message names it. |
| 401 | unauthorized | No API key, or the key is wrong. Send X-API-Key. |
| 403 | plan_required | Your plan does not include this endpoint or field. The message names the plan. |
| 404 | not_found | No article, story or company with that id. |
| 429 | rate_limited | Too many requests. Wait for the seconds in Retry-After. |
| 500 | internal_error | Our fault. Retry with backoff; we are alerted automatically. |
| 503 | unavailable | Planned maintenance or overload. Retry after Retry-After. |
Record schema
Coverage percentages are measured on the current sample. Fields marked new go beyond what typical news APIs return. There is no field for article text, by design.
| Field | Type | Description | In sample |
|---|---|---|---|
| Article | |||
article_id | string | Stable WIZER id, prefixed wz_. | 100% |
link | url | Canonical publisher URL. The article body stays with the publisher. | 100% |
title | string | Headline as published. | 100% |
description | string | null | The publisher's own meta description, at most 300 characters. | 78.0% |
image_url | url | null | Lead image URL declared by the article page. We link to it and never re-host it. | 79.8% |
video_url | url | null | Embedded video URL, when the page declares one. | when present |
creator | string[] | Named authors from the page's structured data. Desk and bureau bylines are dropped. | 56.1% |
keywords | string[] | Publisher keywords, topped up with the article's leading entities. | 98.3% |
language | string | ISO 639-1 code detected from the text: en, hi, and regional languages. | 100% |
country | string[] | Country of the publisher. | 100% |
pubDate | datetime | Publisher's timestamp, UTC ISO 8601. | 100% |
first_seennew | datetime | When WIZER first saw the URL, UTC ISO 8601. | 100% |
detection_lag_minnew | number | null | Minutes from pubDate to first_seen. Large for articles a publisher lists late. | when pubDate known |
source | object | id, name, domain, url, icon, tier (1 is the most-read) and type (news, wire, official, global). | 100% |
| AI enrichment | |||
ai_summary | string | null | One factual sentence written by WIZER's model from the article. Not publisher text. | 91.3% |
category | string | One of 13 domains: business, politics, world, crime, sports, cricket, entertainment, health, education, environment, technology, crypto, general. | 100% |
category_confidence | number | Model probability for the category, 0 to 1. | 100% |
category_alsonew | string[] | Up to two secondary categories. | 100% |
article_typenew | string | report, opinion, live_blog, press_release, analysis_explainer, digest or video_photo. | 100% |
sentiment | object | label (positive, neutral, negative) and score. | 100.0% |
sensationalismnew | number | How sensational the framing is, 0 to 1. | 100% |
entities | object | organizations, people and places named in the article. | 97.7% |
geonew | object | countries, Indian states and places named. States are resolved from cities and districts. | 25.4% |
duplicate | boolean | True when the same publisher already ran this headline in the story. | 100% |
wire_reprintnew | boolean | True for agency copy (PTI, ANI, IANS, UNI). Counted as amplification, not new reporting. | 100% |
| Market | |||
companiesnew | object[] | Listed companies the article names: name, mention, nse_symbol, bse_code, isin, sector, industry. | 28.9% |
| Story | |||
story.story_idnew | integer | The event this article belongs to, across publishers and languages. | 100% |
story.headlinenew | string | Representative headline for the story. | 100% |
story.summarynew | string | null | Two-sentence factual summary of the whole story. | most stories |
story.related_countnew | integer | Number of other articles on the same story. | 100% |
story.volumenew | object | articles, publishers, wire_reprints and languages. | 100% |
story.velocitynew | object | v15 and v60 (publisher-weighted new coverage per hour), acceleration, peak_v60, peak_at, breaking. | 100% |
story.top_relatednew | object[] | Up to five coverage links from different publishers: title, source_name, link, language, first_seen. | 100% |
story.articlesnewEnterprise | endpoint | Full cluster membership and a live stream of new members. | API only |
Time, languages and ids
- All timestamps are UTC, ISO 8601. India is UTC+05:30; convert on display.
pubDateis the publisher's claim;first_seenis ours and never changes. Usefirst_seenfor anything time-critical.- Languages are ISO 639-1 codes detected from the text:
en,hi, and regional codes when present. - Article ids are stable strings (
wz_…). Story ids are integers and never reused.
OpenAPI and Postman
The machine-readable contract and a ready-made collection are generated from the same source as this page.
Changelog
Public schema published: companies with NSE, BSE and ISIN; Indian states; wire_reprint; story velocity and top 5 links. OpenAPI and Postman collection added.
Story clustering re-tuned: B-cubed F1 0.868 on held-out English and Hindi stories. Entity tagging v1 (strict F1 0.815) live.
Fine-tuned category model live: 89.4% on the double-labelled gold set once the article body arrives.