Raw schema
{
"type": "object",
"properties": {
"lang": {
"type": "string",
"description": "Comma-separated ISO 639-1 codes, e.g. \"en,es\""
},
"country": {
"type": "string",
"description": "Comma-separated ISO 3166-1 alpha-2 codes of the publisher's country, e.g. \"US,GB\""
},
"topic": {
"type": "string",
"description": "Comma-separated topics, e.g. \"space,science\""
},
"source": {
"type": "string",
"description": "Comma-separated source ids (see list_sources) or publisher domains"
},
"kind": {
"type": "string",
"description": "Comma-separated: article, press_release, official, community, research, sponsored"
},
"category": {
"type": "string",
"description": "Comma-separated IPTC top-level categories: arts-culture-entertainment, conflict-war, crime-law, disaster-accident, economy-business, education, environment, health, human-interest, labour, lifestyle-leisure, politics, religion, science-technology, society, sport, weather"
},
"sentiment": {
"type": "string",
"description": "Comma-separated: negative, neutral, positive"
},
"political": {
"type": "boolean",
"description": "true: political stories only (political score ≥ 0.5); false: non-political only"
},
"tone_min": {
"type": "number",
"minimum": -1,
"maximum": 1,
"description": "Only items with tone ≥ this (-1 most negative … 1 most positive)"
},
"tone_max": {
"type": "number",
"minimum": -1,
"maximum": 1
},
"since": {
"type": "string",
"description": "Only items published at/after this: RFC 3339, a date, or an age like \"6h\", \"2d\""
},
"until": {
"type": "string",
"description": "Only items published at/before this"
},
"limit": {
"type": "integer",
"minimum": 1,
"maximum": 500,
"default": 50
},
"sponsored": {
"type": "string",
"enum": [
"include",
"exclude",
"only"
],
"default": "include",
"description": "Paid press releases are labeled; exclude to omit them"
},
"format": {
"type": "string",
"enum": [
"md",
"lines",
"ndjson",
"json"
],
"default": "md",
"description": "md: readable with summaries; lines: tab-separated, fewest tokens; ndjson/json: full records"
},
"q": {
"type": "string",
"description": "What you're looking for, in any language. Matches by meaning and by keyword (hybrid) over the last 7 days unless since is given; results carry a relevance score."
},
"match": {
"type": "string",
"enum": [
"hybrid",
"keyword",
"semantic"
],
"default": "hybrid",
"description": "keyword: exact words only; semantic: meaning only (cross-language)"
},
"entity": {
"type": "string",
"description": "Comma-separated Wikidata ids (from find_entities), e.g. \"Q312\""
},
"collapse": {
"type": "string",
"enum": [
"story"
],
"description": "One item per story (best representative); related = other reports of it"
},
"sort": {
"type": "string",
"enum": [
"newest",
"hot",
"positive",
"negative"
],
"default": "newest",
"description": "hot: most widely covered stories of the last 48h, one per story; positive/negative: most positive/negative tone first (last 24h unless since is given)"
},
"before": {
"type": "string",
"description": "Paging cursor from a previous result's next link"
}
},
"additionalProperties": false
}