News search API for AI agents: latest headlines as JSON, pay per query

$0.01 per call · failed calls are never charged · no account or API key needed

Search current news and get the latest headlines as JSON: title, URL, snippet, publisher domain and age, from the Brave Search API's news index. 1-20 results per call; freshness limits results to the past day, week or month. Results are for the caller's immediate use only: no storing, resale or model training (Brave API terms). Upstream failures and exhausted capacity return 503, uncharged. Use when an agent needs current news on a topic.

When to use it

Buy credits by card (from $5) Example result (JSON)

Inputs

NameTypeDescription
q (required)stringNews search query, at most 400 characters
countintegerNumber of results (1-20, default 10)
freshnessstringOnly 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?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, Monad, World Chain or Tempo) 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, and the first 25 successful calls are free:

https://agent-data-tools.revmesh2074.workers.dev/mcp

Questions

Where do the articles come from?

The Brave Search API's news index, one request per paid call. Results are for the caller's immediate use: no storing, resale or model training.

What if the provider is down or the daily capacity is used up?

The call answers 503 and nothing is charged.

How do I pay?

Each successful call costs $0.01; failed calls are not charged. This tool is not in the free calls; pay with card credits (from $5) or per call in USDC over x402 or MPP. No account or API key is needed.

Related tools