Free plan

Read a feed or sitemap

Read a news feed or website sitemap as a simple list
POST
/v1/documents/feed

About this tool

A feed is the list of articles a website publishes so people can follow it; a sitemap is a list of a site's pages. This tool reads one, from a web address or from pasted text, and gives you a single list of entries. You can keep only recent entries or ones with a word, sort them, limit how many, and save as a CSV file for spreadsheets.
For example, you read a blog's feed and keep only the articles from this month that mention a certain word.

How to use it

  1. Choose this tool.
  2. Type the web address of the feed or sitemap, or paste its text.
  3. Set filters if you want: dates, a word to look for, order and how many entries.
  4. Press Generate.
  5. Read the list on screen or download the CSV file.

What you get back

You get a list of entries with title, link, date and summary. You can read it on screen or download it as a CSV file.
GOOD TO KNOW
Counts as one document.
TEST IT LIVE

Try Read a feed or sitemap in the Studio

One click opens the Studio with this tool already selected. Add your file and see the result in seconds.
Open in the Studio
Family
Documents
Plan
Free
Method
POST
Endpoint
/v1/documents/feed
Tool ID
documents.feed
Authentication
API key
Accepts
Text and settings
Background jobs
Yes
Usage group
Documents
For developers

Use it from your code

cURL

curl -X POST "https://app.h2i.davixlabs.io/v1/documents/feed" \
  -H "X-Api-Key: $DAVIX_H2I_API_KEY" \
  -F 'url=https://example.com/feed.xml' \
  -F 'kind=auto' \
  -F 'sort=source'

Node.js

const { DavixH2I } = require('@davixlabs/h2i-sdk');

const h2i = new DavixH2I({ apiKey: process.env.DAVIX_H2I_API_KEY, baseUrl: process.env.DAVIX_H2I_URL });
const result = await h2i.documents.feed({
    "url": "https://example.com/feed.xml",
    "kind": "auto",
    "sort": "source"
  });
console.log(result.data, result.requestId);

PHP

<?php
require 'vendor/autoload.php';

$h2i = new \Davix\H2I\Client(['apiKey' => getenv('DAVIX_H2I_API_KEY'), 'baseUrl' => getenv('DAVIX_H2I_URL')]);
$result = $h2i->documents()->feed([
    'url' => 'https://example.com/feed.xml',
    'kind' => 'auto',
    'sort' => 'source',
]);
echo $result->requestId;
FAQ

Frequently asked questions

Read an RSS, Atom or JSON feed or a sitemap (a web address or the text itself) into one list of entries, filtered by date and word, sorted, cut to a limit, as data or a CSV file. The address is fetched with the same guard as every other URL input.

Read a feed or sitemap works from text and settings, so no file is needed. Every input is optional.

Read a feed or sitemap is included in every plan, including Free. Each run uses credits from your monthly allowance.

Send a POST request to /v1/documents/feed with your API key in the X-Api-Key header. Official SDKs for Node.js, Python, PHP, Go, Java, .NET and Ruby do the same for you, and the code box on this page shows ready-to-copy examples. For large work it can also run as a background job, so your request returns straight away.