Convert RSS to JSON API
ApyHub
150 atoms
Base tier
About
This API lets you upload and transform RSS feeds into JSON files.
With this API, you can transform any raw RSS data into structured JSON files, enabling integration and manipulation of any content. In addition, the service is able to ensure minimal to no loss in the formatting and data during the conversion process. This enables developers to work with RSS data in a more efficient and standardized manner.
Try out the RSS to JSON Converter API in the API playground for free, improve your workflow, and reduce JSON conversion errors with a simple API call.
Select API Endpoints
Input
API Playground
API Documentation
SUBMIT RSS FILE
POST
https://api.apyhub.com/convert/rss-file/json
Request example
The method lets you pass a RSS feed file and returns the converted JSON as an output.
Method:
POST
Content Type:
multipart/form-data
Query Parameter(s)
Attribute | Type | Mandatory | Description |
---|---|---|---|
detailed | boolean | No | The value can either be true or false . Set it true to get detailed version of json, it is default to false . |
Request Body
Attribute | Type | Mandatory | Description |
---|---|---|---|
file | File | Yes | The source rss file. |
Response
Attribute | Type | Description |
---|---|---|
version | String | The URL of the version of the format the feed uses. |
title | String | The name of the feed, which will often correspond to the name of the website . |
description | String | Provides more detail, beyond the title, on what the feed is about. A feed reader may display this text. |
home_page_url | String | The URL of the resource that the feed describes. |
feed_url | String | The URL of the feed, and serves as the unique identifier for the feed. |
date_modified | String | Specifies the modification date. |
date_published | String | Specifies the published date. |
authors | Array of Authors Objects | This specifies the feed author. The author object has several members defined below. |
authors[a].name | String | The author’s name. |
authors[a].email | String | Email address of the author. |
language | String | This is the primary language for the feed in the format specified in RFC 5646. The value is usually a 2-letter language tag from ISO 639-1, optionally followed by a region tag. (Examples: en or en-US). |
icon | Array of Icon Objects | The URL of an image for the feed suitable to be used in a timeline, much the way an avatar might be used. |
icon[a].url | String | The URL of the image. |
icon[a].title | String | The title of the image. |
copyright | String | The copyright of the webpage. |
generator | String | The generator used for the feed. |
tags | Array of Strings | The categories of the feeds it contains. |
dublin_core_extensions | Array of Strings | Dublin Core is an international metadata standard formally known as the Dublin Core Metadata Element Set and includes 15 metadata (data that describes data) terms. These terms offer expanded cataloging information and improved document indexing for search engine programs. |
itunes_extensions | Array of Strings | In order to get some iTunes(for Apple devices) specific information about the various podcasts or feeds stored in the Directory (like duration, if the content is explicit, and so on). |
extensions | Array of Strings | The custom extension's used in the feed. |
custom | Array of Strings | Publishers can use custom objects in feeds. Custom objects can appear anywhere in a feed. |
items | Array of Items Objects | An array of objects that describe each object in the list. |
items[a].id | String | It is unique for that item for that feed over time. If an item is ever updated, the id should be unchanged. New items should never use a previously-used id. |
items[a].title | String | The title of the item. |
items[a].summary | String | It is a plain text sentence or two describing the item. |
items[a].content_html | String | This is the HTML or plain text of the item. Important: the only place HTML is allowed in this format is in content_html. |
items[a].url | Array of Strings | the URL of the resource described by the item. It’s the permalink. |
items[a].date_modified | String | Specifies the modification date. |
items[a].date_published | String | Specifies the published date. |
items[a].authors | Array of Authors Objects | This specifies the item author. The author object has several members defined below. |
items[a].authors[b].name | String | The author’s name. |
items[a].authors[b].email | String | Email address of the author. |
items[a].image | Array of Image Objects | It is the URL of the main image for the item. |
items[a].image[b].url | String | The URL of the image. |
items[a].image[b].title | String | The title of the image. |
items[a].tags | Array of Strings | Tags tend to be just one word, but they may be anything. Note: they are not the equivalent of Twitter hashtags. Some blogging systems and other feed formats call these categories. |
items[a].attachments | Array of Attachments Objects | Lists of related resources. Would include an attachment that’s an audio or video file. Each attachment has several members described below. |
items[a].attachments[b].url | String | Specifies the location of the attachment. |
items[a].attachments[b].length | String | The length on attachment. |
items[a].attachments[b].mime_type | String | specifies the type of the attachment, such as “audio/mpeg.” |
items[a].dublin_core_extensions | Array of Strings | Dublin Core is an international metadata standard formally known as the Dublin Core Metadata Element Set and includes 15 metadata (data that describes data) terms. These terms offer expanded cataloging information and improved document indexing for search engine programs. |
items[a].itunes_extensions | Array of Strings | In order to get some iTunes(for Apple devices) specific information about the various podcasts or items stored in the Directory (like duration, if the content is explicit, and so on). |
items[a].extensions | Array of Strings | The custom extension's used in the items. |
items[a].custom | Array of Strings | Publishers can use custom objects in items. Custom objects can appear anywhere in a items. |
Sample Response
If the
detailed
parameter is set to true
, the API will return descrivtive json data attribute indicating the type of data associated with the URL.HTTP Response Codes
The method may return one of the following HTTP status codes:
Status Code | Description |
---|---|
200 | The request was successful. |
400 | Request is invalid or url is not accessible. |
401 | Required authentication information is either missing or not valid for the resource. |
500 | There was an error in processing this request |
Authentication
All API requests to ApyHub services need to be authenticated. Currently we support
tokens
or basic authentication
mechanisms.
You can generate and view your existing credentials from your workspace settings (on the left side of the navbar) and go to “API Keys".Points to note:
- Credential secrets are generated on the fly and are not stored in plain text, so on generating a credential please save the secrets somewhere safe.
- Use the
apy-token
as the header parameter to pass the token. - Use the
Authorization
header to send the basic authentication credentials.
Error codes
To search for a specific error code, enter the code in the search box below. Alternatively, you can click on the button to view a complete list of all error codes.
Table of contents