Press Monitor Wikidata NewsFlow API β€” Usage Guide

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.

Base URL

https://api.pressmonitor.com/news-wikidata/v1

Authentication

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

Common Query Parameters


Endpoints (as defined in the spec)

1) GET /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"

2) GET /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"

3) GET /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"

4) GET /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"

5) GET /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"

6) GET /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"

7) GET /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"

8) GET /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"

Pagination & Sorting

Response Headers

On success and error, responses may include:
X-Request-ID, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset.

Error Model

Errors follow RFC 7807 (application/problem+json) with fields like title, status, detail.

Best Practices


Support

Docs: https://www.pressmonitor.com/en/docs/news-wikidata-api-mcp

Email: support@pressmonitor.com