Scrapers / Developer & File Tools

Coupon & Voucher Code Generator
hipersoft/coupon-code-generator
Generate large batches of unique, collision-checked promo/voucher codes with custom prefixes, length and character sets. For campaigns, gift cards and giveaways.
Total users
2Monthly users
1Total runs
71Per codes generated
$0.001Last rebuilt
Oct 26, 2026Overview
Generate large batches of unique, collision-checked promo and voucher codes — with custom prefixes, length, grouping and character sets. For marketing campaigns, gift cards, giveaways and licensing.
What it does
- Generates guaranteed-unique codes (deduped as they're created).
- Custom prefix/suffix, length, character set and grouping (
ABCD-EFGH). - Excludes ambiguous characters by default (no 0/O/1/I).
- Exports a dataset and a
codes.csvfile.
Use cases
- Marketing — unique discount codes for a campaign.
- Gift cards / vouchers — bulk redeemable codes.
- Licensing / access — unique keys at scale.
Input
{ "count": 100, "length": 8, "prefix": "SUMMER-", "groups": 4 }
| Field | Type | Description |
|---|---|---|
count |
integer | How many unique codes. |
length |
integer | Random-part length. |
prefix/suffix |
string | Fixed text around each code. |
alphabet |
string | Character set for the random part. |
groups |
integer | Insert a separator every N chars (0 = off). |
lowercase |
boolean | Output lowercase. |
Output
{ "code": "SUMMER-K7QP-93MN" }
Output schema
| Field | Type | Description |
|---|---|---|
code |
string | A unique generated code. |
FAQ
Are codes unique? Yes — collisions are checked and rejected as codes are generated.
Can I automate it? Yes — via integrations on the Apify platform and the Apify API.
Notes
Original clean-room implementation.
Input
| Field | Type | Description |
|---|---|---|
countHow many codes | integer | Number of unique codes to generate (1–1000000). Default: 100 |
lengthCode length | integer | Characters in the random part of each code. Default: 8 |
prefixPrefix | string | Text prepended to every code, e.g. SUMMER-. |
suffixSuffix | string | Text appended to every code. |
alphabetCharacter set | string | Characters used for the random part (default excludes ambiguous 0/O/1/I). Default: "ABCDEFGHJKLMNPQRSTUVWXYZ23456789" |
groupsGroup size | integer | Insert a separator every N characters (0 = no grouping), e.g. 4 → ABCD-EFGH. Default: 0 |
groupSeparatorGroup separator | string | Character between groups. Default: "-" |
lowercaseLowercase | boolean | Output codes in lowercase. Default: false |
API
curl -X POST "https://api.apify.com/v2/acts/hipersoft~coupon-code-generator/run-sync-get-dataset-items?token=$APIFY_TOKEN" \
-H "Content-Type: application/json" \
-d '{}'from apify_client import ApifyClient
client = ApifyClient("YOUR_APIFY_TOKEN")
run = client.actor("hipersoft/coupon-code-generator").call(run_input={})
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
print(item)import { ApifyClient } from 'apify-client';
const client = new ApifyClient({ token: 'YOUR_APIFY_TOKEN' });
const run = await client.actor('hipersoft/coupon-code-generator').call({});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items);Pricing
| Event | Price | Paid plans from |
|---|---|---|
| Codes Generated Charged per item processed. | $0.001 | $0.0005 |
You pay only for what the run returns. Set a maximum cost per run and it stops cleanly at that limit.
Related scrapers
Bulk Image Downloader
Download thousands of images from a list of URLs and store each in the key-value store with a public link. Returns content type, size, dimensions and SHA-256 per image. Bulk-ready. Great for datasets, backups and media pipelines.
8,102 runs · 103 users · $0.056 / url processedText to Speech
Convert any text to natural-sounding speech as an MP3 download. 300+ premium neural voices across 70+ languages, adjustable rate, pitch and volume. Great for voiceovers, videos, accessibility and audio content. No setup.
278 runs · 22 users · $0.01 / audio generatedGoogle Maps Email Extractor
Search Google Maps for businesses, then crawl each business website to extract emails, social profiles and extra phone numbers. Turns any Maps search into a ready lead list. No setup.
159 runs · 8 users · $0.006 / business lead scrapedWebsite Screenshot
Capture full-page or viewport screenshots of any URL as PNG or JPEG, at any device size. For monitoring, previews, thumbnails and automation workflows.
156 runs · 3 users · $0.004 / screenshot capturedBulk URL Status Checker
Check thousands of URLs over plain HTTP: status codes, broken links (404/410/5xx), full redirect chains, response time, content type, page title and SSL certificate expiry.
154 runs · 13 users · $0.002 / url checkedGoogle Search Scraper
Scrape Google Search results (organic listings) for any query: title, URL, displayed URL, snippet and position. Multi-query, per-country/language, pagination. Uses Google SERP proxy — reliable, no captcha, no setup.
121 runs · 8 users · $0.001 / result scrapedSend the site and the fields. We build it and you get it first.