Skip to main content

Outcome

Your app has one or more matching nonprofit organizations. Store the selected org id for grant submission.

When

Before Recommend a Grant. Trigger when the user searches for a charity to support. This step can run before or after Fund a DAF—grants require both a fund and an organization.

Auth

None. Organization search is a public endpoint. You may call it from your backend or client. Prefer a backend call if you want to add caching, logging, or rate-limit handling consistently with other flows.

Endpoint

GET /v2/orgs/search?searchTerm={term} API reference: Search organizations See also: Nonprofit Organizations in API reference.

Required inputs

ParamDescription
searchTermName, EIN, or keyword to search
Additional filters are documented in the API reference.

Example request

curl "https://api.dev.endaoment.org/v2/orgs/search?searchTerm=red+cross"

Response you need

From the results array, persist:
FieldUse
idOrganization ID for grant submission
nameDisplay name in your UI
einOptional verification display

Common mistakes

  • Assuming search requires a Bearer token
  • Using EIN lookup endpoints when keyword search is sufficient (see Get organization by EIN for direct EIN lookup)
  • Granting without confirming the org id from search results

Full sample

Reference UI patterns: GitHub quickstart frontend. Next: Recommend a Grant