---
title: "University domains list API: check if an email is from a university | APIFor"
description: "Look up universities by country or name and get their web domains, for student email checks and sign-up forms. 14,415 institutions in 200 countries, from Hipo's university-domains-list (MIT)."
canonical: "https://apifor.dev/guides/university-domains-api/"
---

**All guides All docs**

- [Guides](https://apifor.dev/guides/)
- university domains list API

# University domains list API: check if an email is from a university

GET /v1/universities?country=NO returns universities in Norway with their web domains, which you can match against an email address to see whether it belongs to a university. The list is Hipo's university-domains-list (MIT licence), 14,415 institutions in 200 countries in our snapshot, at 1 credit per request.

Last checked 1 Dec 2026. Service: [Universities dataset](https://apifor.dev/universities/). Reference: [endpoint docs](https://apifor.dev/docs/reference/universities/).

## Matching an email domain

Take the part after the @ and compare it with each entry in `domains`, allowing subdomains: a student address at student.uib.no should match uib.no. Compare from the right, label by label, so that a lookalike such as uib.no.example.com does not pass.

Fetch the list for the countries you serve once and cache it, refreshing it weekly or monthly. Norway has 25 rows and the UK 193, so even the largest country, the US with 2,353, fits in a few paged calls of up to 200 rows.

## Request

Send your key in the `x-api-key` header. New accounts get 1,000 free requests after email verification; [the quickstart](https://apifor.dev/docs/quickstart/) takes about a minute.

GET curl

```bash
curl 'https://api.apifor.dev/v1/universities?country=NO' \
  -H 'x-api-key: YOUR_API_KEY'
```

Python

```
import os
import requests

r = requests.get(
    "https://api.apifor.dev/v1/universities",
    params={
        "country": "NO",
    },
    headers={"x-api-key": os.environ["APIFOR_API_KEY"]},
    timeout=30,
)
r.raise_for_status()
print(r.json()["data"])
```

JavaScript

```
const res = await fetch("https://api.apifor.dev/v1/universities?country=NO", {
  headers: { "x-api-key": process.env.APIFOR_API_KEY },
});
const { data } = await res.json();
console.log(data);
```

## Response

The OpenAPI example shows the row shape with the University of Andorra. Real Norwegian rows in our snapshot include Agder University College (hia.no) and Bergen University College (hib.no). The full spec is at [api.apifor.dev/v1/openapi.json](https://api.apifor.dev/v1/openapi.json).

200 OK

```json
{
  "success": true,
  "data": [
    {
      "id": 1,
      "name": "University of Andorra",
      "country": "Andorra",
      "country_code": "AD",
      "state_province": null,
      "domains": [
        "uda.ad"
      ],
      "web_pages": [
        "http://www.uda.ad/"
      ],
      "updated_at": "2026-11-28 04:06:58"
    }
  ]
}
```

## Know the limits

A matching domain shows that an address belongs to an institution. It does not show that the person is a current student. Staff, alumni and some partner organisations can hold addresses on the same domains. If you give student discounts, pair the check with a confirmation email at minimum.

The list is maintained by volunteers through pull requests, so names and domains can lag behind mergers and renames. Where we hold a national higher-education register, institutions missing from the world list are added. If you find a wrong or missing domain, the fix belongs upstream in the Hipo repository, where everyone who uses the list benefits, and it reaches our copy on the next load.

## Search by name

`GET /v1/universities?q=oslo` searches institution names, and `country` narrows it. Each row has `name`, `country_code`, `domains`, `web_pages`, `state_province` when the list has one, and `updated_at` from our last load.

A sign-up form can use this as an autocomplete: the user types part of their university's name, picks a row, and you store the domain to check their email against later. Results are paged, 50 by default and up to 200 with `limit`.

## Errors, limits and cost

A missing or wrong key returns 401, bad parameters return 400 with an `error.code`, and an unknown id returns 404. Rate limits are per key: a limited request gets 429 with a `Retry-After` header in seconds, so wait that long and retry. Calls that fail before any work starts are refunded. Details are in [errors](https://apifor.dev/docs/errors/) and [rate limits](https://apifor.dev/docs/rate-limits/).

This request costs 1 credit. Pricing is prepaid: 1,000 free requests once after email verification, then packs from $5 for 5,000 requests to $149 for 400,000. Credits never expire and there is no subscription. See [pricing](https://apifor.dev/pricing/).

## From an AI assistant

The same data is available as a tool on the APIFor MCP server at `https://mcp.apifor.dev/mcp`. Add it as a remote server in any client that supports remote MCP, sign in with OAuth or send your API key as a Bearer token, and ask in plain language. MCP calls use the same key and credits as REST. Setup steps are on the [MCP page](https://apifor.dev/docs/mcp/).

## Alternatives

- [Hipo hosted API](https://github.com/Hipo/university-domains-list): Free at universities.hipolabs.com, sponsored by Hipo, which asks big projects to host it on their own server. On 1 Dec 2026, /search?country=Norway returned JSON.

Facts about other services come from their own pages or a test call on 1 Dec 2026. Prices and limits change, so confirm them there.

## Source and licence

university-domains-list by Hipo (https://github.com/Hipo/university-domains-list), MIT licence.

Every APIFor response carries the same attribution in `meta.attribution`. All sources are listed on [sources and licences](https://apifor.dev/sources/).

## FAQ

### How do I check if an email is a student email?

Match its domain against the domains list, allowing subdomains. That proves the address is at an institution, not that the person is enrolled.

### Is the university domains list free?

Yes. Hipo publishes it under the MIT licence and runs a free hosted API. APIFor serves it behind the same key as other datasets, at 1 credit per request.

### How many universities are in the list?

14,415 institutions in 200 countries in our current snapshot.

## Related

- [Universities dataset](https://apifor.dev/universities/)
- [Endpoint reference](https://apifor.dev/docs/reference/universities/)
- [Universities in Norway](https://apifor.dev/universities/norway/)
- [School directory API](https://apifor.dev/services/schools/)
- [Domain lookup API](https://apifor.dev/services/domain/)
- [All guides](https://apifor.dev/guides/)

[Get a free API key](https://app.apifor.dev/register) [Use it from an AI client (MCP)](https://apifor.dev/docs/mcp/)
