> ## Documentation Index
> Fetch the complete documentation index at: https://www.anything.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# News & Headlines

> Access global news articles and headlines

News API provides access to breaking news headlines and historical articles from over 80,000 sources worldwide.

## Overview

> [card] Create Account
>
> Sign up for a News API account

> [card] Get API Key
>
> Generate your News API key

> [card] Copy into Anything
>
> Add your API key to Anything's secrets

## Account Creation

**1. Visit News API Website**

Go to [newsapi.org](https://newsapi.org/) and click "Get API Key" in the top right corner

![](https://mintcdn.com/create/VE4G9m6I567_bcO7/images/newsapi/homepage.png?fit=max\&auto=format\&n=VE4G9m6I567_bcO7\&q=85\&s=46378f93311e4cc7447bdea1e9420537)

**2. Register for an Account**

* Fill in your name, email, and password
* Select your usage purpose (personal/academic/business)
* Accept the terms and conditions

![](https://mintcdn.com/create/VE4G9m6I567_bcO7/images/newsapi/signup.png?fit=max\&auto=format\&n=VE4G9m6I567_bcO7\&q=85\&s=04ebb65ae27ee154641c2a197affaee9)

## Generate API Key

**1. Access Your Account**

1. After registration, you'll be redirected to your account page
2. Your API key will be displayed on the dashboard

**2. Copy Your API Key**

1. Copy the API key from your dashboard
2. Keep this key secure for use in your applications

![](https://mintcdn.com/create/VE4G9m6I567_bcO7/images/newsapi/apigen.png?fit=max\&auto=format\&n=VE4G9m6I567_bcO7\&q=85\&s=0930410f5aa62da10dc00ebc9352d549)

> [!WARNING]
>
> Keep your API key secure - it grants access to your News API quota

## Add to Anything project

**1. Add the integration**

1. In your Anything project, type `/` in the chat
2. Select "News API" from the menu

**2. Add your API key**

1. Paste your News API key into the "NEWS\_API\_KEY" field

> [!TIP]
>
> Need a new key? You can find it in your News API dashboard.

**3. Use it**

You can now use prompts with the integration to access news articles and headlines.

Some examples:

* `Get the latest technology news with /NewsAPI`
* `Find articles about climate change using /NewsAPI`
* `Create a news aggregator app with /NewsAPI`

> [!WARNING]
>
> Free tier has limitations (100 requests/day, no historical data) - consider upgrading for production use.

Example prompt for optimization:

```
When using /NewsAPI, save the news articles so my app doesn't have to fetch them again
```

> [!TIP]
>
> Your News API integration is now ready! Use the `/NewsAPI` command in chat to access global news.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.