Languages API

Use this API to get a full list of languages associated with coupons in CouponAPI database. You may build a script in PHP, Python, Java or NodeJS to fetch list of supported languages.

NOTE: This API is not available in Basic Plan.

API Endpoint

GET  https://couponapi.org/api/getLanguages/

Sample Request

https://couponapi.org/api/getLanguages/?API_KEY=[YOUR_API_KEY]

Request Parameters

  • API_KEY (required) (string)

Success Response:

  • result: (boolean) true
  • languages (array)
    • name: (string) Full name of Language
    • code: (string) ISO-639 code of the language

Error Response:

  • result: (boolean) false
  • error: (string) Reason for failure