Press Monitor
This guide explains how to use the Wikidata NewsFlow API to fetch headlines, briefs, full text, and rich metadata for any Wikidata entity via its wikidata_id
(e.g., Q90
for Paris). It mirrors the endpoints and parameters in the attached OpenAPI spec and includes ready-to-run cURL examples.
https://api.pressmonitor.com/news-wikidata/v1
Send your key and subscription in the Authorization header:
-H "Authorization: Bearer YOUR_SECRET_KEY:SUBSCRIPTION_ID"
Format per spec: Bearer
secret_key:subscription_id
wikidata_id
(string, required) β e.g., Q42
country_code
(string, optional) β source-country filter (ISO-3166-1 alpha-2, CSV accepted by backend if enabled) lang_code
(string, optional) β content language filter (ISO-639-1) count
(int, optional, default=20) β page size sort
(string, optional: relevance
| latest
) β ranking mode (publish-time vs semantic) search_after
(string, optional) β pagination cursor (only with sort=latest
) /news-headlines
What: Recent headlines for a Wikidata entity.
Params: wikidata_id
(required), country_code
, lang_code
, count
, sort
, search_after
Envelope: EnvelopeHeadlines
β { items: NewsHeadlineItem[], credits, next }
Example:
curl -s "https://api.pressmonitor.com/news-wikidata/v1/news-headlines?wikidata_id=Q90&count=10&sort=latest" -H "Authorization: Bearer YOUR_SECRET_KEY:SUBSCRIPTION_ID"
/news-briefs
What: Headlines + short AI-generated summaries.
Params: same as /news-headlines
Envelope: EnvelopeBriefs
β { items: NewsBriefItem[], credits, next }
Example:
curl -s "https://api.pressmonitor.com/news-wikidata/v1/news-briefs?wikidata_id=Q90&count=10" -H "Authorization: Bearer YOUR_SECRET_KEY:SUBSCRIPTION_ID"
/news-fulltext
What: Full article content.
Params: same as /news-headlines
Envelope: EnvelopeFulltext
β { items: NewsFulltextItem[], credits, next }
Example:
curl -s "https://api.pressmonitor.com/news-wikidata/v1/news-fulltext?wikidata_id=Q90&count=5" -H "Authorization: Bearer YOUR_SECRET_KEY:SUBSCRIPTION_ID"
/news-fulltext-metadata
What: Full article + enriched metadata (Wikidata links, entities, IPTC Media Topics).
Params: same as /news-headlines
Envelope: EnvelopeFulltextMetadata
β { items: NewsFulltextMetadataItem[], credits, next }
Example:
curl -s "https://api.pressmonitor.com/news-wikidata/v1/news-fulltext-metadata?wikidata_id=Q90&count=5" -H "Authorization: Bearer YOUR_SECRET_KEY:SUBSCRIPTION_ID"
/news-headlines-translated
What: Translated headlines for a Wikidata entity.
Params: wikidata_id
(required), target_lang_code
(required), country_code
, lang_code
, count
, sort
, search_after
Envelope: EnvelopeHeadlinesTranslated
Example:
curl -s "https://api.pressmonitor.com/news-wikidata/v1/news-headlines-translated?wikidata_id=Q90&target_lang_code=en&count=10" -H "Authorization: Bearer YOUR_SECRET_KEY:SUBSCRIPTION_ID"
/news-briefs-translated
What: Translated briefs (with tr
block for translated fields).
Params: wikidata_id
(required), target_lang_code
(required), country_code
, lang_code
, count
, sort
, search_after
Envelope: EnvelopeBriefsTranslated
(items include tr
)
Example:
curl -s "https://api.pressmonitor.com/news-wikidata/v1/news-briefs-translated?wikidata_id=Q90&target_lang_code=en&count=10" -H "Authorization: Bearer YOUR_SECRET_KEY:SUBSCRIPTION_ID"
/news-fulltext-translated
What: Translated full text (with tr
block).
Params: wikidata_id
(required), target_lang_code
(required), plus optionals above
Envelope: EnvelopeFulltextTranslated
(items include tr
)
Example:
curl -s "https://api.pressmonitor.com/news-wikidata/v1/news-fulltext-translated?wikidata_id=Q90&target_lang_code=en&count=5" -H "Authorization: Bearer YOUR_SECRET_KEY:SUBSCRIPTION_ID"
/news-fulltext-metadata-translated
What: Translated full text + metadata (with tr
block).
Params: wikidata_id
(required), target_lang_code
(required), plus optionals above
Envelope: EnvelopeFulltextMetadataTranslated
(items include tr
)
Example:
curl -s "https://api.pressmonitor.com/news-wikidata/v1/news-fulltext-metadata-translated?wikidata_id=Q90&target_lang_code=en&count=5" -H "Authorization: Bearer YOUR_SECRET_KEY:SUBSCRIPTION_ID"
count
to control page size. sort=latest
, the response may return next.search_after
. Pass that cursor back with the same sort mode for the next page. relevance
uses semantic ranking; latest
uses publish timestamp.On success and error, responses may include:
X-Request-ID
, X-RateLimit-Limit
, X-RateLimit-Remaining
, X-RateLimit-Reset
.
Errors follow RFC 7807 (application/problem+json
) with fields like title
, status
, detail
.
wikidata_id
over keywords to avoid entity ambiguity. target_lang_code
and keep the source language via tr.source_lang_code
.Docs: https://www.pressmonitor.com/en/docs/news-wikidata-api-mcp
Email: support@pressmonitor.com