+92335770769
DEVELOPER DOCUMENTATION · REST V1.2

Developer Documentation & Integration Guide

High-throughput Anycast REST API delivering normalized promotional coupons, merchant taxonomy, and cashback rates across 58,000+ monitored retail stores.

Code snippet copied to clipboard!
GETTING STARTED

3-Minute Quickstart

CouponAPI is an Anycast-routed REST API that returns structured promotional data encoded in UTF-8 JSON.

Every request must be made over secure HTTPS and authenticate via an HTTP Authorization header. You can generate a free Sandbox token instantly from your Client Portal.

Choose Integration Language:
curl -X GET "https://couponapi.projectsfor.com/api/v1/coupons?limit=5" \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -H "Accept: application/json"
const response = await fetch("https://couponapi.projectsfor.com/api/v1/coupons?limit=5", {
  method: "GET",
  headers: {
    "Authorization": "Bearer YOUR_API_TOKEN",
    "Accept": "application/json"
  }
});
const data = await response.json();
console.log(data.data);
import requests

url = "https://couponapi.projectsfor.com/api/v1/coupons"
headers = {"Authorization": "Bearer YOUR_API_TOKEN"}
params = {"limit": 5, "store": "nike"}

response = requests.get(url, headers=headers, params=params)
print(response.json())
<?php
$ch = curl_init("https://couponapi.projectsfor.com/api/v1/coupons?limit=5");
curl_setopt($ch, CURLOPT_HTTPHEADER, ["Authorization: Bearer YOUR_API_TOKEN"]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$response = curl_exec($ch);
curl_close($ch);

$data = json_decode($response, true);
print_r($data['data']);
SECURITY & KEYS

API Key Authentication

Authenticate using standard Bearer Token authorization headers.

Tokens carry full access privileges according to your subscription tier. You may pass your token in either of two methods:

Method 1: HTTP Header (Recommended)
Authorization: Bearer cpa_live_****************
Standard Bearer authorization token header.
Method 2: Query String Parameter
?api_key=cpa_live_****************
Useful for quick browser debugging and webhooks.
GET

/api/v1/coupons

Test Live →

Fetch active discount coupons, vouchers, cashback tiers, and verified promotional codes. Supports filtering by store slug, category tag, and date.

Query Parameters

Parameter Type Default Description
store string null Filter deals by merchant slug (e.g. nike, amazon, target)
category string null Filter by normalized category tag (e.g. Fashion, Electronics)
limit integer 25 Number of records per page (Maximum: 100)
page integer 1 Page number for paginated dataset
Example Response (200 OK) application/json
{
  "status": "success",
  "total": 1420,
  "limit": 1,
  "latency_ms": 18,
  "data": [
    {
      "id": 10842,
      "store": "Nike",
      "slug": "nike",
      "domain": "nike.com",
      "code": "SPRINGSALE25",
      "discount": "25% OFF",
      "description": "Save 25% on athletic footwear and apparel site-wide.",
      "cashback_rate": "5.0%",
      "affiliate_link": "https://track.couponapi.dev/click?id=10842&subid=YOUR_SUBID",
      "verified_at": "2026-09-25T14:30:00Z",
      "expires_at": "2026-10-31T23:59:59Z",
      "status": "active"
    }
  ]
}
GET

/api/v1/stores

Browse 58K Catalog →

Query the complete 58,000+ monitored merchant database with brand slugs, standardized domain names, high-resolution SVG/PNG logos, and benchmark cashback rates.

{
  "status": "success",
  "total_stores": 58420,
  "data": [
    {
      "id": 401,
      "name": "Sephora",
      "slug": "sephora",
      "domain": "sephora.com",
      "logo_url": "https://img.couponapi.dev/logos/sephora.svg",
      "category": "Beauty & Fragrance",
      "rating": 4.8,
      "cashback_rate": "4.5%",
      "active_coupons_count": 18
    }
  ]
}
THROUGHPUT & CONCURRENCY

Rate Limits & Response Headers

Every response includes standard rate limit telemetry headers to enable automated throttling control in your client applications:

Header Example Description
X-RateLimit-Limit 50 Maximum requests allowed per second under your active tier.
X-RateLimit-Remaining 48 Number of requests remaining in the current rolling window.
X-Quota-Monthly-Used 1420 Total query calls processed during the active billing cycle.
CORPORATE BILLING GUIDE

How to Pay via Direct Bank Wire Transfer

Submit Transfer Receipt →

For enterprise clients in Saudi Arabia, GCC, and worldwide, CouponAPI accepts direct corporate bank wire transfers. No credit card or automated recurring charges required.

Corporate Bank
Al Rajhi Bank (مصرف الراجحي)
Riyadh, Saudi Arabia
Account Number
9820 1827 3849 0192
Local SAR & USD Deposits
Official IBAN
SA44 8000 0456 6080 1019 2837
SWIFT: RJHI SA RI
How the Wire Approval Workflow Works:
  1. Transfer your subscription tier amount ($99 Growth, $299 Scale, or $950 Enterprise) from your corporate banking app.
  2. Download the official transfer confirmation PDF or take a screenshot of the transaction reference number.
  3. Navigate to Billing & Bank Wire and upload the receipt. Our Riyadh accounting desk verifies bank ledgers and activates unlimited production throughput within 1 to 2 business hours.