Search news events
newsapi_search_eventsSearch clusters of articles reporting the same real-world event to see what happened around a topic and spot broad coverage, using filters for dates, languages, and sources.
Instructions
Search events: clusters of articles (often across languages) reporting on the same real-world happening. Good for 'what happened around X' and for spotting stories with broad coverage. Same filters as article search.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lang | No | Language filter, ISO 639-2 three-letter codes, e.g. eng, deu, fra, spa, ita, zho. | |
| page | No | ||
| count | No | Max 50. | |
| sort_by | No | size = number of articles. | date |
| date_end | No | Latest publishing date, YYYY-MM-DD. | |
| keywords | No | Keyword(s) or phrase(s) to search for. | |
| sort_asc | No | ||
| days_back | No | Convenience: sets date_start to today minus N days (ignored if date_start is set). | |
| date_start | No | Earliest publishing date, YYYY-MM-DD. | |
| result_lang | No | Preferred language for titles/summaries (eng, deu, …). | |
| source_uris | No | Source URIs (usually domains like heise.de, theverge.com) – via newsapi_suggest kind=sources. | |
| concept_uris | No | Concept URIs (Wikipedia URLs) – get them via newsapi_suggest kind=concepts. | |
| min_articles | No | Only events with at least N articles. | |
| category_uris | No | Category URIs, e.g. dmoz/Computers/Artificial_Intelligence or news/Technology – via newsapi_suggest kind=categories. | |
| location_uris | No | Content about these locations (Wikipedia URLs) – via newsapi_suggest kind=locations. | |
| max_sentiment | No | ||
| min_sentiment | No | Min sentiment -1..1 (only English content has sentiment). | |
| summary_chars | No | ||
| advanced_query | No | Advanced Query Language object; replaces simple filters. | |
| ignore_keywords | No | Exclude results mentioning any of these keywords. | |
| response_format | No | compact (default): trimmed, token-friendly JSON. raw: the unmodified API response. | compact |
| concept_operator | No | ||
| keyword_location | No | Where keywords must appear: body (default), title (high precision), or body,title. | |
| keyword_operator | No | Whether ALL (and) or ANY (or) keywords must match. | and |
| source_group_uris | No | Source group URIs (curated lists such as top news sources) – via newsapi_suggest kind=source_groups. | |
| ignore_source_uris | No | Exclude these sources. | |
| keyword_search_mode | No | phrase (default): words of a phrase near each other; exact: exact match; simple: words anywhere. | |
| source_location_uris | No | Only sources based in these locations (Wikipedia URLs, e.g. http://en.wikipedia.org/wiki/Germany). | |
| force_max_data_time_window | No | Restrict search to the last 7 or 31 days. Cheaper: queries reaching beyond 31 days consume more tokens (archive). |