RapidAPI logo

Sign Up

Log In

Top News & Publication APIs

APIs that provide the latest news and stories.
Supercharge your AppSupercharge your AppDiscover and connect to thousands of APIs in the world's largest API Hub
Top News & Publication APIs

Integrate the top trending news and publications into your app or website by using these popular News APIs. Grab top stories from sources like CNN, Techcrunch, Business Insider, Bloomberg, and more.

Log inSign up

Install SDK for NodeJS

Installing

To utilize unirest for node.js install the the npm module:

$ npm install unirest

After installing the npm package you can now start simplifying requests like so:

var unirest = require('unirest');

Creating Request

unirest.("https://")
.header("X-RapidAPI-Key", "SIGN-UP-FOR-KEY")
.header("Content-Type", "application/x-www-form-urlencoded")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication