# meld402 Web News Search

> meld402 Web News Search is a paid API for AI agents from meld402.vercel.app, paid per call via x402, $0.15/call, status unknown (last checked 2026-09-15).

Fetches aggregated news articles from multiple search engines (Google News, Bing News via SerpApi) for a given topic, localized by country and language, paid per request over x402.

## Facts

- Endpoint: POST https://meld402.vercel.app/api/web/news
- Price: $0.15/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/meld402-web-news-search-8fbcf0a7
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_oNdozGQ5yP_iEozdpDjdI

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability meld402-web-news-search-8fbcf0a7 -d '<json body>'
```

Example prompt: Can you pull the top 10 English-language news articles from the past day about Bitcoin ETF approvals, localized for the US?

## When to prefer this

Choose this endpoint when you need aggregated, multi-source news results in a single stable API call without managing multiple search engine integrations yourself. It is especially useful for autonomous agents that need current news on any topic with localization support and pay-per-use pricing — no subscriptions or API key management required beyond x402 USDC payment on Base.

## Known failure modes

- Empty or vague topic returns zero results
- Invalid country/language code causes localization errors or fallback to defaults
- Requesting more than 20 articles returns a validation error
- SerpApi upstream outage results in degraded or empty response with degraded field populated
- Payment failure over x402 results in 402 response before data is returned

## How this service works

14 paid data endpoints for autonomous agents and developers. Covers crypto intelligence (token, chain, Solana, gas), markets (FX, market pulse), location (weather), and research (news, brief). Each route aggregates multiple public sources into one stable schema with a single USDC payment over x402 on Base.

## Output

A JSON object containing an array of news articles (up to 20), each with title, URL, snippet, publication date, source name, originating search engine, and rank position, plus metadata including total result count, data freshness timestamp, and source attribution.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "gl": {
   "type": "string",
   "default": "us",
   "maxLength": 2,
   "minLength": 2,
   "description": "Country code for localization"
  },
  "hl": {
   "type": "string",
   "default": "en",
   "maxLength": 2,
   "minLength": 2,
   "description": "Language code for localization"
  },
  "num": {
   "type": "integer",
   "default": 10,
   "maximum": 20,
   "minimum": 1,
   "description": "Number of articles to return"
  },
  "tbs": {
   "type": "string",
   "default": "qdr:d",
   "description": "Time range: qdr:h (hour), qdr:d (day), qdr:w (week), qdr:m (month)"
  },
  "topic": {
   "type": "string",
   "maxLength": 500,
   "minLength": 1,
   "description": "News topic or search query"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "data": {
   "topic": "artificial intelligence",
   "articles": [
    {
     "url": "https://example.com/gpt5",
     "date": "2026-08-24T10:00:00Z",
     "title": "OpenAI Unveils GPT-5 with Reasoning Capabilities",
     "engine": "google_news",
     "source": "The Verge",
     "snippet": "OpenAI announces GPT-5 with significant improvements in reasoning...",
     "position": 1
    },
    {
     "url": "https://example.com/deepmind-protein",
     "date": "2026-08-24T08:00:00Z",
     "title": "Google DeepMind Achieves Protein Folding Breakthrough",
     "engine": "bing_news",
     "source": "Nature",
     "snippet": "AlphaFold 3 achieves unprecedented accuracy in protein structure prediction...",
     "position": 2
    }
   ],
   "total_results": 45000
  },
  "meta": {
   "as_of": "2026-08-24T00:00:00.000Z",
   "sources": [
    "serpapi"
   ],
   "degraded": [],
   "attribution": [
    "Search data by SerpApi (serpapi.com)"
   ]
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/meld402-web-news-search-8fbcf0a7/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from meld402.vercel.app](https://www.zero.xyz/host/meld402.vercel.app/llms.txt)
