Skip to content

Start building

Integration · Web search and research

AI agents for NewsAPI

Search news articles from over 150,000 news sources and blogs with NewsAPI.org: today's top headlines by country, category or source, every article matching keywords in a date range, and the list of sources.

Actions
3
Read
3
Write
0

Actions

What your agents can do in NewsAPI

Search news articles from over 150,000 news sources and blogs with NewsAPI.org: today's top headlines by country, category or source, every article matching keywords in a date range, and the list of sources. Each article comes with its source, author, title, description, address, image and publish time.

Read 3

Look things up. Nothing changes.

  • Get top headlines

    Returns today's breaking and top headlines: live front-page articles for a country and category, or from chosen sources, newest first, with totalResults.

  • Search all articles

    Searches every article NewsAPI has indexed (up to 5 years back on paid plans, a month on the free plan) for keywords, and returns matching articles with totalResults.

  • List news sources

    Lists the news publishers available for top headlines, each with id (to use in sources), name, description, url, category, language and country.

Write 0

Create, change or send.

This tool only reads, so nothing in it changes.

Read only

Every action here only reads, so an agent can look things up in NewsAPI but cannot change anything there.

Connection

How it connects

Connect it once in the console, then give it to the agents and workflows that need it.

API key

Paste an API key from your NewsAPI account.

What you enter

  • API key

Kept safe

  • Credentials are stored encrypted with your organization's own keys.
  • They are opened only by the process that makes the call, at the moment it runs, and never go into a prompt or the browser.
  • Calls go only to the tool's own servers.

How we protect your data

Ideas

Ideas to start with

Starting points made only from the actions above. Mix them with any other tool your agents can use.

  • 01

    Ask about your NewsAPI data

    Ask a question in plain words. The agent can get top headlines, search all articles or list news sources in NewsAPI, then answers with what it found.

  • 02

    Share what it finds in Slack

    Give one agent NewsAPI and Slack: it can get top headlines in NewsAPI and post a summary to a Slack channel in the same run.

  • 03

    Run it as a workflow step

    Add "Get top headlines" to a workflow, and it runs in NewsAPI the same way every time, with or without an agent.

FAQ

NewsAPI and MyDeepAgents

Can MyDeepAgents connect to NewsAPI?

Yes. The NewsAPI connector has 3 actions, all of which only read. Your agents can call them as tools, and your workflows can run them as steps.

How do I connect NewsAPI?

Paste an API key from your NewsAPI account. You'll need: API key. Credentials are stored encrypted with your organization's own keys and are opened only at the moment of a call.

Can an agent change data in NewsAPI without asking?

No. Every NewsAPI action only reads, so an agent can look things up there but cannot change anything.

Can I use NewsAPI in workflows as well as agents?

Yes. Every NewsAPI action also works as a step in a workflow, and the same connection serves your agents and your workflows.

Early access

Put NewsAPI to work

Connect it in a few minutes, give an agent the actions it needs, and decide which changes wait for a person.