AI agents and RAG

Ground your agentin today's news.

A news tool with filters your model can call and JSON it can read, each article with a source and link.

space telescope
  • NASA's newest space telescope launches on a quest to explore the hidden universeCNBCspace explorationspace telescopes
  • A T. Rex Walked Here: Teacher Finds Rare Footprints in North DakotaThe New York Timesdinosaursfossilized footprints
  • ‘I’m Really Terrified’: A Mathematician Grapples With AI’s Recent BreakthroughsWiredartificial intelligencemath
  • NASA Bets $700 Million On Jeff Bezos’ Blue Origin For Mars MissionsForbesspace explorationMars missions
  • Mistral CEO says U.S. AI safety debate masks competitors’ 'negligence'CNBCAI safetyindustry scrutiny
  • Nvidia launches new platform for reining in rogue AI agentsTechCrunchAI technologysoftware development
  • AMD makes a big bet on the next era of AI with World Labs acquisitionMarketWatchAI acquisitionschip industry
  • Meta turned Muse into a viral hit. Now comes the hard part.MarketWatchAI developmentsocial media
  • 'Mike & Molly' star Billy Gardell admits weight loss surgery 'probably saved' his lifeFox Newsweight loss surgerydiabetes
  • NASCAR Hall of Famer diagnosed with frontotemporal degeneration, possible CTE from racingFox NewsNASCARsports news
  • OpenAI's breach of Australian health department website prompts rebukeNPRartificial intelligencegovernment compliance
  • Under Trump, NIH funding disruptions have evolved. Here's what the numbers showNPRNIH fundingbiomedical research
GET /v1/search200 OK · 4 results

Objectives

Fresh, cited context for assistants, agents and RAG.

Who it's for

Teams putting a model in front of questions about the world.

Record

Compact fields keep tool output short and cheap in context.

Objectives

0/3
  • Give it a tool
    One filtered search call, clean JSON back.
  • Cite the source
    Each article carries its source and link.
  • Keep RAG fresh
    Index new articles by date. IDs stay stable.
  • Answer current-events questions with citations.

  • Page deep through results with cursor pagination.

  • Retrieve over recent and historical news.

  • Summarise a topic's latest coverage on a schedule.

One article

CNBC
Headline
NASA's newest space telescope launches on a quest to explore the hidden universe
Source
CNBC
Category
science
People
Nancy Grace Roman
Topics
space exploration, space telescopes, NASA
Countries
United States

See the tool callbehind one answer.

A filtered search the model calls when it needs recent news.

Illustrative scenario

An assistant that cites the news

The model gets a news search tool. When a question needs recent information, it calls the tool, reads titles and descriptions, and cites a source and link for each claim.

At a glance

Endpoint
/v1/search
Pattern
Tool call, then cite
Fields used
title, description, link
Output
Answers with sources
  • NASA's newest space telescope launches on a quest to explore the hidden universeCNBC · space exploration, space telescopes
  • A T. Rex Walked Here: Teacher Finds Rare Footprints in North DakotaThe New York Times · dinosaurs, fossilized footprints
  • ‘I’m Really Terrified’: A Mathematician Grapples With AI’s Recent BreakthroughsWired · artificial intelligence, math
  • NASA Bets $700 Million On Jeff Bezos’ Blue Origin For Mars MissionsForbes · space exploration, Mars missions
curl -G https://api.newsmesh.co/v1/search \  -d apiKey=$NEWSMESH_API_KEY \  --data-urlencode 'q=space telescope' \  -d category=science \  -d sortBy=relevant \  -d limit=5
import os, requestsr = requests.get(    "https://api.newsmesh.co/v1/search",    params={        "apiKey": os.environ["NEWSMESH_API_KEY"],        "q": "space telescope",        "category": "science",        "sortBy": "relevant",        "limit": "5",    },)articles = r.json()["data"]
const params = new URLSearchParams({  apiKey: process.env.NEWSMESH_API_KEY,  q: "space telescope",  category: "science",  sortBy: "relevant",  limit: "5",});const res = await fetch(`https://api.newsmesh.co/v1/search?${params}`);const { data } = await res.json();
{
  "data": [{
    "article_id": "9e939fcbd7ed090236e52ad2473dcca1",
    "title": "NASA's newest space telescope launches on a quest to explor…",
    "source": "CNBC",
    "category": "science",
    "topics": ["space exploration", "space telescopes", "NASA"],
    "people": ["Nancy Grace Roman"],
    "country_relevance": ["United States"],
    "link": "https://www.cnbc.com/2026/08/30/nasas-newest-telesc…"
  }],
  "next_cursor": "eyJwIjoi…"
}

Give your agent today's news.Start with a free API key.

Where elsenews becomes data.