News API

News

Endpoints as written in the [documentation](https://newsapi.org/), read on 2026-11-18. Each GET route was requested once without a key on 2026-11-18 to check…

Media & content#news

Fork copies the collection into your workspace, without the publisher's secrets, so you can add your own key and send requests. Star saves it to your starred APIs (Account › Marketplace) and helps others find it.

Overview

Endpoints as written in the documentation, read on 2026-11-18. Each GET route was requested once without a key on 2026-11-18 to check it exists; see the documentation for parameters, responses and limits. Requests need an API key or token (see Authorization).

Endpoints 2

  • GETGET /v2/everything/v2/everything
  • GETGET /v2/top-headlines/v2/top-headlines

API details

Base URL
https://newsapi.org
Authentication
An API key in the apiKey query parameter
Operations
2 operations on 2 pathsGET 2
Description format
OpenAPI 3.0.3, API version 2026-11-18

How to test the News in Swastik Codes

  1. Open the APISelect “Fork & run in Swastik Codes” on this page. Sign in or create a free account if asked.
  2. Fork it into your workspaceChoose a workspace. You get your own copy of the News collection, without the publisher's secrets.
  3. Add your credentialsThis API uses an API key in the apiKey query parameter. Add yours in the collection's variables or an environment; the requests already reference it.
  4. Send a requestPick an endpoint, for example “GET /v2/everything” (GET /v2/everything), and press Send. Check the response, add tests and run the whole collection with the runner.

Frequently asked questions

What is the News?

Endpoints as written in the [documentation](https://newsapi.org/), read on 2026-11-18. Each GET route was requested once without a key on 2026-11-18 to check… It is listed under Media & content and has 2 endpoints.

Who publishes the News?

It is listed from News API's public API description (an OpenAPI document), not published by News API on Swastik Codes. Anyone who controls newsapi.org can claim the profile by adding a DNS TXT record.

What is the base URL of the News?

Requests go to https://newsapi.org. Endpoint paths are added to this base URL.

How do I authenticate with the News?

With an API key in the apiKey query parameter.

How many endpoints does the News have?

2 operations on 2 paths (2 GET).

Is forking the News free?

Yes. Forking copies the collection into your workspace for free. It has been starred 0 times and forked 0 times.

Suggest an API

Tell us which public API is missing. We check it, then add it here with its endpoints when it has an OpenAPI (Swagger) description.