NewsAPI® - The Best API for News | Start now for Free!

NewsAPI

FREE
By raygorodskij
Updated 9 months ago
News, Media
9.1/10
Popularity Score
297ms
Latency
100%
Success Rate

NewsAPI API Documentation

News API is a simple and easy-to-use API that returns JSON metadata for the headlines currently published on a range of news sources and blogs.

View API Details
POSTgetArticles
POSTgetSources
POSTgetArticles

Provides a list of live article metadata from a news source or blog.

Header Parameters
X-RapidAPI-HostSTRING
REQUIRED
X-RapidAPI-KeySTRING
REQUIRED
Required Parameters
apiKeyCREDENTIALS
REQUIREDAPI key.
newsSourceSTRING
REQUIREDThe identifer for the news source or blog you want headlines from. Use the getArticles endpoint to locate this.
Optional Parameters
typeOfListSELECT
OPTIONALSpecify which type of list you want.Note: not all options are available for all sources.
Code Snippet
Install SDK
Response ExampleSchema

Install SDK for (Node.js)Unirest

OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication