# Guardian News Search API

> Guardian News Search API 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).

Search The Guardian newspaper articles with optional section and date range filtering

## Facts

- Endpoint: GET https://news.memoryapi.org/x402/news/search
- 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-998a2339
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_JOI9Kz0mTDtj51QHJjYvC

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-998a2339
```

Example prompt: Can you search The Guardian for articles about the UK general election from the politics section, published in the last month?

## When to prefer this

Use this endpoint when you specifically need content from The Guardian newspaper, want credible long-form journalism rather than social/aggregated news, need section-based filtering (e.g. politics, technology, sport), or want to filter by publication date range. Prefer this over the trending news endpoint when you want Guardian-only results rather than cross-source aggregation.

## Known failure modes

- No articles found for the given search query — returns empty results
- Invalid date format causes a 400 error
- Unknown or misspelled section name returns no results or an error
- Rate limiting or payment failure returns a 402 or 429 error
- Guardian API upstream outage causes a 502 or 503 response

## How this service works

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

## Output

A list of Guardian news articles matching the query, including titles, URLs, publication dates, and section information

## 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,
  "query": "AI",
  "total": 5000,
  "source": "The Guardian",
  "section": "technology",
  "success": true,
  "articles": [
   {
    "id": "technology/2025/01/01/ai-story",
    "url": "https://theguardian.com/...",
    "section": "Technology",
    "headline": "AI Story",
    "published": "2025-01-01T00:00:00Z",
    "thumbnail": null,
    "word_count": "1200"
   }
  ]
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/news-memoryapi-org-998a2339/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)
