News API guides and tutorials

These 6 guides show you how to use World News API with complete, runnable code: a Python client, a Node.js client with a server-side proxy, getting a free API key, reading Google News RSS feeds, news sentiment analysis and feeding current news into an LLM (RAG). Every guide states what it costs in points, and each one fits inside the free plan's 50 points a day.

  • Base URL: https://api.worldnewsapi.com, plain HTTPS requests that return JSON (RSS for feed.rss); all are GET except Suggest News Source (POST).
  • Authentication: your key in the x-api-key header or the api-key query parameter (authentication docs).
  • Free plan: 50 points a day, 1 request per second, 1 concurrent request, the last month of news, backlink required.
  • Search News costs 1 point plus 0.01 points per result and returns up to 100 results per request.
  • The code uses Python 3.9+ with requests, or Node.js 18+ with the built-in fetch. No SDK is required.

All guides

  • News API in Python
    A requests client with filters, pagination with offset and number, retries on 429 with backoff, then the official worldnewsapi SDK.
  • News API in JavaScript and Node.js
    Node 18+ fetch, why the key must stay on a server, a small proxy with node:http and an async pager.
  • Free news API key
    How to get a key, what the free plan includes, what 50 points buy, how to read the quota headers and when to upgrade.
  • Google News RSS feeds
    Tested URL formats and search parameters, the 100-item cap, the terms, parsing in Python, and when to switch to an API.
  • News sentiment analysis in Python
    Filter with min-sentiment and max-sentiment and average daily sentiment per company, with plain Python or pandas.
  • News data for RAG
    Fetch recent articles, chunk the text, keep URL, title and date as metadata, rank chunks and make the model cite its sources.

Which guide do you need?

You want toStart withPoints used by the guide
Try the API before writing codeFree news API keyabout 3
Build a backend job, notebook or scriptPythonabout 8
Show news in a web appJavaScript and Node.jsabout 8
Replace a Google News RSS feedGoogle News RSS0 for the RSS part, about 3 for the API part
Track how coverage of a company changesSentiment analysisabout 11
Answer questions about current events with an LLMNews data for RAG1.5 per question

Before you start

  1. Create a free account in the console and confirm your email address. The API stays closed until you confirm it.
  2. Copy your key from the console and put it in an environment variable, for example WORLD_NEWS_API_KEY. The guides read it from there and fall back to the placeholder YOUR_API_KEY.
  3. Keep the Search News reference open. It lists every filter, and the quota page explains points and rate limits.

If you work in another language, the SDK page lists clients for 21 languages, and the OpenAPI file lets you generate your own. AI agents can use the MCP server instead of code.

Frequently asked questions

Can I follow these guides on the free plan?

Yes. Each guide states its cost in points, and the most expensive one uses about 11 of the 50 points the free plan gives you each day.

Do I need an SDK?

No. Every endpoint is a plain HTTPS request (all GET except Suggest News Source), so Python requests or the fetch built into Node.js 18+ is enough. The Python guide also shows the official worldnewsapi SDK.

Where do I get an API key?

Sign up in the World News API console at worldnewsapi.com/console, confirm your email address and copy the key from your profile. No credit card is needed.

Last updated November 22, 2026 by the World News API team. Spotted an error? Tell us at [email protected] or on Discord.

More from World News API

  • Compare news APIs
    World News API next to NewsAPI.org, NewsData.io, GNews, Mediastack and others.
  • Guides
    Step-by-step tutorials with working code.
  • Use cases
    AI agents, finance, media monitoring and research.
  • Documentation
    Every endpoint with parameters, examples and quotas.

Get a free API key