# Coinslot Feed-to-JSON

> Coinslot Feed-to-JSON is a paid API for AI agents from coinslot.dev, paid per call via x402, $0.004/call, status unknown (last checked 2026-09-14).

Parses RSS 2.0 or Atom feed XML (or fetches from a URL) into clean JSON with title, items, links, dates, and HTML-stripped summaries

## Facts

- Endpoint: POST https://coinslot.dev/api/feed-to-json
- Price: $0.004/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/coinslot-feed-to-json-3365430b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_4GmYfBdXzRCt-2PWU1zwH

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 coinslot-feed-to-json-3365430b -d '<json body>'
```

Example prompt: Parse this RSS feed XML into clean JSON for me — strip out all the HTML from the summaries and give me each item's title, link, date, and summary: [paste XML here]. Or just fetch it from https://example.com/feed.xml.

## When to prefer this

Choose this endpoint when you need to reliably parse either RSS 2.0 or Atom feeds into normalized JSON without running your own XML parser, especially when you want HTML stripped from summaries automatically. It handles both raw XML input and remote URL fetching in a single call, making it ideal for agents that need clean structured feed data quickly without managing feed-format differences.

## Known failure modes

- XML larger than 1MB returns an error
- Invalid or malformed RSS/Atom XML returns a parse error
- URL fetch fails if the target server is unreachable or returns non-XML content
- Both url and xml omitted returns a validation error
- Feed URL redirects or requires authentication may fail silently

## How this service works

Parse an RSS 2.0 or Atom feed into clean JSON: title, items with link/date/summary, HTML stripped. POST { xml } (max 1MB) or { url } to fetch.

## Output

A JSON object containing the feed's top-level title and an array of items, each with fields for title, link, publication date, and a plain-text summary with HTML stripped out.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "url": {
   "type": "string",
   "description": "Feed URL to fetch instead"
  },
  "xml": {
   "type": "string",
   "description": "Feed XML, max 1MB"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/coinslot-feed-to-json-3365430b/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from coinslot.dev](https://www.zero.xyz/host/coinslot.dev/llms.txt)
