APITube Help Center

How to Turn a News Search into an RSS Feed

Follow a news search in your RSS reader

Jacob Partington

Written by Jacob Partington

June 27, 2026

Updated October 16, 2026

Open this example in the API Playground ↗

How to turn a news search into an RSS feed

Add export=rss to a /v1/news/everything request to get an RSS 2.0 feed. It contains the articles that match your search and works with standard feed readers. RSS export requires a paid plan.

curl "https://api.apitube.io/v1/news/everything?title=bitcoin&export=rss&api_key=YOUR_API_KEY"

You can send your key through api_key or the X-API-Key header. The feed’s content type is application/xml; charset=utf-8.

What does export=rss return?

The feed has the title “APITube News Feed” and the description “Latest news articles from APITube News API”. Each article becomes an <item> with these fields:

  • <title>: the headline.
  • <link> and <guid>: the article URL.
  • <description>: the article description.
  • <pubDate>: the publication date.

The response includes Content-Disposition: inline; filename="rss.xml". Your search filters decide which articles appear.

Choose your keywords, language, sources or dates, then add export=rss. This example finds English headlines about electric vehicles and excludes a word:

curl "https://api.apitube.io/v1/news/everything?title=electric vehicle&language.code=en&ignore.title=opinion&export=rss&api_key=YOUR_API_KEY"

For more complex searches, add a query parameter. See how to use AND, OR and NOT in news search.

How to control how many items appear in the feed

A feed contains one page of results. Set per_page to choose its size: up to 250 on Professional and Corporate, 200 on Basic or 50 on Starter. A value above your plan’s limit returns 400 ER0171.

curl "https://api.apitube.io/v1/news/everything?title=bitcoin&per_page=100&export=rss&api_key=YOUR_API_KEY"

Use page to request another page. See how to paginate through results for the full rules.

How to subscribe to the feed

To save the feed as a file:

curl "https://api.apitube.io/v1/news/everything?title=bitcoin&export=rss&api_key=YOUR_API_KEY" -o bitcoin.xml

To subscribe, paste the full request URL into your feed reader, including api_key and export=rss. The reader checks that URL for new articles. Each check uses your API key and counts as a request.

Keep the URL private: anyone who has it can use your key. You can find other export options in the official News API parameter reference.

Common Questions

Which RSS version does the feed use?

RSS 2.0, with content type application/xml; charset=utf-8 and filename rss.xml.

Can I change the feed title or description?

No. Every feed uses “APITube News Feed” and “Latest news articles from APITube News API”. Your filters change the articles in the feed.

Do my search filters still work with export=rss?

Yes. RSS uses the same title, query, language, source and date filters as a JSON search. The parameter changes the response format.

What other export formats are available?

Use CSV, TSV, XML, XLSX, JSONL, NDJSON or Parquet. Leave out export, or use export=json, for JSON.


Related Articles