Get Started

Free to use and easy to get started with 4 simple steps


Step 1. In order to get started using the api you will need an api key



Save this key and use it for all api calls


Step 2. You will need to generate a unique guid(UUID) to use for each user. This guid will be used as a client key that needs to be reused on all request made by the user thus it will need to be stored client side.

function generateGuid() {
    var d = new Date().getTime();
    var d2 = ((typeof performance !== 'undefined') && performance.now && (performance.now()*1000)) || 0;
    return 'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'.replace(/[xy]/g, function(c) {
        var r = Math.random() * 16;//random number between 0 and 16
        if(d > 0){
        r = (d + r)%16 | 0;
        d = Math.floor(d/16);
        } else {
        r = (d2 + r)%16 | 0;
        d2 = Math.floor(d2/16);
        }
        return (c === 'x' ? r : (r & 0x3 | 0x8)).toString(16);
    });
}
import uuid
uuid.uuid4()
public Guid generateGuid(){
    Return Guid.NewGuid();
}
import java.util.UUID;

public static UUID generateGuid() {
    return java.util.UUID.randomUUID();
}
let identifier = UUID()

Step 3. Once guid is generated on the user side it will need to be registered via the registerclientkey api call

curl -X 'GET' \
        'https://couponapi.com/api/RegisterClientKey?apikey={api key}&clientkey={users key}' \
        -H 'accept: */*'

Step 4. Once user is registered you can now get coupons based off the url

curl -X 'GET' \
        'https://couponapi.com/api/getcoupons?apikey={api key}&clientkey={users key}&url={stores url}' \
        -H 'accept: application/json'
An error has occurred. This application may no longer respond until reloaded. Reload 🗙