Government email domains: .gov, .mil and international equivalents
Public-sector domains identify people at government agencies, from US federal departments to French ministries. Detected by TLD pattern on the full hostname.
Government buyers move differently: procurement rules, security reviews, specific contract terms. Knowing at signup that someone writes from a government domain lets you route them to the right team and the right paperwork.
pingutil matches .gov and .mil, plus .gov.<country>, .gouv.<country>, .gob.<country> and .govt.<country>. That covers hmrc.gov.uk, economie.gouv.fr, sat.gob.mx and ird.govt.nz without anyone keeping a list up to date.
Some agencies use domains that do not follow these patterns (a few national governments use plain .de or .ch domains, for example). Those come back as "company".
How pingutil detects it
TLD rules on the full hostname: .gov, .mil, .gov.<cc>, .gouv.<cc>, .gob.<cc> and .govt.<cc>.
POST /v1/lookup
{ "input": "someone@nasa.gov" }
→ { "category": "government", ... }Example domains
A few well-known ones. Detection is rule-based, so there is no fixed list.
- nasa.gov
- irs.gov
- army.mil
- hmrc.gov.uk
- economie.gouv.fr
- sat.gob.mx
- ato.gov.au
- india.gov.in
- ird.govt.nz
Common questions
- Why classify government addresses separately?
- They usually need a different sales process, pricing and compliance review than commercial customers. A separate category lets you route them on day one.
- Are state and city domains included?
- In the US, yes when they use .gov (for example ny.gov or austintexas.gov). Domains like state.tx.us do not match the rules and come back as "company".
Related guides
- 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.
- How to tell a business email from a personal one in code
Classify an email as business or personal: reduce to the registrable domain, check provider lists, then use MX records to catch personal custom domains.
Check a domain now
Run any address through the live demo, or get an API key for your app.