News search API: current news articles on any topic as JSON
News search API: current news articles on any topic from the Brave news index, as JSON with title, URL, snippet, publisher and age, 1-20 results, optionally only from the past day, week or month. Results are for immediate use only (Brave API terms). Use when an agent needs the latest news or headlines on a company, coin, person or event.
Inputs
| Name | Type | Description |
|---|---|---|
q (required) | string | News search query, at most 400 characters |
count | integer | Number of results (1-20, default 10) |
freshness | string | Only articles from the past day, week or month (default: any age) |
Request
Over HTTP, with a card key from /credits:
curl -H "Authorization: Bearer adt_…" "https://agent-data-tools.revmesh2074.workers.dev/news/search?q=bitcoin%20ETF"
Without a key, the same URL answers 402 Payment Required with x402 and MPP terms, so an agent with a wallet pays per call in USDC (Base, Polygon, Arbitrum or Solana over x402; Base or Tempo over MPP) and retries.
Example result
{
"query": "bitcoin ETF",
"provider": "Brave News",
"count": 1,
"results": [
{
"title": "Bitcoin ETFs see record inflows",
"url": "https://www.example-news.com/markets/bitcoin-etf-inflows",
"snippet": "Spot bitcoin ETFs took in…",
"source": "example-news.com",
"age": "3 hours ago"
}
],
"terms": "Results are for the caller's immediate use: no storing or caching beyond the current task, no resale and no model training (Brave Search API terms)."
}
From an AI agent (MCP)
Add the MCP server to Claude, Cursor or any MCP client. This tool is news_search, and the first 25 successful calls are free:
https://agent-data-tools.revmesh2074.workers.dev/mcp