Skip to main content

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 API provides access to breaking news headlines and historical articles from over 80,000 sources worldwide.

Overview

Create Account

Sign up for a News API account

Get API Key

Generate your News API key

Copy into Anything

Add your API key to Anything’s secrets

Account Creation

1

Visit News API Website

Go to newsapi.org and click “Get API Key” in the top right corner
2

Register for an Account

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

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
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
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
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
Your News API integration is now ready! Use the /NewsAPI command in chat to access global news.