Skip to content

// 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. 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. 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. 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 fieldWhat to do with it
categoryGate on educational or government
domainShow or store the registrable institution domain
meta.categorization_sourceConfirm the result came from a TLD rule
verdict.is_spamReject 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