Free Coupon Codes

FREE
By Cashnjoy.com
Updated 4 months ago
Commerce
8.8/10
Popularity Score
1851ms
Latency
100%
Success Rate

Free Coupon Codes API Documentation

Get Free Coupons Code API for your website. Indian website offers. You can offer Cashbacks too, just by adding another parameter. Simply register at cashnjoy.com to generate your Site ID and start earning commissions on E-commerce sales. More than 100 biggest webstores' offers.

View API Details
GET/api/vcodes-api.php?siteid={siteid}
GET/api/vcodes-api.php?siteid={siteid}

Free Coupon Codes

Header Parameters
X-RapidAPI-HostSTRING
REQUIRED
X-RapidAPI-KeySTRING
REQUIRED
Required Parameters
siteidSTRING
REQUIREDSite ID generated by Cashnjoy.com on registration. This identifies and attributes the transaction to particular website
Code Snippet
unirest.get("https://cashnjoy-com-free-coupon-codes-v1.p.rapidapi.com/api/vcodes-api.php?siteid=zi00001")
.header("X-RapidAPI-Host", "cashnjoy-com-free-coupon-codes-v1.p.rapidapi.com")
.header("X-RapidAPI-Key", "SIGN-UP-FOR-KEY")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
Sample Response
General
Request URL: https://cashnjoy-com-free-coupon-codes-v1.p.rapidapi.com/api/vcodes-api.php?siteid={siteid}
Request Method: GET
Response Headers
Response Body

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.get("https://cashnjoy-com-free-coupon-codes-v1.p.rapidapi.com/api/vcodes-api.php?siteid=zi00001")
.header("X-RapidAPI-Host", "cashnjoy-com-free-coupon-codes-v1.p.rapidapi.com")
.header("X-RapidAPI-Key", "SIGN-UP-FOR-KEY")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication