SlideShare a Scribd company logo
1 of 23
Download to read offline
About INRDeals API's
Since 2016, INRDeals has been serving as an innovative ad-network that has been bridging the
gap in the affiliate industry by introducing fully managed affiliate services along with a super
simple tracking system that is built inhouse & is bundled with an innovative set of tools which
enables bloggers, influencers, website owner or anyone with an active social media profile to run
ad campaigns with zero technical knowledge and instantly earn & monetize from their existing
network & traffic!
INRDeals offers different API that enables its publishers to unleash their creativity and design
innovative products that can drive them million-dollar revenues! These API's enable users to
design website & apps like:
 Deals Website/App
 Niche Specific Blog
 Coupon Website/App
 Cashback Website/App
 Product Review Website/App
 Best Selling Product Website/App
 Price Comparison Website/App
 Product Discovery Website/App
 All in One Shopping App
 All in One Browser
 Employee incentive Program
 Gift Card Website & the list goes on and on…
INRDeals has already empowered over 16,000+ Publishers who have crafted awesome products,
integration of these API's is very easy just go through the list of available API & see which one
fits your needs!
In case you have any question or doubt you can connect directly with our support team by
emailing on info@inrdeals.com or calling on: +91 9018077255
INRDeals Affiliate Tracking URL Structure:
https://inr.deals/track?id={inrdealsusername}&src=api&campaign={campaigntype}&url={enco
ded_url}&subid={subid}
Available Parameters:
Parameter Description
id* This parameter is the username at INRDeals, it is a mandatory parameter required
for tracking a transaction against a particular user. The id is an alpha numeric value
available under user’s account settings.
src This parameter is meant to track the source from where the user has generated the
tracking link. Although this parameter is not mandatory but is highly
recommended.
campaign This parameter is used to separate different campaigns offered by same advertiser,
if the advertiser has multiple campaigns running (eg: CPS (Cost per Sale) and CPV
(Cost per Visit)) both can be filtered out by passing the appropriate values in the
campaign type. The various values accepted for campaign parameter are: cpl, cps,
cpv, cpr, cpc, cpm, cpa.
url* This parameter is the used to pass the url for which the affiliate tracking link has to
be generated. The url passed can be deeplink or link to the advertiser’s homepage.
URL parameter works with both urls, with or without http/https. The destination
URL has to be encoded.
subid SubID parameter allows you to pass additional information when a user click on
the affiliate link further if a transaction take place you also receive a subid in your
transaction reports. By default the system allows 1 subid however addition subid
can be requested from your account manager.
Protip: To generate link of all the stores at once you can go the store page on INRDeals &
download the CSV/Excel file.
Coupons API
Get Store wise & Category wise Latest Coupons & Offers
Link: https://inrdeals.com/api/v1/coupon-feed
Method:- GET
Parameter Type Description
store_id number INRDeals Merchant ID eg: 65 for Flipkart
search string Store Name eg: Swiggy, Flipkart
category string Store Category eg: Food, Recharge
token* string INRDeals API Token
id* String INRDeals Username
end_date date Start of Date Range within which coupons where added
start_date date End of Date Range within which coupons where added
This API is used to show latest coupon codes along with the detailed information about the offer,
it's terms & conditions, expiry date of the coupons along with the your own affiliate tracking link
for the merchant's offer page. The Output of the API is structured in such a way the it can be
instantly integrated with any existing web application.The API also features a search by store
and search by category feature which can be used to output the corresponding result.
List of Popular Store with their Store ID:
Store Name Store ID
Paytm 228
Amazon 1
Bookmyshow 252
Cleartrip 33
Dominos 46
Flipkart 65
Freecharge 74
Freshmenu 75
Zoomcar 80
Zivame 84
Godaddy 86
Jabong 119
Koovs 129
Swiggy 167
Makemytrip 173
Mobikwik 180
Myntra 193
Shopclues 195
Phonepe 1545
Nearbuy 200
Printvenue 242
Fernsnpetals 247
Pizza Hut 266
Bigrock 253
Foodpanda 268
Uber 278
Ola 297
Zomato 298
Grofers 325
Yatra 328
Cafe Coffee Day 388
Sample Response:
{
"result": {
"current_page": 1,
"data": [
{
“id”: 4567
"url": "https://inr.deals/track?id=inr_username&src=coupon-feed-
api&url=https://www.swiggy.com/",
"label": "30% OFF",
"offer": "Flat 30% OFF From Swiggy Via HDFC PayZapp Card",
"coupon_code": "PAYZAPP100",
"steps": "0",
"description": " <li>Use code PAYZAPP100 & get 30% discount up
to Rs.100 on your orders above Rs.199.</li> <li>Offer valid twice
per user per month</li>",
"expire_date": "2020-01-31 00:00:00",
Paytm Movies 595
Paytm Bus 599
Paytm Recharge 596
Goibibo 603
Nykaa 206
"storelogo_id": 167,
"categories": "food",
"logo": {
"id": 167,
"store_name": "Swiggy"
}
},
{
“id”: 345689
"url": "https://inr.deals/track?id=inr_username&src=coupon-feed-
api&url=https://www.swiggy.com/",
"label": "25% OFF",
"offer": "Flat 25% OFF On Food Order Via AU Bank Debit Card",
"coupon_code": "AUBANK125",
"steps": "0",
"description": "0",
"expire_date": "2020-01-31 00:00:00",
"storelogo_id": 167,
"categories": "food",
"logo": {
"id": 167,
"store_name": "Swiggy"
}
},
{
“id”: 9065432
"url": "https://inr.deals/track?id=inr_username&src=coupon-feed-
api&url=https://www.swiggy.com/",
"label": "50% OFF",
"offer": "Flat 50% OFF On First 5 Orders (Web & App, Valid In Select Cities)",
"coupon_code": "WELCOME50",
"steps": "0",
"description": " <li>Order delicious food with the latest Swiggy
Coupons.</li> <li>Get flat 50% off on your first 5 orders from the website
& app.</li> <li>You can save up to Rs 100 per order using this new
user offer, on a minimum order value of Rs 99.</li> <li>Valid in selected cities
across India.</li> <li>This is valid for online payments like net-banking, credit
& debit cards, or mobile wallets (viz. Paytm, Mobikwik, etc.) including
COD.</li>",
"expire_date": "2020-04-01",
"storelogo_id": 167,
"categories": "food",
"logo": {
"id": 167,
"store_name": "Swiggy"
}
},
{
“id”: 567788
"url": "https://inr.deals/track?id=inr_username&src=coupon-feed-
api&url=https://www.swiggy.com/",
"label": "60% OFF",
"offer": "Flat 60% OFF On First Order (Web & App - Select Cities &
Restaurants)",
"coupon_code": "WELCOME60",
"steps": "0",
"description": " <li>Avail Flat 60% OFF on your first order from
website and app.</li> <li>You can save up to Rs 120 per order on the new
user order </li> <li>Minimum cart value - Rs 99</li>
<li>Valid only in selective cities and restaurants across India.</li>",
"expire_date": "2020-04-01",
"storelogo_id": 167,
"categories": "food",
"logo": {
"id": 167,
"store_name": "Swiggy"
}
},
{
"url": "https://inr.deals/track?id=inr_username&src=coupon-feed-
api&url=https://www.zomato.com",
"label": "50% OFF",
"offer": "Zomato Hello 2020 Offer - Get 50% OFF",
"coupon_code": "HELLO2020",
"steps": "0",
"description": "0",
"expire_date": "2020-04-03",
"storelogo_id": 298,
"categories": "food",
"logo": {
"id": 298,
"store_name": "Zomato"
}
},
{
“id”: 567904
"url": "https://inr.deals/track?id=inr_username&src=coupon-feed-
api&url=https://pizzaonline.dominos.co.in",
"label": "Upto 40% OFF",
"offer": "Saturday Special Offer - Up To 40% Off On All Pizzas",
"coupon_code": "SATURDAY100",
"steps": "0",
"description": "0",
"expire_date": "2020-04-03",
"storelogo_id": 46,
"categories": "food",
"logo": {
"id": 46,
"store_name": "Dominos"
}
},
{
“id”: 8906543
"url": "https://inr.deals/track?id=inr_username&src=coupon-feed-
api&url=https://www.makemytrip.com/flights",
"label": "Rs.10000 OFF",
"offer": "Christmas Sale On Malaysia Airlines - Get Up To Rs 10000 OFF",
"coupon_code": "MMTMH",
"steps": "0",
"description": " <li>Great ticket fares on <span class="ner-16 ner-
m">Malaysia Airlines.</span></li> <li>Get <span class="ner-
12"> up </span> <span class="ner-12"> to </span> <span
class="ner-11"> Rs </span> <span class="ner-11"> 10000 </span>
<span class="ner-11"> off. </span></li>
<li>Offer is valid on Malaysia Airlines only</li> <li><span class="ner-10
ner-m">Booking period: </span>2nd Jan - 20th Jan'20</li>
<li><span class="ner-1 ner-m">Travel Period:</span> 2nd
Jan - 31st Dec'20</li> <li>Use the given MMT <span> discount
</span> code for availing the discount.</li>",
"expire_date": "2020-01-20 00:00:00",
"storelogo_id": 173,
"categories": "travel",
"logo": {
"id": 173,
"store_name": "Makemytrip(Domestic Flights)"
}
},
{
“id”: 56789900
"url": "https://inr.deals/track?id=inr_username&src=coupon-feed-
api&url=https://www.swiggy.com/",
"label": "Hot Deal",
"offer": "Order Shawarmas @ Best Price",
"coupon_code": "",
"steps": "0",
"description": "0",
"expire_date": "2020-03-25",
"storelogo_id": 167,
"categories": "food",
"logo": {
"id": 167,
"store_name": "Swiggy"
}
}
],
"first_page_url": "http://inrdeals.com/api/v1/coupon-feed?page=1",
"from": 1,
"last_page": 2,
"last_page_url": "http://inrdeals.com/api/v1/coupon-feed?page=2",
"next_page_url": "http://inrdeals.com/api/v1/coupon-feed?page=2",
"path": "http://inrdeals.com/api/v1/coupon-feed",
"per_page": 50,
"prev_page_url": null,
"to": 50,
"total": 81
}
}
Response codes
Code Description
500 internal server error
404 not found
400 bad request
302 found
204 no content
202 accepted
Code Description
200 ok
Transaction API
This API can be used to fetch the date wise transaction reports of your account, this also includes
information about of any subid that has been passed. Further you can store this data and show the
same to your users. You can also filter data based on your Transaction ID & Sub ID.
Link: https://inrdeals.com/fetch/reports
Method:- GET
Parameter Type Description
token* string As given by your Account Manager
id* string use Your INRDeals Username.
startdate* date The Date from which you want the Transactions Report.
Only Accepted date format is YYYY-mm-dd
Page
sub_id
Number
string
Page Number of the records to be fetched. Useful in pagination
Sub ID passed in the tracking link
enddate* date The Date till which you want the Transactions Report.
Only Accepted date format is YYYY-mm-dd
txn_id string Transaction ID at INRDeals Panel for an Order Recorded
The Get Transactions API helps you fetch all the Transactions in a specific date range along with
subids with maximum time period of 4 months.
Supported Format JSON.
Return value The JSON object returned by the system will provide an array of transactions.
Rate Limit As a fair usage policy the API hits is limited to 10,000 hits/month, It is
recommended to store the data in your own database & then show it to your users
Sample Response
{
"result": {
"current_page": 1,
"data": [
{
“id”: 45677889990
"transaction_id": "102700ee2f1eea520409efc727cbb5",
"sale_amount": "126.000000",
"status": "pending",
"store_name": "Swiggy",
"sale_date": "2019-03-14 17:43:09",
"click_id": "11261461",
"user_commission": "28.8",
"sub_id1": null
},
{
“id”: 45677889991
"transaction_id": "118950198",
"sale_amount": "4999",
"status": "verified",
"store_name": "Flipkart",
"sale_date": "2019-08-30 00:04:49",
"click_id": "23475406",
"user_commission": "45.4965",
"sub_id1": "297162"
},
],
"first_page_url": "http://inrdeals.com/fetch/reports?page=1",
"from": 1,
"last_page": 1,
"last_page_url": "http://inrdeals.com/fetch/reports?page=1",
"next_page_url": null,
"path": "http://inrdeals.com/fetch/reports",
"per_page": 100,
"prev_page_url": null,
"to": 1,
"total": 1
}
}
Response codes:
Code Description
500 Internal Server Error
404 Not Found
400 Bad Request
302 Found
204 no content
202 accepted
200 ok
Short URL API:
Convert Long inr.deals tracking link into short inr.deals link
Link: https://inrdeals.com/api/v1/shortlink/generator
Method:- GET
Parameter Type Description
offer_url* string Encoded INRDeals Tracking Link
src string Source
campaign string Type of Campagin
subid string Subid Parameter
token* string API Token
user_id* string INRDeals Username
This API is used to generate the inr.deals short URL for any long inr.deals tracking link.
Sample Response
{"url":"https://inr.deals/vDf9L"}
Response codes
Code Description
500 internal server error
Code Description
404 Not found
400 Bad Request
302 Found
204 No content
202 accepted
200 ok
Stores Campaign List API
This API can be used to show the list of all the Available Campaigns. You can also filter data
based on your category.
Link: https://inrdeals.com/fetch/stores
Method:- GET
Parameter Type Description
token* string API Token
id* string INRDeals Username
merchant string Name of the Merchant on INRDeals
type string Type of Campaign (eg: CPS, CPL etc)
category string Category of the Campaign
This API can be used to show the list of all the Available Campaigns. You can also filter data
based on your Transaction
Sample Response
{
"url": "https://inr.deals/track?src=stores-
api&campaign=cps&url=https://www.flipkart.com/&id=dis65187126&
subid=",
"id": "65",
"logo":
"https://inrdeals.sgp1.cdn.digitaloceanspaces.com/production/2201/9a2165a9-2cd4-
4c9a-8f75-e83422611a07.png",
"merchant": "Flipkart",
"category": "Baby Care and Toys,Electronics,Fashion and Apparels,Home Decor
and Furnishing,Kitchen and Appliances,Personal Care and Health",
"type": "cps",
"payout": "11%",
"status": "active"
},
{
"url": "https://inr.deals/track?src=stores-
api&campaign=cpa&url=https://www.1mg.com/&id=dis65187126&s
ubid=",
"id": "2",
"logo": "https://inrdeals.sgp1.cdn.digitaloceanspaces.com/production/56/0f1cd7e2-
f004-4b2f-9d89-eaf83ce11d36.png",
"merchant": "1mg",
"category": "Personal Care and Health",
"type": "cpa",
"payout": "₹275",
"status": "inactive"
}
Response codes
Code Description
500 internal server error
Code Description
404 Not found
400 Bad request
302 Found
204 No content
202 accepted
200 ok

More Related Content

Similar to INRDealsAPIDocumentation.pdf

Thebitbag Affiliate Program - Content Commerce Syndication Plugin
Thebitbag Affiliate Program - Content Commerce Syndication PluginThebitbag Affiliate Program - Content Commerce Syndication Plugin
Thebitbag Affiliate Program - Content Commerce Syndication PluginSamuelLee276
 
Google Analytics: Configuring 10 Key Ecommerce Metrics
Google Analytics: Configuring 10 Key Ecommerce MetricsGoogle Analytics: Configuring 10 Key Ecommerce Metrics
Google Analytics: Configuring 10 Key Ecommerce MetricsPunit Kumar Tiwari
 
How many QR Codes are there?
How many QR Codes are there?How many QR Codes are there?
How many QR Codes are there?Barcode Live
 
Sqr initial notes
Sqr initial notesSqr initial notes
Sqr initial notesdatacreator
 
Sqr initial notes
Sqr initial notesSqr initial notes
Sqr initial notesdatacreator
 
opustechglobal-com-api-monetization-.pdf
opustechglobal-com-api-monetization-.pdfopustechglobal-com-api-monetization-.pdf
opustechglobal-com-api-monetization-.pdfOpus
 
Marmalade Webinar Series - GameHouse Increase User Aquisition in Games
Marmalade Webinar Series - GameHouse Increase User Aquisition in GamesMarmalade Webinar Series - GameHouse Increase User Aquisition in Games
Marmalade Webinar Series - GameHouse Increase User Aquisition in Gamesmarmaladeapps
 
