whatisgithub

What is gpt-promo-scanner?

juk1-gh/gpt-promo-scanner — explained in plain English

Analysis updated 2026-05-18

508PythonAudience · generalComplexity · 3/5LicenseSetup · moderate

In one sentence

A Python tool that guesses and validates unpublished partner discount codes for ChatGPT Business by probing OpenAI's checkout API through country proxies.

Mindmap

mindmap
  root((promo scanner))
    What it does
      Guesses codes
      Validates via API
      Generates payment link
    Workflow
      Generate candidates
      Batch validate
      Collect prices
      Pay via Stripe
    Tech stack
      Python
      Clash proxy
      Stripe
    Concerns
      Partner only codes
      Proxy spoofing
      ToS risk
    Audience
      General users

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Automatically generate and test candidate discount code names against a checkout API.

USE CASE 2

Route API requests through country specific proxy nodes to match a code's eligible region.

USE CASE 3

Generate a direct payment link once a valid discount code is confirmed.

What is it built with?

Pythoncurl_cffiClashStripe API

How does it compare?

juk1-gh/gpt-promo-scannerpluviobyte/video-production-skillsshandaai/alayarenderer
Stars508503501
LanguagePythonPythonPython
Setup difficultymoderateeasyhard
Complexity3/52/55/5
Audiencegeneraldeveloperresearcher

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · moderate Time to first run · 30min

Requires a Clash-compatible multi-country proxy client and a manually refreshed ChatGPT login token that expires every few hours.

Use freely for any purpose, including commercial use, as long as you keep the copyright notice.

So what is it?

This is a Python tool built to find and use promotional discount codes for ChatGPT Business, the paid team plan that OpenAI normally sells for fifty dollars per seat per month. According to the README, OpenAI has given some partner companies discount codes worth forty to seventy one percent off, and this tool tries to discover which codes exist and whether they still work. The process has four stages. First, the tool generates guesses for possible codes by combining a list of known partner company names with country codes, following a naming pattern the author noticed in codes already found. Second, it checks each guess against OpenAI's checkout system to see whether it is valid, routing its requests through different country specific proxy servers using a proxy client called Clash so that requests appear to come from the matching region. Third, for any code that checks out, it queries a pricing API to find the discounted price before tax. Fourth, a separate script generates a direct Stripe payment link for a chosen code, country, and account login token, which can then be opened in a browser to complete a purchase at the discounted rate. The README documents several practical obstacles the author ran into, including the target service blocking rapid bursts of requests, login tokens expiring every few hours and needing to be refreshed by hand from the browser, and inconsistent country code suffixes between the codes discovered so far. This tool describes systematically probing for and using discount codes that were issued only to specific partner companies, not to the general public, and doing so by spoofing the user's apparent country through proxy routing. That is different from a company publishing a public promo code, and using codes this way likely conflicts with the terms of service of the platform involved and could be considered a form of fraud against the discount program. Readers should be aware of that before using it.

Copy-paste prompts

Prompt 1
Explain how this tool guesses discount code names and why that pattern might not always work.
Prompt 2
What are the legal and account risks of using promo codes that were only issued to specific partner companies?
Prompt 3
Walk me through why this tool needs a country specific proxy setup like Clash to work correctly.
Prompt 4
Summarize the rate limiting and token expiration problems this README describes running into.

Frequently asked questions

What is gpt-promo-scanner?

A Python tool that guesses and validates unpublished partner discount codes for ChatGPT Business by probing OpenAI's checkout API through country proxies.

What language is gpt-promo-scanner written in?

Mainly Python. The stack also includes Python, curl_cffi, Clash.

What license does gpt-promo-scanner use?

Use freely for any purpose, including commercial use, as long as you keep the copyright notice.

How hard is gpt-promo-scanner to set up?

Setup difficulty is rated moderate, with roughly 30min to a first successful run.

Who is gpt-promo-scanner for?

Mainly general.

Open on GitHub → Ask about another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.