RSS 2.0, ATOM & XML FEEDS

RSS 2.0, Atom & XML Feed Normalization API: Structured Monitoring With $0 on Miss

Target Query: rss atom xml feed extraction api for ai agents · Category: Use Case Guide · Verified Rate: $0.015/hit ($0 on miss) · Updated: 2026-12-02

Direct Answer: Monitoring changelogs, security advisories, regulatory bulletins, and open-source release feeds requires dealing with inconsistent RSS 2.0 (`<item>`, `<pubDate>`), Atom 1.0 (`<entry>`, `<updated>`, `<link href="...">`), and custom XML schemas. Scrape-Anything's XML/sitemap extractor normalizes RSS, Atom, and generic XML into uniform typed JSON with regex filtering, URL deduplication, and SSRF validation—plus `$0` billing on broken or unreachable feeds.

Engineering Mechanics & Deterministic Guardrails

Normalized Feed Output Mapping Across XML Dialects

Feed DialectSource XML NodesNormalized Scrape-Anything FieldsSpecial Handling
RSS 2.0`<item>`, `<title>`, `<link>`, `<pubDate>`, `<description>``title`, `url`, `published`, `summary`CDATA unwrapping & entity decode
Atom 1.0`<entry>`, `<title>`, `<link href>`, `<updated>`, `<summary>``title`, `url`, `published`, `summary`Namespace-agnostic `href` resolution
Sitemap `urlset``<url><loc>`, `<lastmod>``urls[]`, `entries[]`Deduplication & regex route filters
Generic XML TreeArbitrary XML tags & attributesClean JSON tree in `data`XXE-safe pure stdlib parser
Pure-Stream Multi-Format Latency vs Headless Browser Stacks (Relative Overhead) Headless Chrome Pool + Residential Proxy 3,200-8,500 ms LLM Markdown-to-JSON Two-Pass Pipeline 1,800-4,500 ms Scrape-Anything PDF FlateDecode Stream 15-120 ms Scrape-Anything Complex HTML Table Grid 10-90 ms Scrape-Anything __NEXT_DATA__ / JSON-LD 8-60 ms Scrape-Anything Binary .xlsx / CSV Gate 5-50 ms SQLite WAL Verified Archive Cache Hit < 5 ms

Normalized Feed Entry JSON Schema

{
  "type": "object",
  "required": [
    "urls"
  ],
  "properties": {
    "urls": {
      "type": "array",
      "minItems": 1,
      "items": {
        "type": "string",
        "pattern": "^https?://"
      }
    }
  }
}

Any extracted payload violating required keys, types, bounds, or regex patterns returns schema_valid: false, exact validation_errors, and billed_micros: 0.

Executable REST, Remote /mcp & treg hub Snippets

curl -fsSL -X POST "https://scrape.fastmesh.dev/v1/sitemap" \
  -H "Content-Type: application/json" \
  -d '{
    "url": "https://blog.python.org/feeds/posts/default",
    "max_urls": 25
  }'

curl -fsSL -X POST "https://scrape.fastmesh.dev/mcp" \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","id":9,"method":"tools/call","params":{"name":"scrape_sitemap","arguments":{"url":"https://blog.python.org/feeds/posts/default","max_urls":25}}}'

Hard guarantee: fake-200 CAPTCHA/Turnstile shells, login walls, encrypted PDFs, empty results, schema mismatches, and SSRF HTTP 422 blocks always return billed_micros: 0.

Test Schema-Validated Extraction Live in 5 Seconds

Paste any public URL, HTML table, JSON-LD, CSV, or fake-200 shell at scrape.fastmesh.dev or top up once with never-expiring Creem prepaid credits ($15 Starter / $59 Growth / $199 Scale — $0/mo recurring).

Frequently Asked Questions

Is the XML parser protected against XXE (XML External Entity) attacks?

Yes. Python's standard `xml.etree.ElementTree` parser does not expand external DTD entities, preventing XXE file disclosure.

Can I pass raw RSS or Atom XML inline without fetching over the network?

Yes. Send `content_text` with `content_type: "application/xml"` and `format_hint: "sitemap_xml"` to `POST /v1/extract`.

How much does feed discovery cost?

`POST /v1/sitemap` is `$0.010` (`10,000` micros) per verified crawl (`$0.0010` on same-tenant archive cache hit) and `$0` on unreachable or empty feeds.

Related Structured Extraction Guides

Explore all 32 Scrape-Anything Technical Guides or inspect the machine-readable llms.txt index.