APIs: The Building Blocks of the Future
APIs: The Building Blocks of the FutureAPIs: The Building Blocks of the Future
APIs: The Building Blocks of the FutureBBDO
 
Google Checkout Para Medios
Google Checkout Para MediosGoogle Checkout Para Medios
Google Checkout Para MediosJuan Varela
 
Web-App for Merchants 0% Commissions - By Bungkusit
Web-App for Merchants 0% Commissions - By BungkusitWeb-App for Merchants 0% Commissions - By Bungkusit
Web-App for Merchants 0% Commissions - By BungkusitBungkusit Team
 
Marketing Attribution by Rockerbox
Marketing Attribution by RockerboxMarketing Attribution by Rockerbox
Marketing Attribution by RockerboxRockerbox
 
Setting up BuzzCity Account - Server Side API
Setting up BuzzCity Account - Server Side APISetting up BuzzCity Account - Server Side API
Setting up BuzzCity Account - Server Side APIBuzzCity-2015
 
Shopify B2B- An Innovative Solution To Manage Ecommerce Stores.pdf
Shopify B2B- An Innovative Solution To Manage Ecommerce Stores.pdfShopify B2B- An Innovative Solution To Manage Ecommerce Stores.pdf
Shopify B2B- An Innovative Solution To Manage Ecommerce Stores.pdfecommerce Trends
 
Birmingham Autumn Shopify Meetup - 5th October 2017
Birmingham Autumn Shopify Meetup - 5th October 2017Birmingham Autumn Shopify Meetup - 5th October 2017
Birmingham Autumn Shopify Meetup - 5th October 2017Alisa Nemova
 
API Product Management and Strategy
API Product Management and StrategyAPI Product Management and Strategy
API Product Management and Strategyadritab
 
Delivering on Personalization with the Power of APIs
Delivering on Personalization with the Power of APIsDelivering on Personalization with the Power of APIs
Delivering on Personalization with the Power of APIsAkana
 
Website Traffic Generator by PLR
Website Traffic Generator by PLRWebsite Traffic Generator by PLR
Website Traffic Generator by PLRHARISHA55
 
Lectura 2.4 is your api naked - 10 roadmap considerations
Lectura 2.4   is your api naked - 10 roadmap considerationsLectura 2.4   is your api naked - 10 roadmap considerations
Lectura 2.4 is your api naked - 10 roadmap considerationsMatias Menendez
 

Similar to INRDealsAPIDocumentation.pdf (20)

Thebitbag Affiliate Program - Content Commerce Syndication Plugin
Thebitbag Affiliate Program - Content Commerce Syndication PluginThebitbag Affiliate Program - Content Commerce Syndication Plugin
Thebitbag Affiliate Program - Content Commerce Syndication Plugin
 
Google Analytics: Configuring 10 Key Ecommerce Metrics
Google Analytics: Configuring 10 Key Ecommerce MetricsGoogle Analytics: Configuring 10 Key Ecommerce Metrics
Google Analytics: Configuring 10 Key Ecommerce Metrics
 
How many QR Codes are there?
How many QR Codes are there?How many QR Codes are there?
How many QR Codes are there?
 
Re-Fi Platform
Re-Fi PlatformRe-Fi Platform
Re-Fi Platform
 
Sqr initial notes
Sqr initial notesSqr initial notes
Sqr initial notes
 
Sqr initial notes
Sqr initial notesSqr initial notes
Sqr initial notes
 
opustechglobal-com-api-monetization-.pdf
opustechglobal-com-api-monetization-.pdfopustechglobal-com-api-monetization-.pdf
opustechglobal-com-api-monetization-.pdf
 
Marmalade Webinar Series - GameHouse Increase User Aquisition in Games
Marmalade Webinar Series - GameHouse Increase User Aquisition in GamesMarmalade Webinar Series - GameHouse Increase User Aquisition in Games
Marmalade Webinar Series - GameHouse Increase User Aquisition in Games
 
affiliaters
affiliatersaffiliaters
affiliaters
 
APIs: The Building Blocks of the Future
APIs: The Building Blocks of the FutureAPIs: The Building Blocks of the Future
APIs: The Building Blocks of the Future
 
Google Checkout Para Medios
Google Checkout Para MediosGoogle Checkout Para Medios
Google Checkout Para Medios
 
Web-App for Merchants 0% Commissions - By Bungkusit
Web-App for Merchants 0% Commissions - By BungkusitWeb-App for Merchants 0% Commissions - By Bungkusit
Web-App for Merchants 0% Commissions - By Bungkusit
 
Marketing Attribution by Rockerbox
Marketing Attribution by RockerboxMarketing Attribution by Rockerbox
Marketing Attribution by Rockerbox
 
Setting up BuzzCity Account - Server Side API
Setting up BuzzCity Account - Server Side APISetting up BuzzCity Account - Server Side API
Setting up BuzzCity Account - Server Side API
 
Shopify B2B- An Innovative Solution To Manage Ecommerce Stores.pdf
Shopify B2B- An Innovative Solution To Manage Ecommerce Stores.pdfShopify B2B- An Innovative Solution To Manage Ecommerce Stores.pdf
Shopify B2B- An Innovative Solution To Manage Ecommerce Stores.pdf
 
Birmingham Autumn Shopify Meetup - 5th October 2017
Birmingham Autumn Shopify Meetup - 5th October 2017Birmingham Autumn Shopify Meetup - 5th October 2017
Birmingham Autumn Shopify Meetup - 5th October 2017
 
API Product Management and Strategy
API Product Management and StrategyAPI Product Management and Strategy
API Product Management and Strategy
 
Delivering on Personalization with the Power of APIs
Delivering on Personalization with the Power of APIsDelivering on Personalization with the Power of APIs
Delivering on Personalization with the Power of APIs
 
Website Traffic Generator by PLR
Website Traffic Generator by PLRWebsite Traffic Generator by PLR
Website Traffic Generator by PLR
 
Lectura 2.4 is your api naked - 10 roadmap considerations
Lectura 2.4   is your api naked - 10 roadmap considerationsLectura 2.4   is your api naked - 10 roadmap considerations
Lectura 2.4 is your api naked - 10 roadmap considerations
 

Recently uploaded

Hoi An Ancient Town, Vietnam (越南 會安古鎮).ppsx
Hoi An Ancient Town, Vietnam (越南 會安古鎮).ppsxHoi An Ancient Town, Vietnam (越南 會安古鎮).ppsx
Hoi An Ancient Town, Vietnam (越南 會安古鎮).ppsxChung Yen Chang
 
08448380779 Call Girls In Shahdara Women Seeking Men
08448380779 Call Girls In Shahdara Women Seeking Men08448380779 Call Girls In Shahdara Women Seeking Men
08448380779 Call Girls In Shahdara Women Seeking MenDelhi Call girls
 
Moving to Italy - A Relocation Rollercoaster
Moving to Italy - A Relocation RollercoasterMoving to Italy - A Relocation Rollercoaster
Moving to Italy - A Relocation RollercoasterStefSmulders1
 
08448380779 Call Girls In Bhikaji Cama Palace Women Seeking Men
08448380779 Call Girls In Bhikaji Cama Palace Women Seeking Men08448380779 Call Girls In Bhikaji Cama Palace Women Seeking Men
08448380779 Call Girls In Bhikaji Cama Palace Women Seeking MenDelhi Call girls
 
DARK TRAVEL AGENCY presented by Khuda Bux
DARK TRAVEL AGENCY presented by Khuda BuxDARK TRAVEL AGENCY presented by Khuda Bux
DARK TRAVEL AGENCY presented by Khuda BuxBeEducate
 
Dubai Call Girls O528786472 Call Girls Dubai Big Juicy
Dubai Call Girls O528786472 Call Girls Dubai Big JuicyDubai Call Girls O528786472 Call Girls Dubai Big Juicy
Dubai Call Girls O528786472 Call Girls Dubai Big Juicyhf8803863
 
Night 7k Call Girls Noida Sector 93 Escorts Call Me: 8448380779
Night 7k Call Girls Noida Sector 93 Escorts Call Me: 8448380779Night 7k Call Girls Noida Sector 93 Escorts Call Me: 8448380779
Night 7k Call Girls Noida Sector 93 Escorts Call Me: 8448380779Delhi Call girls
 
visa consultant | 📞📞 03094429236 || Best Study Visa Consultant
visa consultant | 📞📞 03094429236 || Best Study Visa Consultantvisa consultant | 📞📞 03094429236 || Best Study Visa Consultant
visa consultant | 📞📞 03094429236 || Best Study Visa ConsultantSherazi Tours
 
Study Consultants in Lahore || 📞03094429236
Study Consultants in Lahore || 📞03094429236Study Consultants in Lahore || 📞03094429236
Study Consultants in Lahore || 📞03094429236Sherazi Tours
 
Exploring Sicily Your Comprehensive Ebook Travel Guide
Exploring Sicily Your Comprehensive Ebook Travel GuideExploring Sicily Your Comprehensive Ebook Travel Guide
Exploring Sicily Your Comprehensive Ebook Travel GuideTime for Sicily
 
A Comprehensive Guide to The Types of Dubai Residence Visas.pdf
A Comprehensive Guide to The Types of Dubai Residence Visas.pdfA Comprehensive Guide to The Types of Dubai Residence Visas.pdf
A Comprehensive Guide to The Types of Dubai Residence Visas.pdfDisha Global Tours
 
Visa Consultant in Lahore || 📞03094429236
Visa Consultant in Lahore || 📞03094429236Visa Consultant in Lahore || 📞03094429236
Visa Consultant in Lahore || 📞03094429236Sherazi Tours
 
"Fly with Ease: Booking Your Flights with Air Europa"
"Fly with Ease: Booking Your Flights with Air Europa""Fly with Ease: Booking Your Flights with Air Europa"
"Fly with Ease: Booking Your Flights with Air Europa"flyn goo
 
Top 10 Traditional Indian Handicrafts.pptx
Top 10 Traditional Indian Handicrafts.pptxTop 10 Traditional Indian Handicrafts.pptx
Top 10 Traditional Indian Handicrafts.pptxdishha99
 
LPC Transport Presentation introduction to PLC
LPC Transport Presentation introduction to PLCLPC Transport Presentation introduction to PLC
LPC Transport Presentation introduction to PLCthomas851723
 
BERMUDA Triangle the mystery of life.pptx
BERMUDA Triangle the mystery of life.pptxBERMUDA Triangle the mystery of life.pptx
BERMUDA Triangle the mystery of life.pptxseribangash
 

Recently uploaded (20)

Hoi An Ancient Town, Vietnam (越南 會安古鎮).ppsx
Hoi An Ancient Town, Vietnam (越南 會安古鎮).ppsxHoi An Ancient Town, Vietnam (越南 會安古鎮).ppsx
Hoi An Ancient Town, Vietnam (越南 會安古鎮).ppsx
 
08448380779 Call Girls In Shahdara Women Seeking Men
08448380779 Call Girls In Shahdara Women Seeking Men08448380779 Call Girls In Shahdara Women Seeking Men
08448380779 Call Girls In Shahdara Women Seeking Men
 
Moving to Italy - A Relocation Rollercoaster
Moving to Italy - A Relocation RollercoasterMoving to Italy - A Relocation Rollercoaster
Moving to Italy - A Relocation Rollercoaster
 
08448380779 Call Girls In Bhikaji Cama Palace Women Seeking Men
08448380779 Call Girls In Bhikaji Cama Palace Women Seeking Men08448380779 Call Girls In Bhikaji Cama Palace Women Seeking Men
08448380779 Call Girls In Bhikaji Cama Palace Women Seeking Men
 
DARK TRAVEL AGENCY presented by Khuda Bux
DARK TRAVEL AGENCY presented by Khuda BuxDARK TRAVEL AGENCY presented by Khuda Bux
DARK TRAVEL AGENCY presented by Khuda Bux
 
Call Girls 🫤 Connaught Place ➡️ 9999965857 ➡️ Delhi 🫦 Russian Escorts FULL ...
Call Girls 🫤 Connaught Place ➡️ 9999965857  ➡️ Delhi 🫦  Russian Escorts FULL ...Call Girls 🫤 Connaught Place ➡️ 9999965857  ➡️ Delhi 🫦  Russian Escorts FULL ...
Call Girls 🫤 Connaught Place ➡️ 9999965857 ➡️ Delhi 🫦 Russian Escorts FULL ...
 
Dubai Call Girls O528786472 Call Girls Dubai Big Juicy
Dubai Call Girls O528786472 Call Girls Dubai Big JuicyDubai Call Girls O528786472 Call Girls Dubai Big Juicy
Dubai Call Girls O528786472 Call Girls Dubai Big Juicy
 
Night 7k Call Girls Noida Sector 93 Escorts Call Me: 8448380779
Night 7k Call Girls Noida Sector 93 Escorts Call Me: 8448380779Night 7k Call Girls Noida Sector 93 Escorts Call Me: 8448380779
Night 7k Call Girls Noida Sector 93 Escorts Call Me: 8448380779
 
visa consultant | 📞📞 03094429236 || Best Study Visa Consultant
visa consultant | 📞📞 03094429236 || Best Study Visa Consultantvisa consultant | 📞📞 03094429236 || Best Study Visa Consultant
visa consultant | 📞📞 03094429236 || Best Study Visa Consultant
 
Study Consultants in Lahore || 📞03094429236
Study Consultants in Lahore || 📞03094429236Study Consultants in Lahore || 📞03094429236
Study Consultants in Lahore || 📞03094429236
 
Exploring Sicily Your Comprehensive Ebook Travel Guide
Exploring Sicily Your Comprehensive Ebook Travel GuideExploring Sicily Your Comprehensive Ebook Travel Guide
Exploring Sicily Your Comprehensive Ebook Travel Guide
 
A Comprehensive Guide to The Types of Dubai Residence Visas.pdf
A Comprehensive Guide to The Types of Dubai Residence Visas.pdfA Comprehensive Guide to The Types of Dubai Residence Visas.pdf
A Comprehensive Guide to The Types of Dubai Residence Visas.pdf
 
Visa Consultant in Lahore || 📞03094429236
Visa Consultant in Lahore || 📞03094429236Visa Consultant in Lahore || 📞03094429236
Visa Consultant in Lahore || 📞03094429236
 
Rohini Sector 18 Call Girls Delhi 9999965857 @Sabina Saikh No Advance
Rohini Sector 18 Call Girls Delhi 9999965857 @Sabina Saikh No AdvanceRohini Sector 18 Call Girls Delhi 9999965857 @Sabina Saikh No Advance
Rohini Sector 18 Call Girls Delhi 9999965857 @Sabina Saikh No Advance
 
"Fly with Ease: Booking Your Flights with Air Europa"
"Fly with Ease: Booking Your Flights with Air Europa""Fly with Ease: Booking Your Flights with Air Europa"
"Fly with Ease: Booking Your Flights with Air Europa"
 
Top 10 Traditional Indian Handicrafts.pptx
Top 10 Traditional Indian Handicrafts.pptxTop 10 Traditional Indian Handicrafts.pptx
Top 10 Traditional Indian Handicrafts.pptx
 
LPC Transport Presentation introduction to PLC
LPC Transport Presentation introduction to PLCLPC Transport Presentation introduction to PLC
LPC Transport Presentation introduction to PLC
 
BERMUDA Triangle the mystery of life.pptx
BERMUDA Triangle the mystery of life.pptxBERMUDA Triangle the mystery of life.pptx
BERMUDA Triangle the mystery of life.pptx
 
Call Girls In Munirka 📱 9999965857 🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SERVICE
Call Girls In Munirka 📱  9999965857  🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SERVICECall Girls In Munirka 📱  9999965857  🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SERVICE
Call Girls In Munirka 📱 9999965857 🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SERVICE
 
Call Girls Service !! New Friends Colony!! @9999965857 Delhi 🫦 No Advance VV...
Call Girls Service !! New Friends Colony!! @9999965857 Delhi 🫦 No Advance  VV...Call Girls Service !! New Friends Colony!! @9999965857 Delhi 🫦 No Advance  VV...
Call Girls Service !! New Friends Colony!! @9999965857 Delhi 🫦 No Advance VV...
 

