Overview
The Nonprofit Typeahead product powers autocomplete in your application. As a user types, each keystroke returns ranked nonprofit suggestions matched by organization name—or by EIN, with or without dashes. It’s built for speed and forgiving input, so users find the right organization in a few characters even with a typo.Key Features
- Search-as-You-Type: Fast prefix matching designed to run on every keystroke
- Name and EIN Matching: Matches organization names and alternate names, or an EIN typed as
12-3456789or123456789 - Typo Tolerance: A single typo still finds the intended organization
- Alternate Names Included: Matches IRS Business Master File alternate names, not just legal names
- Display-Ready Results: Names come back title-cased and ready to render in a dropdown
- Active Organizations Only: Suggestions cover active 501(c)(3) organizations
How It Works
Send the user’s input as theq parameter (2–100 characters) and render the ranked suggestions:
Use Cases
Donation and Grant Forms
Let donors or grant managers pick the right organization from a dropdown instead of typing a full legal name.Fuzzy EIN Lookup
Accept an EIN in any format the user types—12-3456789 or 123456789—and resolve it to an organization. Then pass the returned EIN to Nonprofit Details for the full profile.
Data Entry Validation
Confirm an organization exists (and is active) as users enter it, catching misspellings before records are saved.Response Format
A
state parameter is accepted for forward-compatibility but is currently ignored—results are not state-filtered yet.Pairs Well With
Typeahead returns the EIN; Nonprofit Details returns everything else. A typical flow: the user picks a suggestion from your dropdown, then your app fetches the full profile.Nonprofit Details
Fetch the complete profile for a selected suggestion using its EIN
Endpoint
Nonprofit Typeahead API
GET /typeahead/nonprofitsRanked search-as-you-type suggestions matched by nonprofit name or EIN