By japerk
Updated 5 months ago
Popularity Score
Success Rate
cemdev5 years ago
403 ForbiddenI'm getting a 403 forbidden error on what looks like all queries to this API now. Was running fine. Request headers tell me I still have 42k of 45k requests left.
japerk5 years ago
Sorry I didn't see this before, I think it has to do with Mashape's latest upgrade. You'll need to upgrade your client library to use Unirest, and make sure you're using the right keys. If you've done this and are still getting 403's, please let me know.
edwinvm5 years ago
I came to the support page for this same issue. All of the sudden I'm getting 403 forbidden errors in my application. I noticed the API key on the documentation page (after logging in) has been changed, however even with the new key I keep getting forbidden errors. The test console on the documentation page for testing the endpoints also return a 403 forbidden in the browser.
Hi Developer, feel free to post your answer:

Install SDK for NodeJS


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

.header("X-RapidAPI-Host", "japerk-text-processing.p.rapidapi.com")
.header("X-RapidAPI-Key", "SIGN-UP-FOR-KEY")
.header("Content-Type", "application/x-www-form-urlencoded")
.send("text=California is nice")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication