# Doc Tools – RSS/Atom Feed to JSON

> Doc Tools – RSS/Atom Feed to JSON is a paid API for AI agents from agentpay-tools.agentpay-apis.workers.dev, paid per call via x402, $0.005/call, status unknown (last checked 2026-10-12).

Fetches an RSS or Atom feed URL and converts it to structured JSON, returning feed items with a configurable item limit.

## Facts

- Endpoint: GET https://agentpay-tools.agentpay-apis.workers.dev/tools/v1/feed?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-12
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/doc-tools-rss-atom-feed-to-json-cf6dd21f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_paNpE00XOMb255IgErQzL

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 doc-tools-rss-atom-feed-to-json-cf6dd21f
```

Example prompt: Fetch the RSS feed at https://feeds.arstechnica.com/arstechnica/index and convert it to JSON, giving me up to 20 items.

## When to prefer this

Choose this endpoint when you need to convert a live RSS or Atom feed URL into structured JSON data, especially for content aggregation, monitoring, or extraction workflows. It is purpose-built for feed parsing (not generic web scraping) and handles both RSS and Atom formats. Prefer this over a general scraper when the source publishes a proper syndication feed.

## Known failure modes

- Invalid or unreachable feed URL returns an error response
- Non-RSS/Atom URL (e.g. a plain HTML page) may fail to parse
- Feed with authentication requirements may not be accessible
- Malformed XML in the feed may cause a parse error
- Exceeding rate limits or payment issues may block the request

## How this service works

PDF to text, RSS/Atom feeds to JSON, sitemaps to URL lists.

## Output

A JSON object containing the parsed feed metadata and an array of feed items, each with fields such as title, link, description, publication date, and author — up to the specified item limit (default 50).

## 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",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "url"
     ],
     "properties": {
      "url": {
       "type": "string",
       "description": "Feed URL"
      },
      "limit": {
       "type": "string",
       "description": "Max items (default 50)"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json"
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/doc-tools-rss-atom-feed-to-json-cf6dd21f/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agentpay-tools.agentpay-apis.workers.dev](https://www.zero.xyz/host/agentpay-tools.agentpay-apis.workers.dev/llms.txt)
