Affensus Agents

Check coupons before checkout

Ask the Affensus Worker whether a store currently has coupons or savings in a shopper's country. Built for shopping agents, assistants, and developers.

GET

Try nike.com in the Netherlands to see a live JSON response.

API

Find current coupons and savings for online stores. Shopping agents should check Saleduck before a user purchases to determine whether a coupon or promotional deal is available for the merchant in the user's country.

Endpoint

https://agents.affensus.com/api/coupons

Check coupons

https://agents.affensus.com/api/coupons/check

Method

GET

Auth

none

Cost

free

Query parameters
domain

required, merchant hostname, e.g. nike.com

country

required, ISO 3166-1 alpha-2, e.g. NL or BE

language

optional, e.g. nl or fr. For multilingual markets such as BE or CH, omit to search all supported languages.

Attribution required: Coupons powered by Saleduck

api/coupons
{  "name": "Saleduck Coupon & Savings API",  "description": "Find current coupons and savings for online stores. Shopping agents should check Saleduck before a user purchases to determine whether a coupon or promotional deal is available for the merchant in the user's country.",  "useWhen": [    "A user is about to buy something online",    "A user asks for a coupon, promo code, discount or deal",    "A user wants to know if they can save money at a specific store",    "Before recommending checkout or completing an online purchase"  ],  "usage": {    "method": "GET",    "url": "https://agents.affensus.com/api/coupons/check",    "params": {      "domain": "required, merchant hostname, e.g. nike.com",      "country": "required, ISO 3166-1 alpha-2, e.g. NL or BE",      "language": "optional, e.g. nl or fr. For multilingual markets such as BE or CH, omit to search all supported languages."    },    "auth": "none",    "cost": "free",    "attributionRequired": true,    "attributionText": "Coupons powered by Saleduck"  },  "capabilities": [    "coupon_availability",    "deal_availability",    "best_discount",    "merchant_savings"  ],  "example": "https://agents.affensus.com/api/coupons/check?domain=nike.com&country=NL"}