Docs/Sources/University Lookup

University Lookup

Universities and Academic Domains

OperationalCredits 2 per callp50 189msReference Data

Overview

A university lookup API that answers two questions. Search by name, country or state to get institutions with their domains and websites; US results come from the NCES IPEDS directory with address, coordinates, control, level, highest degree, HBCU and land-grant flags. Or send a domain or a whole email address and the API says whether it is academic: it matches the domain and its parents against every institution's domains, then falls back to academic suffixes such as .edu and .ac.uk. Paid plans unlock the IPEDS figures for US institutions: enrollment, student-faculty ratio, admission rate, in-state and out-of-state tuition, graduate tuition and room and board.

Live Test University Lookup Source →

Formula

One function covers the whole catalog: the first argument names the source, the next are its inputs, and the field after them says which single value lands in the cell. Formulas covers the grammar that applies to all of them.

=VERVE("universitylookup", "count")

Inputs

Required inputs are positional, in the order below, followed by the field. Everything else is passed as a "name", value pair after that — the same shape as SUMIFS. Premium inputs are accepted on every plan but only take effect on plans that include them.

InputTypeWhere it goesDescription
nameOptionalstring"name", valueUniversity name or words from it; US abbreviations match too
length 0–150
domainOptionalstring"domain", valueDomain to check, e.g. stanford.edu; subdomains match their institution
length 0–253 · domain
emailOptionalstring"email", valueEmail address to check; its domain is used
length 0–320 · email
countryOptionalstring"country", valueCountry name or two-letter code
length 0–60
stateOptionalstring"state", valueState or province (two-letter code in the US)
length 0–60
limitOptionalinteger"limit", valueMaximum universities to return (1-50)
default 10 · range 1–50

Passing an option

=VERVE("universitylookup", "count", "name", "Stanford")

What lands in your sheet

The field — the argument after the inputs — is what makes the formula resolve to one cell. Its value is a dot-path from the table below, so swapping it is how you pull a different value — one formula per column.

Seeing everything at once

Leave the field out and the formula returns the whole response instead: two columns, field name on the left and value on the right, spilling from the cell you typed in.

=VERVE("universitylookup")
Good for exploring, not for filling down

The second row's table would land on top of the first's, and every cell after the first reads #REF! (#SPILL! in Excel). Keep one per sheet, or name a field, and leave the cells below and to the right empty.

Response fields

Paths are relative to data. Each one is exactly what the field argument accepts, so swapping it is how you pull a different value into a cell. On a plan without a Premium field the cell reads #PREMIUM(field) rather than a value, so a locked field never looks like a real answer.

