Latest News
latest_newsGet the latest global news headlines and articles — world news, breaking news, and business/financial/stock-market news. Filter by keyword, country (2-letter, e.g. "us"), category (business, technology, politics, sports, health, science), and language. IMPORTANT: for stock-market / financial-market / economy / "world market news" questions, ALWAYS pass category: "business" — it returns real market-news outlets and filters out low-quality SEO/crypto-promo articles. Returns article title, description, link, source, publish date, category, and country. Paginate via the nextPage token. Examples: latest_news({ query: "stock market", category: "business" }) for world market news; latest_news({ query: "election", country: "us", category: "politics" }).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | nextPage token returned from a prior call, to fetch the next page of results | |
| query | No | Keywords to search news articles for. Every term is AND-ed — each word must appear in the article — so use 1-3 distinctive keywords ("NMPA approval biotech", "AI chips") rather than a full phrase; "Chinese biotech out-licensing deals NMPA approvals" returns 0 results while "NMPA Chinese biotech" returns articles. | |
| _apiKey | No | Optional — your own NewsData.io API key for higher limits; omit to use the shared Pipeworx key. | |
| country | No | 2-letter country code to filter news by, e.g. "us", "gb", "in" | |
| category | No | News category, e.g. "business", "technology", "politics", "sports", "health", "science". OMIT unless confident — a wrong category guess returns 0 results (e.g. drug-approval and pharma-industry stories are categorized "business", not "health"). | |
| language | No | Language code to filter news by, e.g. "en", "es", "fr" |