# Trending News - Hacker News + The Guardian Combined

> Trending News - Hacker News + The Guardian Combined is a paid API for AI agents from news.memoryapi.org, paid per call via x402, $0.001/call, status down (last checked 2026-09-15).

Fetches trending news articles on a given topic by combining results from both Hacker News and The Guardian.

## Facts

- Endpoint: GET https://news.memoryapi.org/x402/news/trending
- Price: $0.001/call
- Payment: x402
- Status: down
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/news-memoryapi-org-67ff42d0
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_jXUv5a9M6pWJv-Ehekh-T

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 news-memoryapi-org-67ff42d0
```

Example prompt: What's trending right now about artificial intelligence — pull together the top stories from both the tech community and mainstream news coverage.

## When to prefer this

Use this endpoint when you want a dual-perspective view of trending news — combining the tech-savvy Hacker News community signal with mainstream Guardian journalism — for a given topic. Prefer this over single-source news endpoints when breadth and cross-community coverage matters.

## Known failure modes

- Topic parameter missing or empty — returns error
- No trending results found for obscure or very niche topics
- Upstream Hacker News or Guardian API unavailable — partial or empty results
- Payment not fulfilled via x402 — 402 Payment Required response
- Rate limiting if called too frequently

## How this service works

AgentNews — Hacker News + Guardian news API with x402 micropayments. $0.001 USDC per request.

## Output

A combined list of trending news articles from Hacker News and The Guardian for the specified topic, likely including titles, URLs, sources, and relevance/popularity signals.

## Example request

```json
{
 "q": "artificial intelligence",
 "limit": 10,
 "section": "technology"
}
```

## Request schema (JSON Schema)

```json
{
 "properties": {
  "input": {
   "required": [
    "method"
   ],
   "properties": {
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "example": {
  "count": 10,
  "items": [
   {
    "url": "https://example.com",
    "title": "AI News",
    "source": "HN",
    "published": "2025-01-01T00:00:00.000Z",
    "score_or_relevance": 300
   }
  ],
  "topic": "ai",
  "source": "HN + Guardian",
  "success": true
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/news-memoryapi-org-67ff42d0/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from news.memoryapi.org](https://www.zero.xyz/host/news.memoryapi.org/llms.txt)