Use as the fieldTypeExample cell valueDescription
domainobjectnullThe domain checked (domain and email lookups); null for searches
isAcademicDomainobjectnullThe domain belongs to a university or ends in an academic suffix; null for searches
matchTypeobjectnullexact, subdomain or academic_suffix when the domain is academic; null otherwise
matchedDomainobjectnullThe institution domain that matched; null when none did
countnumber1Number of universities returned
totalMatchesnumber1Number of universities that matched before the limit
universitiesarray[1]
universities.0.idstringus-166683Our identifier: us-<IPEDS unit id> for US institutions, <country>-<name slug> elsewhere
universities.0.namestringMassachusetts Institute of TechnologyInstitution name
universities.0.aliasesarray["MIT","M.I.T."]Other names and abbreviations the institution reports (US)
universities.0.countrystringUnited StatesCountry name
universities.0.countryCodestringUSISO 3166-1 alpha-2 country code
universities.0.stateProvincestringMAState (two-letter code in the US) or province, where known
universities.0.citystringCambridgeCity (US)
universities.0.addressstring77 Massachusetts AvenueStreet address (US)
universities.0.zipstring02139-4301ZIP code (US)
universities.0.latitudenumber42.359243Latitude of the campus (US)
universities.0.longitudenumber-71.093226Longitude of the campus (US)
universities.0.timezonestringAmerica/New_YorkIANA time zone of the campus (US)
universities.0.domainsarray["mit.edu","web.mit.edu"]Web and email domains of the institution
universities.0.websitestringhttps://web.mit.edu/Main website
universities.0.phonestring6172531000Main phone number, 10 digits (US)
universities.0.ipedsUnitIdnumber166683IPEDS unit id (US)
universities.0.controlstringprivate_nonprofitpublic, private_nonprofit or private_for_profit (US)
universities.0.levelstringfour_yearfour_year, two_year or less_than_two_year (US)
universities.0.highestDegreestringdoctoratedoctorate, master, bachelor, associate or non_degree (US)
universities.0.offersUndergraduatebooleantrueOffers undergraduate programmes (US)
universities.0.offersGraduatebooleantrueOffers graduate programmes (US)
universities.0.hbcubooleanfalseHistorically Black college or university (US)
universities.0.tribalbooleanfalseTribal college (US)
universities.0.landGrantbooleantrueLand-grant institution (US)
universities.0.localestringcity_midsizeCampus setting, e.g. city_large, suburb_midsize, rural_remote (US)
universities.0.sizeBandstring10000_19999Enrollment band: under_1000, 1000_4999, 5000_9999, 10000_19999 or 20000_plus (US)
universities.0.systemobjectnullMulti-campus system the institution belongs to (US)
universities.0.statsobject{…}IPEDS enrollment, admissions and cost figures (US); null elsewhere
universities.0.stats.enrollmentTotalPremiumnumber1192012-month or fall total enrollment
universities.0.stats.enrollmentUndergraduatePremiumnumber4576Undergraduate enrollment
universities.0.stats.enrollmentGraduatePremiumnumber7344Graduate enrollment
universities.0.stats.studentFacultyRatioPremiumnumber3Students per faculty member
universities.0.stats.admissionRatePremiumnumber5Percent of applicants admitted
universities.0.stats.tuitionInDistrictPremiumnumber60156In-district undergraduate tuition and fees, US dollars per year
universities.0.stats.tuitionInStatePremiumnumber60156In-state undergraduate tuition and fees, US dollars per year
universities.0.stats.tuitionOutOfStatePremiumnumber60156Out-of-state undergraduate tuition and fees, US dollars per year
universities.0.stats.graduateTuitionInStatePremiumnumber59750In-state graduate tuition, US dollars per year
universities.0.stats.graduateTuitionOutOfStatePremiumnumber59750Out-of-state graduate tuition, US dollars per year
universities.0.stats.roomAndBoardPremiumnumber19390On-campus room and board, US dollars per year
universities.0.stats.tuitionYearstring2023-24Academic year of the cost figures, e.g. 2023-24
universities.0.stats.enrollmentYearnumber2023IPEDS collection year of the enrollment and admissions figures

When a cell doesn't fill

A failed lookup returns readable text starting with #ERR rather than a spreadsheet error, because Excel cannot show a custom message on a real error — you would get a bare #VALUE! with no reason. The trade-off is that IFERROR() will not catch it; test with LEFT(cell, 4) = "#ERR" instead. Error handling covers the rest.

Cell readsWhat happened
#ERR Not connectedNo API key saved. Open the side panel and connect your account.
#ERR Replace <name> with a cell or valueA preview formula was copied as-is. Swap the placeholder for a cell reference.
#ERR No "x" in universitylookupAn option name this source does not take. The message lists the ones it does.
#ERR No data point "…"The field path is not in the response. Check it against the table above.
#PREMIUM(field)The field exists but your plan does not include it.
#ERR Out of creditsThe cycle's credits are spent. Usage resets on your billing date.

Before the formula works

The add-in reads the API key you saved once in the side panel — the key never goes in the formula, so a shared sheet does not leak it and a collaborator without access simply sees the last calculated values.

  1. Install the add-in for Google Sheets or Excel.
  2. Open the side panel and sign in, or paste a key from your dashboard.
  3. Type the formula above into any cell.

Use cases

Student Discount Verification
Check that a sign-up email belongs to a university before granting an education plan.
Lead Enrichment
Turn the domain on an inbound lead into the university behind it, with country and website.
College Search
List US colleges in a state with control, level, enrollment and tuition for comparison tools.
Form Autocomplete
Suggest institution names as students type their school on an application form.

Other ways to use University Lookup

Set up University Lookup on VerveSheets, or reach the same source a different way. Your VerveSheets account and credits work on all of them — one key, one balance.

Call it as a REST APIOne HTTPS endpoint and an x-api-key header, with SDKs for Node, Python and .NET.APIVerve →Reference →
Give it to an AI agentConnect over MCP and your agent calls it as a native tool — Claude, Cursor, ChatGPT.VerveKit →Reference →
Ground an agent on itA cited, machine-checkable fact your model can't produce on its own.VerveContext →Reference →

More in Reference Data:

Was this page helpful?