Preview a promo code before signup

gethttps://api.expiryedge.com/v1/checkPromoCode
Public - no API key10/15 min
Request
curl 'https://api.expiryedge.com/v1/checkPromoCode?code=LAUNCH80'
Response
{
  "valid": true,
  "code": "LAUNCH80",
  "discount_percentage": 80,
  "expiry_window_hours": 72
}

Read-only preview for the signup page; the code is applied at register (promo_code). Unknown codes and server errors return 200 with valid: false.

Query parameters

  • codestringrequired
    Promo code (case-insensitive).

Returns

200
Code validity.
  • validbooleanrequired
  • reasonstring
    Allowedmissing_codeinvalid_or_expirederror
  • codestring
  • discount_percentagenumber
  • expiry_window_hoursnumber
    Hours after signup during which the discount can be redeemed.

Errors

400
Missing code.
429
Too many requests for this endpoint from your IP. Wait Retry-After seconds.