The News API

TheNews

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

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 8

  • GETGET /v1/news/all/v1/news/all
  • GETGET /v1/news/headlines/v1/news/headlines
  • GETGET /v1/news/similar/uuid/v1/news/similar/uuid
  • GETGET /v1/news/similar/{id}/v1/news/similar/:id
  • GETGET /v1/news/sources/v1/news/sources
  • GETGET /v1/news/top/v1/news/top
  • GETGET /v1/news/uuid/uuid/v1/news/uuid/uuid
  • GETGET /v1/news/uuid/{id}/v1/news/uuid/:id

API details

Base URL
https://api.thenewsapi.com
Authentication
An API key in the api_token query parameter
Operations
8 operations on 8 pathsGET 8
Description format
OpenAPI 3.0.3, API version 2026-11-18

How to test the TheNews 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 TheNews collection, without the publisher's secrets.
  3. Add your credentialsThis API uses an API key in the api_token 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 /v1/news/all” (GET /v1/news/all), and press Send. Check the response, add tests and run the whole collection with the runner.

Frequently asked questions

What is the TheNews?

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

Who publishes the TheNews?

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

What is the base URL of the TheNews?

Requests go to https://api.thenewsapi.com. Endpoint paths are added to this base URL.

How do I authenticate with the TheNews?

With an API key in the api_token query parameter.

How many endpoints does the TheNews have?

8 operations on 8 paths (8 GET).

Is forking the TheNews 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.