---
title: Convert RSS to JSON API
slug: convert-rss-to-json
url: https://apyhub.com/apyhub/service/convert-rss-to-json
provider: ApyHub
categories: [Ingestion Kit]
tags: [rss-to-json, rss, feed-parser, data-conversion]
auth: api_key
version: 1.1.0
service_type: sync
endpoints: 2
atoms: 150
mcp: true
alias: converter-rss-json
---

# Convert RSS to JSON API

Turn a feed into JSON with one call, by URL or file upload. Works with both major feed formats. No parser to install or patch. Free tier, no card.

## Endpoints

| Method | URL | Description | Atoms |
| --- | --- | --- | --- |
| POST | `https://api.eu.apyhub.com/apyhub/convert-rss-to-json/file` | What it does Parses an uploaded RSS or Atom XML file and converts it to JSON. The request sends a b… | 150 |
| POST | `https://api.eu.apyhub.com/apyhub/convert-rss-to-json/url` | What it does Parses a remote RSS or Atom feed from a URL and returns the feed data as JSON. The req… | 150 |

## Endpoint reference

### Parse uploaded RSS/Atom XML to JSON

`POST https://api.eu.apyhub.com/apyhub/convert-rss-to-json/file` · 150 atoms · accepts `multipart/form-data` · returns `application/json`

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `file` | body | string (binary) | yes | RSS or Atom XML file (.xml). Mandatory. |
| `detailed` | query | boolean | no | Default: `false`. |

#### Quickstart

Upload an RSS or Atom XML file to convert it into JSON.

```bash
curl -X POST "https://api.eu.apyhub.com/apyhub/convert-rss-to-json/file" \
  -H "apy-token: $APY_TOKEN" \
  -F "file=@/path/to/feed.xml"
```

#### What you'll get back

Returns a JSON object. The output schema does not declare any specific top-level fields, so the exact response shape may vary.

### Parse remote RSS/Atom feed URL to JSON

`POST https://api.eu.apyhub.com/apyhub/convert-rss-to-json/url` · 150 atoms · accepts `application/json` · returns `application/json`

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `url` | body | string (uri) | yes | Example: `https://assets.apyhub.com/samples/sample.xml`. |
| `detailed` | query | boolean | no | Default: `false`. |

#### Quickstart

Convert an RSS feed URL to JSON by sending the feed link in the request body.

```bash
curl -X POST "https://api.eu.apyhub.com/apyhub/convert-rss-to-json/url?detailed=false" \
  -H "apy-token: $APY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"url":"https://apyhub.com/api/rss"}'
```

#### What you'll get back

Returns a JSON object. The output schema does not declare any specific top-level fields, so the exact response shape can vary.

## About

## What it does

The RSS to JSON API turns a feed into JSON your code can read. Send a feed URL, or upload the XML. You get the feed's items back as structured JSON, ready to store, filter or render.

Use the `/url` endpoint to fetch and parse a remote feed in one step. That is the usual case: polling a blog, a news site or a podcast feed on a schedule. Use the `/file` endpoint when you already hold the XML, such as an archived feed or one a partner sent you. Set `detailed=true` when you need the feed's full metadata — copyright, generator, categories, contributing authors, Dublin Core and iTunes podcast extensions, and any namespaced custom fields — on top of the summary fields returned by default. Items themselves carry the same fields either way.

It handles both of the feed formats in use on the web today. RSS is the common one. Atom is the format WordPress, Blogger and YouTube publish, and a parser built only for RSS will choke on it. Either one works here, with the same call.

Why call an API instead of installing a feed parser? Because feeds in the wild are inconsistent. Missing dates. Odd encodings. Namespaced extensions. Formats that differ from one publisher to the next. Those edge cases show up one at a time in production, and then they are yours to fix. Here they stay on this side of the call.

Most feeds update a few times a day at most. Cache the result and poll on a sensible interval rather than parsing on every page load.

Working with XML more generally? Use [Convert XML to JSON](https://apyhub.com/apyhub/service/convert-xml-to-json) for arbitrary XML documents, or [Convert JSON to XML](https://apyhub.com/apyhub/service/convert-json-to-xml) for the reverse.

## Usage

Base URL: `https://api.eu.apyhub.com` (default region — see
`GET https://apyhub.com/api/public/regions` for the rest).

Authenticate with an ApyHub API key in the `apy-token` header.
Full docs and a live playground: https://apyhub.com/apyhub/service/convert-rss-to-json
