RSS / Atom feed to JSON

Any RSS, Atom or JSON Feed (or a page that links one) as clean, normalised JSON items.

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.

$0.0025 per call in USDC on Base via x402, or pay by card with prepaid credits (2 credits) · 1 free call per caller · no signup · Listed on PayAPI Market (this route is not PayAPI-verified yet; 14 other routes are, each by one settled test payment)

GET https://freetier-agent-api.pages.dev/api/feed-json

When to use it

Use feed-json to read an RSS/Atom/JSON feed (or find the feed of a site) as clean JSON items, e.g. to watch a blog, changelog, podcast or news source. Use page-rag for the full text of one article page.

Parameters

NameTypeDescription
url requiredstringfeed URL (RSS 0.9x/1.0/2.0, Atom, JSON Feed) or a page with <link rel="alternate"> to one
limitstringitems to return, 1-100, default 20
sincestringonly items published at/after this ISO date, e.g. 2026-10-01
include_contentstring (true | false)true adds content_text (full text, HTML stripped, max 20,000 chars per item)
summary_charsstringmax summary length, 0-2000, default 400 (0 omits it)

Example output (real response, trimmed)

{
 "url": "https://blog.cloudflare.com/rss/",
 "discovered_from": {
  "page": "https://blog.cloudflare.com/",
  "candidates": [
   {
    "url": "https://blog.cloudflare.com/rss/",
    "type": "application/rss+xml",
    "title": "Cloudflare Blog"
   }
  ]
 },
 "format": "rss2",
 "feed": {
  "title": "Cloudflare Blog",
  "link": "https://blog.cloudflare.com/",
  "description": "Technical deep dives, product updates, and insights from the teams that are helping to build a better Internet.",
  "language": "en-us",
  "updated": "2026-10-26T12:38:01.000Z",
  "generator": null,
  "image": "https://blog.cloudflare.com/favicon.ico"
 },
 "item_count": 20,
 "matched": 20,
 "returned": 2,
 "newest_item": "2026-10-23T18:22:59.000Z",
 "items": [
  {
   "id": "01M5MZPETYH27RS72QV5V85YZ8",
   "title": "Origin Range Requests: Serving large files without range-request tuning",
   "link": "https://blog.cloudflare.com/origin-range-requests/",
   "published": "2026-10-23T18:22:59.000Z",
   "updated": null,
   "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...",
   "categories": [
    "Cache",
    "Performance"
   ],
   "enclosures": [
    {
     "url": "https://blog.cloudflare.com/_emdash/api/media/file/01M5MZP89Y10XGACD5T6G2F398.png",
     "type": "image/png",
     "length": null
    }
   ],
   "image": null
  },
  {
   "id": "01M5MYFG0SHDEYME96N0A4Z6PH",
   "title": "Bringing post-quantum cryptography to geographically fenced key management",
   "link": "https://blog.cloudflare.com/post-quantum-geo-key-manager/",
   "published": "2026-10-23T18:06:56.000Z",
   "updated": null,
   "author": "Chetan Agrawal",
   "summary": "Cloudflare's new post-quantum GeoKey Manager protects geographically fenced decryption keys from harvest now, decrypt later attacks. Learn how we redesigned ...",
   "categories": [
    "Cloudflare One",
    "Data Localization Suite"
   ],
   "enclosures": [
    {
     "url": "https://blog.cloudflare.com/_emdash/api/media/file/01M5MYF3Y4CXM47ZAN16JYM04W.png",
     "type": "image/png",
     "length": null
    }
   ],
   "image": null
  }
 ],
 "fetched_at": "2026-10-26T12:40:41.311Z",
 "note": "Items in feed order. summary is plain text (HTML stripped). Dates normalised to ISO 8601 UTC; null when the feed has none.",
 "more": {
  "full_datasets": "https://freetier-kits-shop.fourthwall.com",
  "note": "Full dataset downloads available by card"
 }
}

Try it

Free call (no wallet needed)

curl -s "https://freetier-agent-api.pages.dev/api/feed-json?url=https%3A%2F%2Fhnrss.org%2Ffrontpage&limit=5"

Pay by card (no wallet): prepaid credits

Buy a credit pack on Gumroad (1,000 credits $3), then send your license key. The X-Credits-Remaining response header shows your balance; failed calls are not charged.

curl -s "https://freetier-agent-api.pages.dev/api/feed-json?url=https%3A%2F%2Fhnrss.org%2Ffrontpage&limit=5" \
  -H 'X-License-Key: YOUR-LICENSE-KEY'

JavaScript / TypeScript (@x402/fetch)

// npm i @x402/fetch @x402/evm viem
import { wrapFetchWithPaymentFromConfig } from "@x402/fetch";
import { ExactEvmScheme } from "@x402/evm";
import { privateKeyToAccount } from "viem/accounts";

const account = privateKeyToAccount(process.env.EVM_PRIVATE_KEY); // wallet with USDC on Base
const fetchWithPayment = wrapFetchWithPaymentFromConfig(fetch, {
  schemes: [{ network: "eip155:8453", client: new ExactEvmScheme(account) }],
});
const res = await fetchWithPayment("https://freetier-agent-api.pages.dev/api/feed-json?url=https%3A%2F%2Fhnrss.org%2Ffrontpage&limit=5");
console.log(await res.json());

Python (x402 + httpx)

# pip install "x402[httpx,evm]" eth-account
import asyncio, os
from eth_account import Account
from x402 import x402Client
from x402.http.clients import x402HttpxClient
from x402.mechanisms.evm import EthAccountSigner
from x402.mechanisms.evm.exact.register import register_exact_evm_client

async def main():
    client = x402Client()
    register_exact_evm_client(client, EthAccountSigner(Account.from_key(os.environ["EVM_PRIVATE_KEY"])))
    async with x402HttpxClient(client) as http:
        r = await http.get("https://freetier-agent-api.pages.dev/api/feed-json?url=https%3A%2F%2Fhnrss.org%2Ffrontpage&limit=5")
        print(r.json())

asyncio.run(main())

A bare request without parameters returns the HTTP 402 payment challenge (x402 v2 in the PAYMENT-REQUIRED header, v1 in the body). Invalid input gets a 400 before any payment.

Billing policy

Failed calls are never charged. Failed calls are never charged: the payment is verified first, the request runs, and the payment is settled only if it succeeded. Errors (4xx/5xx) are not settled, and invalid input is rejected before any payment or free call.

Uptime and latency

Independent monitoring of this endpoint: 402index service page (health, 30-day uptime, p50 latency).

Also available as


Agent Extraction API by FreeTier Kits · Terms · llms.txt · /.well-known/x402 · MCP: https://freetier-agent-api.pages.dev/mcp · Contact: tec@mail.grokbot.com
This site and its texts were written with AI assistance and reviewed for accuracy; example outputs are real responses from the API.