// use case · Product and growth teams running student discounts, academic licences, education programs or university partnerships.
Recognize student and academic emails worldwide, not just .edu
pingutil classifies an address as educational when its hostname matches .edu, .ac.<cc> or .edu.<cc>, and it checks the full hostname so cs.harvard.edu counts too. Use category educational as the first gate for a student offer, then confirm the person controls the inbox with your own verification link. Government domains (.gov, .mil, .gov.<cc>, .gouv.<cc>, .gob.<cc>) get their own category.
The problem
- Our student discount only checks for .edu and misses most universities outside the US.
- Students sign up with department subdomains our regex does not match.
- People claim the education plan with Gmail addresses.
- We want to send government signups to a separate public-sector team.
How pingutil solves it
- 1
Look up the address
Call /v1/lookup with skip_enrichment: true. Educational and government categories come from TLD rules, so no LLM call is needed.
- 2
Gate the offer on category
Grant the student or academic offer only when category is educational. Route government to your public-sector flow.
- 3
Confirm inbox ownership
Send a confirmation link to the address. The category proves the domain is academic; the link proves the person can read mail there.
Fields you will use
| Response field | What to do with it |
|---|---|
| category | Gate on educational or government |
| domain | Show or store the registrable institution domain |
| meta.categorization_source | Confirm the result came from a TLD rule |
| verdict.is_spam | Reject randomized addresses even on academic domains |
const res = await fetch('https://pingutil.com/v1/lookup', {
method: 'POST',
headers: {
Authorization: `Bearer ${process.env.PINGUTIL_KEY}`,
'Content-Type': 'application/json',
},
body: JSON.stringify({ input: 'jane@cs.ox.ac.uk', skip_enrichment: true }),
}).then((r) => r.json());
if (res.category === 'educational' && !res.verdict.is_spam) {
await sendConfirmationLink(user, 'student_discount');
} else if (res.category === 'government') {
await routeTo('public_sector', user);
}Compared with the alternatives
Teams often start with a .edu regex, which misses most of the world, or a hand-kept list of universities that goes stale. Dedicated student verification services check enrolment status against institution data and are the right choice when you must prove someone is currently a student. pingutil answers the narrower question of whether the email domain is academic.
See provider comparisons →Limits to plan for
- Academic domains also belong to staff, alumni and researchers. The category does not prove current student status.
- Institutions that do not use .edu, .ac.<cc> or .edu.<cc> domains (some use generic TLDs) are not recognized as educational.
- Some universities give alumni lifetime addresses, so expect some non-students to qualify.
Common questions
- Does it work for universities outside the US?
- Yes, for those on .ac.<cc> or .edu.<cc> domains, such as ox.ac.uk or unimelb.edu.au. Institutions on generic TLDs are not covered by the rule.
- Do subdomains like cs.harvard.edu count?
- Yes. The TLD rules check the full hostname, so department and mail subdomains are classified as educational.
- Can it tell students from faculty?
- No. It classifies the domain, not the person. Use an enrolment-check service if you need current student status.
Read next
- Guide: Verify students and teachers for education discounts by email
Check that a student or teacher email belongs to a school domain and a real mailbox, then confirm ownership, with fallbacks for schools without edu domains.
- Verifying student and academic email addresses worldwide
How to check if an email belongs to a university or school: TLD rules that work, the countries they miss, a university domain list, and a verification flow.
- Detecting government email domains in every country
A country-by-country guide to government email domains: what .gov, gov.uk and gouv.fr rules catch, what they miss (gc.ca, bund.de, go.jp), with detection code.
- eTLD+1 explained: why mail.stripe.com is stripe.com
What eTLD+1 means, how the Public Suffix List defines it, why splitting on dots breaks on bbc.co.uk, and how to compute it in JavaScript, Python and Go.