# x402 Multi-Tool API — News Headlines

> x402 Multi-Tool API — News Headlines is a paid API for AI agents from x402deploy.vercel.app, paid per call via x402, $0.005/call, status unknown (last checked 2026-09-16).

Searches and returns recent news headlines and article metadata for a given query, priced at $0.005 USDC per call via x402 micropayments.

## Facts

- Endpoint: POST https://x402deploy.vercel.app/api/news
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-16
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-multi-tool-api-news-headlines-89a600d7
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_F1PMqmNHy41cYZ0fW0TZo

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 x402-multi-tool-api-news-headlines-89a600d7 -d '<json body>'
```

Example prompt: Search for the latest news about AI agents — grab the top 5 results in English and show me the headlines, sources, and links.

## When to prefer this

Choose this endpoint when an AI agent needs real-time or recent news headlines without requiring an API key or subscription — the x402 micropayment model means pay-per-use with no auth setup. Ideal for lightweight news lookups, competitive monitoring, or current-events enrichment in agent workflows where cost per call ($0.005 USDC) is acceptable and low query volume makes a subscription unnecessary.

## Known failure modes

- Missing required 'query' field returns a validation error
- Payment not fulfilled (HTTP 402) if x402 micropayment is not provided or fails
- No articles found for obscure or misspelled queries returns total: 0 with empty articles array
- Invalid 'lang' format may return results in unexpected language or default to English
- Rate limiting or upstream news provider outages may result in 5xx errors

## How this service works

Pay-per-request data toolkit for AI agents — 13 no-auth tools, $0.005 USDC each via x402. Web search, read URL, crypto price/markets/trending, Wikipedia, news headlines, weather, FX rates, IP geolocation, DNS lookup, stock quotes, and domain WHOIS.

## Output

Returns a JSON object containing the original query, a total article count, and an array of articles each with a URL, headline title, source name, and RFC-formatted publication date. Typical response includes multiple recent articles matching the search query.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "query"
 ],
 "properties": {
  "lang": {
   "type": "string",
   "description": "Language/region, e.g. 'en-US'"
  },
  "limit": {
   "type": "integer"
  },
  "query": {
   "type": "string",
   "description": "News search query, e.g. 'AI agents'"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "query": "AI agents",
 "total": 1,
 "articles": [
  {
   "url": "https://news.example.com/a",
   "title": "Example headline",
   "source": "Example News",
   "published": "Thu, 03 Jul 2026 09:00:00 GMT"
  }
 ]
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402-multi-tool-api-news-headlines-89a600d7/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402deploy.vercel.app](https://www.zero.xyz/host/x402deploy.vercel.app/llms.txt)
