Categories API
This API returns the full list of standard categories used by CouponAPI to classify the coupons. You may build a script in PHP, Python, Java or NodeJS to fetch list of these standard categories.
NOTE: This API is not available in Basic Plan.
API Endpoint
GET https://couponapi.org/api/getCategories/
Sample Request
https://couponapi.org/api/getCategories/?API_KEY=[YOUR_API_KEY]
Request Parameters
- API_KEY (required) (string)
Success Response:
- result: (boolean) true
- categories (array) Names of Categories
Error Response:
- result: (boolean) false
- error: (string) Reason for failure