# US Nonprofit Name Search & EIN Lookup

> US Nonprofit Name Search & EIN Lookup is a paid API for AI agents from api.agentstools.dev, paid per call via x402, $0.008/call, status unknown (last checked 2026-09-15).

Resolves a US nonprofit organization name to ranked candidate matches, each with EIN, name, location, NTEE category, 501(c) subsection, and a match score.

## Facts

- Endpoint: GET https://api.agentstools.dev/nonprofit/search
- Price: $0.008/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/us-nonprofit-name-search-ein-lookup-abcf6b16
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_3BfzVgUrF1G5fhfA9FZZo

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability us-nonprofit-name-search-ein-lookup-abcf6b16
```

Example prompt: Can you find the EIN for a nonprofit called 'Doctors Without Borders' in New York — it should be a 501(c)(3), so filter to c_code 3 and give me the top 5 matches?

## When to prefer this

Use this endpoint as the first step when you have a nonprofit organization name and need its EIN, especially when the name may be ambiguous or shared by multiple organizations. Prefer this over manual IRS lookups when you need ranked candidates with match scores for disambiguation. Use state, NTEE category, or 501(c) subsection filters to narrow results when you have additional context about the organization.

## Known failure modes

- No matches found for obscure or misspelled organization name — returns empty candidate list
- Ambiguous name returns many low-confidence matches requiring further filtering by state or NTEE
- Invalid state abbreviation or out-of-range NTEE/c_code values return validation errors
- Name too short or generic results in very large candidate sets with low discriminability
- Payment failure or insufficient USDC balance returns 402 Payment Required

## How this service works

Resolve a US nonprofit name to ranked candidate organizations, each with EIN, name, city, state, decoded NTEE, subsection and a match score. The cheap first step for EIN-to-name disambiguation, optionally narrowed by state, NTEE category or 501(c) subsection.

## Output

A ranked list of up to 25 candidate nonprofit organizations matching the queried name, each record containing: EIN, organization name, city, state, decoded NTEE category description, 501(c) subsection code, and a numeric match score indicating confidence of the name match.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "name"
     ],
     "properties": {
      "name": {
       "type": "string",
       "description": "Organization name to search"
      },
      "ntee": {
       "type": "integer",
       "maximum": 10,
       "minimum": 1,
       "description": "Optional NTEE category id (1 to 10)"
      },
      "limit": {
       "type": "integer",
       "maximum": 25,
       "minimum": 1,
       "description": "Maximum candidates to return (default 10)"
      },
      "state": {
       "type": "string",
       "examples": [
        "NY",
        "CA",
        "DC"
       ],
       "description": "Optional 2-letter US state filter"
      },
      "c_code": {
       "type": "integer",
       "description": "Optional 501(c) subsection number, e.g. 3"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/us-nonprofit-name-search-ein-lookup-abcf6b16/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.agentstools.dev](https://www.zero.xyz/host/api.agentstools.dev/llms.txt)
