# AgentDiet News Extractor

> AgentDiet News Extractor is a paid API for AI agents from mcp-gateway.agentdiet.dev, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-22).

Extracts and compresses news content from web sources given a query, returning structured data with high compression ratio

## Facts

- Endpoint: GET https://mcp-gateway.agentdiet.dev/v1/news-extractor?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-22
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agentdiet-news-extractor-1a63fdeb
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_GLf9bm6CuXKHHhD6g7WOh

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 agentdiet-news-extractor-1a63fdeb
```

Example prompt: Can you pull news articles about the Federal Reserve interest rate decision and extract the key content for me?

## When to prefer this

Choose this endpoint when you need to extract and compress news content from the web at low cost ($0.01 per call) with USDC micropayment settlement on Base. It is best suited for AI agents that need structured, compressed news data for downstream summarization or analysis, especially in automated pipelines that benefit from the x402 payment protocol.

## Known failure modes

- Missing or empty query parameter returns incomplete results
- Invalid HTTP method causes request rejection
- Upstream news source unavailable results in empty data object
- Payment failure via x402 protocol returns 402 status before content is served
- Rate limiting or quota exhaustion may return error status

## How this service works

Deterministic B2A/A2A/MCP/x402/MPP/L402 execution and intelligence node at https://mcp-gateway.agentdiet.dev settling in USDC on Base.

## Output

A JSON response with a 'data' object containing the extracted news content, a 'status' field indicating success ('ok'), and an 'roi_proof' object showing the compression ratio percentage (e.g. 91.4%) achieved during extraction.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "POST"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "query": {
       "type": "string"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "data": {},
  "status": "ok",
  "roi_proof": {
   "compression_ratio_pct": 91.4
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agentdiet-news-extractor-1a63fdeb/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from mcp-gateway.agentdiet.dev](https://www.zero.xyz/host/mcp-gateway.agentdiet.dev/llms.txt)