INRDealsAPIDocumentation.pdf

  • 1. About INRDeals API's Since 2016, INRDeals has been serving as an innovative ad-network that has been bridging the gap in the affiliate industry by introducing fully managed affiliate services along with a super simple tracking system that is built inhouse & is bundled with an innovative set of tools which enables bloggers, influencers, website owner or anyone with an active social media profile to run ad campaigns with zero technical knowledge and instantly earn & monetize from their existing network & traffic! INRDeals offers different API that enables its publishers to unleash their creativity and design innovative products that can drive them million-dollar revenues! These API's enable users to design website & apps like:  Deals Website/App  Niche Specific Blog  Coupon Website/App  Cashback Website/App  Product Review Website/App  Best Selling Product Website/App  Price Comparison Website/App  Product Discovery Website/App  All in One Shopping App  All in One Browser  Employee incentive Program  Gift Card Website & the list goes on and on… INRDeals has already empowered over 16,000+ Publishers who have crafted awesome products, integration of these API's is very easy just go through the list of available API & see which one fits your needs! In case you have any question or doubt you can connect directly with our support team by emailing on info@inrdeals.com or calling on: +91 9018077255 INRDeals Affiliate Tracking URL Structure: https://inr.deals/track?id={inrdealsusername}&src=api&campaign={campaigntype}&url={enco ded_url}&subid={subid}
  • 2. Available Parameters: Parameter Description id* This parameter is the username at INRDeals, it is a mandatory parameter required for tracking a transaction against a particular user. The id is an alpha numeric value available under user’s account settings. src This parameter is meant to track the source from where the user has generated the tracking link. Although this parameter is not mandatory but is highly recommended. campaign This parameter is used to separate different campaigns offered by same advertiser, if the advertiser has multiple campaigns running (eg: CPS (Cost per Sale) and CPV (Cost per Visit)) both can be filtered out by passing the appropriate values in the campaign type. The various values accepted for campaign parameter are: cpl, cps, cpv, cpr, cpc, cpm, cpa. url* This parameter is the used to pass the url for which the affiliate tracking link has to be generated. The url passed can be deeplink or link to the advertiser’s homepage. URL parameter works with both urls, with or without http/https. The destination URL has to be encoded. subid SubID parameter allows you to pass additional information when a user click on the affiliate link further if a transaction take place you also receive a subid in your transaction reports. By default the system allows 1 subid however addition subid can be requested from your account manager. Protip: To generate link of all the stores at once you can go the store page on INRDeals & download the CSV/Excel file.
  • 3. Coupons API Get Store wise & Category wise Latest Coupons & Offers Link: https://inrdeals.com/api/v1/coupon-feed Method:- GET Parameter Type Description store_id number INRDeals Merchant ID eg: 65 for Flipkart search string Store Name eg: Swiggy, Flipkart category string Store Category eg: Food, Recharge token* string INRDeals API Token id* String INRDeals Username end_date date Start of Date Range within which coupons where added start_date date End of Date Range within which coupons where added This API is used to show latest coupon codes along with the detailed information about the offer, it's terms & conditions, expiry date of the coupons along with the your own affiliate tracking link for the merchant's offer page. The Output of the API is structured in such a way the it can be instantly integrated with any existing web application.The API also features a search by store and search by category feature which can be used to output the corresponding result. List of Popular Store with their Store ID: Store Name Store ID Paytm 228
  • 4. Amazon 1 Bookmyshow 252 Cleartrip 33 Dominos 46 Flipkart 65 Freecharge 74 Freshmenu 75 Zoomcar 80 Zivame 84 Godaddy 86 Jabong 119 Koovs 129 Swiggy 167 Makemytrip 173 Mobikwik 180
  • 5. Myntra 193 Shopclues 195 Phonepe 1545 Nearbuy 200 Printvenue 242 Fernsnpetals 247 Pizza Hut 266 Bigrock 253 Foodpanda 268 Uber 278 Ola 297 Zomato 298 Grofers 325 Yatra 328 Cafe Coffee Day 388
  • 6. Sample Response: { "result": { "current_page": 1, "data": [ { “id”: 4567 "url": "https://inr.deals/track?id=inr_username&src=coupon-feed- api&url=https://www.swiggy.com/", "label": "30% OFF", "offer": "Flat 30% OFF From Swiggy Via HDFC PayZapp Card", "coupon_code": "PAYZAPP100", "steps": "0", "description": " <li>Use code PAYZAPP100 & get 30% discount up to Rs.100 on your orders above Rs.199.</li> <li>Offer valid twice per user per month</li>", "expire_date": "2020-01-31 00:00:00", Paytm Movies 595 Paytm Bus 599 Paytm Recharge 596 Goibibo 603 Nykaa 206
  • 7. "storelogo_id": 167, "categories": "food", "logo": { "id": 167, "store_name": "Swiggy" } }, { “id”: 345689 "url": "https://inr.deals/track?id=inr_username&src=coupon-feed- api&url=https://www.swiggy.com/", "label": "25% OFF", "offer": "Flat 25% OFF On Food Order Via AU Bank Debit Card", "coupon_code": "AUBANK125", "steps": "0", "description": "0", "expire_date": "2020-01-31 00:00:00", "storelogo_id": 167, "categories": "food", "logo": { "id": 167, "store_name": "Swiggy" }
  • 8. }, { “id”: 9065432 "url": "https://inr.deals/track?id=inr_username&src=coupon-feed- api&url=https://www.swiggy.com/", "label": "50% OFF", "offer": "Flat 50% OFF On First 5 Orders (Web & App, Valid In Select Cities)", "coupon_code": "WELCOME50", "steps": "0", "description": " <li>Order delicious food with the latest Swiggy Coupons.</li> <li>Get flat 50% off on your first 5 orders from the website & app.</li> <li>You can save up to Rs 100 per order using this new user offer, on a minimum order value of Rs 99.</li> <li>Valid in selected cities across India.</li> <li>This is valid for online payments like net-banking, credit & debit cards, or mobile wallets (viz. Paytm, Mobikwik, etc.) including COD.</li>", "expire_date": "2020-04-01", "storelogo_id": 167, "categories": "food", "logo": { "id": 167, "store_name": "Swiggy" } }, { “id”: 567788
  • 9. "url": "https://inr.deals/track?id=inr_username&src=coupon-feed- api&url=https://www.swiggy.com/", "label": "60% OFF", "offer": "Flat 60% OFF On First Order (Web & App - Select Cities & Restaurants)", "coupon_code": "WELCOME60", "steps": "0", "description": " <li>Avail Flat 60% OFF on your first order from website and app.</li> <li>You can save up to Rs 120 per order on the new user order </li> <li>Minimum cart value - Rs 99</li> <li>Valid only in selective cities and restaurants across India.</li>", "expire_date": "2020-04-01", "storelogo_id": 167, "categories": "food", "logo": { "id": 167, "store_name": "Swiggy" } }, { "url": "https://inr.deals/track?id=inr_username&src=coupon-feed- api&url=https://www.zomato.com", "label": "50% OFF", "offer": "Zomato Hello 2020 Offer - Get 50% OFF", "coupon_code": "HELLO2020",
  • 10. "steps": "0", "description": "0", "expire_date": "2020-04-03", "storelogo_id": 298, "categories": "food", "logo": { "id": 298, "store_name": "Zomato" } }, { “id”: 567904 "url": "https://inr.deals/track?id=inr_username&src=coupon-feed- api&url=https://pizzaonline.dominos.co.in", "label": "Upto 40% OFF", "offer": "Saturday Special Offer - Up To 40% Off On All Pizzas", "coupon_code": "SATURDAY100", "steps": "0", "description": "0", "expire_date": "2020-04-03", "storelogo_id": 46, "categories": "food", "logo": {
  • 11. "id": 46, "store_name": "Dominos" } }, { “id”: 8906543 "url": "https://inr.deals/track?id=inr_username&src=coupon-feed- api&url=https://www.makemytrip.com/flights", "label": "Rs.10000 OFF", "offer": "Christmas Sale On Malaysia Airlines - Get Up To Rs 10000 OFF", "coupon_code": "MMTMH", "steps": "0", "description": " <li>Great ticket fares on <span class="ner-16 ner- m">Malaysia Airlines.</span></li> <li>Get <span class="ner- 12"> up </span> <span class="ner-12"> to </span> <span class="ner-11"> Rs </span> <span class="ner-11"> 10000 </span> <span class="ner-11"> off. </span></li> <li>Offer is valid on Malaysia Airlines only</li> <li><span class="ner-10 ner-m">Booking period: </span>2nd Jan - 20th Jan'20</li> <li><span class="ner-1 ner-m">Travel Period:</span> 2nd Jan - 31st Dec'20</li> <li>Use the given MMT <span> discount </span> code for availing the discount.</li>", "expire_date": "2020-01-20 00:00:00", "storelogo_id": 173, "categories": "travel", "logo": { "id": 173,
  • 12. "store_name": "Makemytrip(Domestic Flights)" } }, { “id”: 56789900 "url": "https://inr.deals/track?id=inr_username&src=coupon-feed- api&url=https://www.swiggy.com/", "label": "Hot Deal", "offer": "Order Shawarmas @ Best Price", "coupon_code": "", "steps": "0", "description": "0", "expire_date": "2020-03-25", "storelogo_id": 167, "categories": "food", "logo": { "id": 167, "store_name": "Swiggy" } } ], "first_page_url": "http://inrdeals.com/api/v1/coupon-feed?page=1", "from": 1,
  • 13. "last_page": 2, "last_page_url": "http://inrdeals.com/api/v1/coupon-feed?page=2", "next_page_url": "http://inrdeals.com/api/v1/coupon-feed?page=2", "path": "http://inrdeals.com/api/v1/coupon-feed", "per_page": 50, "prev_page_url": null, "to": 50, "total": 81 } } Response codes Code Description 500 internal server error 404 not found 400 bad request 302 found 204 no content 202 accepted
  • 15. Transaction API This API can be used to fetch the date wise transaction reports of your account, this also includes information about of any subid that has been passed. Further you can store this data and show the same to your users. You can also filter data based on your Transaction ID & Sub ID. Link: https://inrdeals.com/fetch/reports Method:- GET Parameter Type Description token* string As given by your Account Manager id* string use Your INRDeals Username. startdate* date The Date from which you want the Transactions Report. Only Accepted date format is YYYY-mm-dd Page sub_id Number string Page Number of the records to be fetched. Useful in pagination Sub ID passed in the tracking link enddate* date The Date till which you want the Transactions Report. Only Accepted date format is YYYY-mm-dd txn_id string Transaction ID at INRDeals Panel for an Order Recorded The Get Transactions API helps you fetch all the Transactions in a specific date range along with subids with maximum time period of 4 months. Supported Format JSON. Return value The JSON object returned by the system will provide an array of transactions.
  • 16. Rate Limit As a fair usage policy the API hits is limited to 10,000 hits/month, It is recommended to store the data in your own database & then show it to your users Sample Response { "result": { "current_page": 1, "data": [ { “id”: 45677889990 "transaction_id": "102700ee2f1eea520409efc727cbb5", "sale_amount": "126.000000", "status": "pending", "store_name": "Swiggy", "sale_date": "2019-03-14 17:43:09", "click_id": "11261461", "user_commission": "28.8", "sub_id1": null }, { “id”: 45677889991 "transaction_id": "118950198", "sale_amount": "4999", "status": "verified",
  • 17. "store_name": "Flipkart", "sale_date": "2019-08-30 00:04:49", "click_id": "23475406", "user_commission": "45.4965", "sub_id1": "297162" }, ], "first_page_url": "http://inrdeals.com/fetch/reports?page=1", "from": 1, "last_page": 1, "last_page_url": "http://inrdeals.com/fetch/reports?page=1", "next_page_url": null, "path": "http://inrdeals.com/fetch/reports", "per_page": 100, "prev_page_url": null, "to": 1, "total": 1 } } Response codes:
  • 18. Code Description 500 Internal Server Error 404 Not Found 400 Bad Request 302 Found 204 no content 202 accepted 200 ok
  • 19. Short URL API: Convert Long inr.deals tracking link into short inr.deals link Link: https://inrdeals.com/api/v1/shortlink/generator Method:- GET Parameter Type Description offer_url* string Encoded INRDeals Tracking Link src string Source campaign string Type of Campagin subid string Subid Parameter token* string API Token user_id* string INRDeals Username This API is used to generate the inr.deals short URL for any long inr.deals tracking link. Sample Response {"url":"https://inr.deals/vDf9L"} Response codes Code Description 500 internal server error
  • 20. Code Description 404 Not found 400 Bad Request 302 Found 204 No content 202 accepted 200 ok
  • 21. Stores Campaign List API This API can be used to show the list of all the Available Campaigns. You can also filter data based on your category. Link: https://inrdeals.com/fetch/stores Method:- GET Parameter Type Description token* string API Token id* string INRDeals Username merchant string Name of the Merchant on INRDeals type string Type of Campaign (eg: CPS, CPL etc) category string Category of the Campaign This API can be used to show the list of all the Available Campaigns. You can also filter data based on your Transaction Sample Response { "url": "https://inr.deals/track?src=stores- api&campaign=cps&url=https://www.flipkart.com/&id=dis65187126& subid=", "id": "65", "logo": "https://inrdeals.sgp1.cdn.digitaloceanspaces.com/production/2201/9a2165a9-2cd4- 4c9a-8f75-e83422611a07.png",
  • 22. "merchant": "Flipkart", "category": "Baby Care and Toys,Electronics,Fashion and Apparels,Home Decor and Furnishing,Kitchen and Appliances,Personal Care and Health", "type": "cps", "payout": "11%", "status": "active" }, { "url": "https://inr.deals/track?src=stores- api&campaign=cpa&url=https://www.1mg.com/&id=dis65187126&s ubid=", "id": "2", "logo": "https://inrdeals.sgp1.cdn.digitaloceanspaces.com/production/56/0f1cd7e2- f004-4b2f-9d89-eaf83ce11d36.png", "merchant": "1mg", "category": "Personal Care and Health", "type": "cpa", "payout": "₹275", "status": "inactive" } Response codes Code Description 500 internal server error
  • 23. Code Description 404 Not found 400 Bad request 302 Found 204 No content 202 accepted 200 ok