# Feed to JSON API (RSS/Atom/JSON Feed Parser)

> Feed to JSON API (RSS/Atom/JSON Feed Parser) is a paid API for AI agents from freetier-agent-api.pages.dev, paid per call via x402, $0.0025/call, status unknown (last checked 2026-11-18).

Fetches and parses any RSS, Atom, or JSON Feed URL into structured JSON with normalized dates, summaries, and metadata.

## Facts

- Endpoint: GET https://freetier-agent-api.pages.dev/api/feed-json?utm_source=zero.xyz
- Price: $0.0025/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-18
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/feed-to-json-api-rss-atom-json-feed-parser-bb6e29a0
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_gE_T70VUloonAUS5bhjmd

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 feed-to-json-api-rss-atom-json-feed-parser-bb6e29a0
```

Example prompt: Fetch the RSS feed at https://blog.cloudflare.com/ and give me the 10 most recent posts published since 2026-10-01, with a 300-character summary for each.

## When to prefer this

Choose this endpoint when you need to reliably parse any RSS 0.9x/1.0/2.0, Atom, or JSON Feed URL into normalized JSON without setting up a feed parsing library. It's especially useful when you only have a blog or site URL (not the direct feed URL) and need auto-discovery, or when you want filtered, date-normalized, HTML-stripped output ready for AI consumption. It pays per-call via x402 USDC with no signup required, making it ideal for agent pipelines that need occasional or ad-hoc feed reading.

## Known failure modes

- Feed URL is unreachable or returns non-feed content — items array may be empty or error returned
- URL points to a plain web page with no discoverable feed link — discovery fails gracefully
- Feed is malformed or uses a non-standard format — parsing may be partial or fail
- since parameter filters out all items — returns empty items array with matched count
- limit or summary_chars parameters outside allowed ranges (1-100 and 0-2000) may be clamped or rejected
- x402 payment not provided or rejected — 402 response returned before data

## How this service works

RSS / Atom / JSON Feed to clean JSON: give a feed URL (or a web page that links one, auto-discovered) and get feed title/link/language plus normalised items: id, title, link, ISO dates, author, plain-text summary, categories, enclosures (podcast audio, media), image. Filter with since= and limit=; include_content=true adds the full text.

## Output

Returns a JSON object with feed-level metadata (title, description, language, image, last-updated, format) and an array of normalized feed items. Each item includes id, link, title, author, plain-text summary (HTML stripped), published date in ISO 8601 UTC, categories, and enclosures. Also returns matched/returned counts, total item_count, newest_item timestamp, fetched_at, and a discovered_from field showing how the feed was located if auto-discovered from a page.

## 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"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "url"
     ],
     "properties": {
      "url": {
       "type": "string",
       "description": "feed URL (RSS 0.9x/1.0/2.0, Atom, JSON Feed) or a page with <link rel=\"alternate\"> to one"
      },
      "limit": {
       "type": "string",
       "description": "items to return, 1-100, default 20"
      },
      "since": {
       "type": "string",
       "description": "only items published at/after this ISO date, e.g. 2026-10-01"
      },
      "summary_chars": {
       "type": "string",
       "description": "max summary length, 0-2000, default 400 (0 omits it)"
      },
      "include_content": {
       "enum": [
        "true",
        "false"
       ],
       "type": "string",
       "description": "true adds content_text (full text, HTML stripped, max 20,000 chars per item)"
      }
     }
    }
   }
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "url": {
       "type": [
        "string",
        "null"
       ]
      },
      "feed": {
       "type": "object",
       "properties": {
        "link": {
         "type": [
          "string",
          "null"
         ]
        },
        "image": {
         "type": [
          "string",
          "null"
         ]
        },
        "title": {
         "type": [
          "string",
          "null"
         ]
        },
        "updated": {
         "type": [
          "string",
          "null"
         ]
        },
        "language": {
         "type": [
          "string",
          "null"
         ]
        },
        "generator": {},
        "description": {
         "type": [
          "string",
          "null"
         ]
        }
       }
      },
      "more": {
       "type": "object",
       "properties": {
        "note": {
         "type": [
          "string",
          "null"
         ]
        },
        "full_datasets": {
         "type": [
          "string",
          "null"
         ]
      
… (truncated)
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "url": "https://blog.cloudflare.com/rss/",
  "feed": {
   "link": "https://blog.cloudflare.com/",
   "image": "https://blog.cloudflare.com/favicon.ico",
   "title": "Cloudflare Blog",
   "updated": "2026-10-26T12:38:01.000Z",
   "language": "en-us",
   "description": "Technical deep dives, product updates, and insights from the teams that are helping to build a better Internet."
  },
  "more": {
   "note": "Full dataset downloads available by card",
   "full_datasets": "https://freetier-kits-shop.fourthwall.com"
  },
  "note": "Items in feed order. summary is plain text (HTML stripped). Dates normalised to ISO 8601 UTC; null when the feed has none.",
  "items": [
   {
    "id": "01M5MZPETYH27RS72QV5V85YZ8",
    "link": "https://blog.cloudflare.com/origin-range-requests/",
    "title": "Origin Range Requests: Serving large files without range-request tuning",
    "author": "Matthew Gumport",
    "summary": "Naive byte-range caching can waste gigabytes of origin bandwidth on small requests. We rebuilt our cache architecture in Pingora to coordinate partial fetche...",
    "published": "2026-10-23T18:22:59.000Z",
    "categories": [
     "Cache"
    ],
    "enclosures": [
     {
      "url": "https://blog.cloudflare.com/_emdash/api/media/file/01M5MZP89Y10XGACD5T6G2F398.png",
      "type": "image/png"
     }
    ]
   }
  ],
  "format": "rss2",
  "matched": 20,
  "returned": 2,
  "fetched_at": "2026-10-26T12:40:41.311Z",
  "item_count": 20,
  "newest_item": "2026-10-23T18:22:59.000Z",
  "discovered_from": {
   "page": "https://blog.cloudflare.com/",
   "candidates": [
    {
     "url": "https://blog.cloudflare.com/rss/",
     "type": "application/rss+xml",
     "title": "Cloudflare Blog"
    }
   ]
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/feed-to-json-api-rss-atom-json-feed-parser-bb6e29a0/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from freetier-agent-api.pages.dev](https://www.zero.xyz/host/freetier-agent-api.pages.dev/llms.txt)
