canonical: https://jentic.com/apis/thenewsapi.com/thenewsapi

# The News API

Access worldwide news articles, headlines, and top stories with advanced search and filtering capabilities. The API exposes 6 endpoints secured with apiKey authentication.

## For AI agents

Programmatically get news headlines grouped by category, get top news stories. Covers 6 operations with apiKey authentication.

## Scope

Does not handle payments, communications, or crm - use for data enrichment only.

## Capabilities

- Get news headlines grouped by category
- Manage data enrichment data programmatically
- Integrate The News API into automated workflows
- Query and filter The News API records by parameters
- Monitor The News API operational status and events

## Use cases

### Data Enrichment Operations

Use the The News API to perform data enrichment operations programmatically. The API provides 6 endpoints covering core functionality including get news headlines grouped by category, get top news stories, get all news articles with search and filters.

Example prompt: Call GET /news/headlines to get news headlines grouped by category

### Automated News Management

Automate news operations by combining multiple The News API endpoints. Agents can get top news stories and then get all news articles with search and filters in a single workflow.

Example prompt: Call GET /news/top to get top news stories, then verify the result

### AI Agent Integration via Jentic

AI agents discover and call The News API endpoints through Jentic without managing credentials directly. An agent searches for the required operation by intent, receives the matching endpoint schema, and executes the call with Jentic-managed authentication. This eliminates the need to read API documentation or handle apiKey tokens manually.

Example prompt: Search Jentic for 'get news headlines grouped by category', load the operation schema, and execute with Jentic-managed credentials

## Key endpoints

| Method | Path | Description |
| --- | --- | --- |
| GET | /news/headlines | Get news headlines grouped by category |
| GET | /news/top | Get top news stories |
| GET | /news/all | Get all news articles with search and filters |
| GET | /news/similar/{uuid} | Get news articles similar to a specific article |
| GET | /news/uuid/{uuid} | Get a specific news article by UUID |
| GET | /news/sources | Get available news sources |

## Key resources

- **News** — News article endpoints
- **Sources** — News source endpoints

## Why Jentic

- **Setup:** Wiring The News API by hand means threading its api_token query parameter through every request, building your own search and filter parameters, and coding your own retries. Through Jentic you install once, import The News API from the API Directory, store the token once, and your agent calls it.
- **Permission scoping:** The News API is read-only news retrieval, so scope it by operations: limit the agent to the calls it needs, such as fetching headlines or searching all articles, and leave out any route you do not want it using. Every operation you credit it with stays inside that allowed set.
- **Credential handling:** Your The News API token is stored once, encrypted, by your own Jentic One instance and injected at execution time. It never enters the agent's prompt, logs, or context.
- **Discovery method:** Agents search Jentic by intent such as 'get top news stories' or 'find articles about a topic', and Jentic returns the matching The News API operation with its input schema so the agent calls the right endpoint without browsing the reference docs.

## Related APIs

- **Clearbit** — Alternative data enrichment API
- **Fullcontact** — Alternative data enrichment API
- **Hunter** — Complementary data enrichment API

## FAQ

### What authentication does the The News API use?

The The News API uses an API key passed in the `api_token` query. Through Jentic, these credentials are stored encrypted in your Jentic One instance and injected at execution time, so raw secrets never enter the agent context.

### Can I get news headlines grouped by category with the The News API?

Yes. Use the GET /news/headlines endpoint. The API returns structured JSON responses that agents can parse and act on directly.

### What are the rate limits for the The News API?

Rate limits are not specified in the OpenAPI spec. Check the vendor documentation for current limits. Through Jentic, rate limiting is handled automatically with retry logic built into the execution layer.

### How do I get news headlines grouped by category through Jentic?

Install the Jentic SDK with pip install jentic, authenticate through Jentic One, the self-hosted execution layer, then search for 'get news headlines grouped by category'. Jentic returns the matching The News API operation with its input schema. Load the schema and execute the call - credentials are injected automatically.

### How many endpoints does the The News API have?

The The News API exposes 6 endpoints covering news, sources operations.

### Can I limit what my agent is allowed to do with The News API?

Yes. Because Jentic One is self-hosted, you set the rules that decide which operations and credentials your agent can use. The News API is read-only news retrieval, so you scope it by operation: allow only the calls the agent needs, such as GET /news/headlines, GET /news/top, or GET /news/all, and leave out routes like GET /news/similar/{uuid}, GET /news/uuid/{uuid}, or GET /news/sources. Any operation you do not grant stays outside the agent's reach, and the stored token is injected at execution so it never enters the agent context.
