News API
News API is a simple, easy-to-use REST API that returns JSON search results for current and historic news articles published by over 150,000 worldwide sources.
news-apivcatalog-v13 tools
Authentication
| Method | Kind | Status | Details |
|---|---|---|---|
| API Key | api_key | available | — |
Call a tool
import { createClient } from "@open-connector/sdk";const oc = createClient({ baseUrl: "https://api.openconnector.dev", apiKey: process.env.OPEN_CONNECTOR_API_KEY!,});const result = await oc.executeTool({ slug: "NEWS_API_EVERYTHING", connectedAccountId: "conn_...", arguments: { /* match this tool's input schema */ },});import Composio from "@composio/client";const composio = new Composio({ baseURL: "https://api.openconnector.dev/composio", apiKey: process.env.OPEN_CONNECTOR_API_KEY!,});const result = await composio.tools.execute("NEWS_API_EVERYTHING", { connected_account_id: "conn_...", arguments: { /* match this tool's input schema */ },});oc tools execute NEWS_API_EVERYTHING --data '{ }'Tool catalog
Available tools
3 callable operations
Search all news articlesNEWS_API_EVERYTHINGSearches News API's indexed articles by keyword, source, domain, language, date, and sorting criteria.Connection
Searches News API's indexed articles by keyword, source, domain, language, date, and sorting criteria.
Authentication
Connected account requiredTags
newssearcharticles
List news sourcesNEWS_API_SOURCESLists the news publishers available through News API.Connection
Lists the news publishers available through News API.
Authentication
Connected account requiredTags
newssources
Get top headlinesNEWS_API_TOP_HEADLINESReturns breaking headlines filtered by country, category, source, or keyword.Connection
Returns breaking headlines filtered by country, category, source, or keyword.
Authentication
Connected account requiredTags
newsheadlines