How to use news api?

hi everyone. i am trying to use news api, i have a node http request, do you know how to fetch latest news using the api key that was given by news api?

It looks like your topic is missing some important information. Could you provide the following if applicable.

  • n8n version:
  • Database (default: SQLite):
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • Running n8n via (Docker, npm, n8n cloud, desktop app):
  • Operating system:

Hi @Everett_Sobinsky ,

Following News API documentation, you need to insert your API key in the request url i.e pass it as a query parameter - Get started - Documentation - News API

ex: GET https://newsapi.org/v2/top-headlines?country=us&apiKey=API_KEY

or

2 Likes

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.