cURL
curl --request GET \ --url https://api.onsleek.ai/v1/deals/coupons \ --header 'Authorization: Bearer <token>'
{ "data": [ { "id": "ea0efd78-2c3c-4efd-9e92-1ab676ee304b", "code": "SAVE20", "startDate": "2024-01-01T00:00:00.000Z", "endDate": "2024-12-31T23:59:59.999Z", "description": "Use SAVE20 coupon code to get 20% off.", "retailerId": "4f9df53d-16dc-4630-8603-8d14ec40fcfe", "url": "https://www.bestbuy.com", "name": "BestBuy", "hostname": "www.bestbuy.com", "updatedAt": "2024-01-01T12:00:00.000Z", "logo": "https://www.bestbuy.com/logo.png" } ], "cursor": "<string>" }
Fetch all coupon offers.
API key for accessing the Sleek API.
The ID of the next item that will be fetched. Format: UUID RFC 4122
UUID RFC 4122
The hostname of the retailer to search for.
List of coupon offers.
Show child attributes
The unique identifier for the coupon. Format: UUID RFC 4122
"ea0efd78-2c3c-4efd-9e92-1ab676ee304b"
The coupon code value.
"SAVE20"
The date and time when the coupon becomes active. Format: ISO 8601
ISO 8601
"2024-01-01T00:00:00.000Z"
The date and time when the coupon expires. Format: ISO 8601
"2024-12-31T23:59:59.999Z"
The description of the coupon.
"Use SAVE20 coupon code to get 20% off."
The ID of the retailer associated with the coupon offer. Format: UUID RFC 4122
"4f9df53d-16dc-4630-8603-8d14ec40fcfe"
The URL of the retailer's website where the coupon can be used.
"https://www.bestbuy.com"
The name of the retailer associated with the coupon.
"BestBuy"
The hostname of the retailer's website.
"www.bestbuy.com"
The date and time when the coupon was last updated. Format: ISO 8601
"2024-01-01T12:00:00.000Z"
The URL of the retailer's logo associated with the coupon.
"https://www.bestbuy.com/logo.png"
The ID of the next item in the list. Defined if there are more items to fetch. Pass this as the cursor query parameter to fetch the next page. Format: UUID RFC 4122
cursor