# Lilambd Nonprofit States Lookup

> Lilambd Nonprofit States Lookup is a paid API for AI agents from api.lilambd.com, paid per call via x402, $0.005/call, status unknown (last checked 2026-11-02).

Returns a list of nonprofit organization states (statuses or types) filtered and sorted by cause category, sourced from open nonprofit data.

## Facts

- Endpoint: GET https://api.lilambd.com/orgs/nonprofits/states?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/lilambd-nonprofit-states-lookup-5c99cbed
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_A5eFzfPgpjlCM8MNxD217

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 lilambd-nonprofit-states-lookup-5c99cbed
```

Example prompt: Show me the nonprofit states sorted by the most organizations, filtered to the arts cause category using NTEE code A.

## When to prefer this

Use this endpoint when you need to enumerate or browse nonprofit organization states (statuses, types, or categories) filtered by NTEE cause area, especially when you want results ranked by volume. Prefer this over general web searches when you need structured, attributed nonprofit data programmatically.

## Known failure modes

- Invalid NTEE cause letter returns empty data array with count 0
- Invalid sort value (not 'most' or 'fewest') may return unsorted or error response
- No matching records for rare cause codes returns empty data array
- API may return minimal example response if no data is indexed yet for a given filter

## How this service works

A crossing for play, feeling, language, science and computation — creating states that do not have names yet.

## Output

A JSON object containing an array of nonprofit state records matching the query, a count of results, and an attribution string crediting the data source license.

## 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",
    "queryParams"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [],
     "properties": {
      "sort": {
       "type": "string",
       "description": "most | fewest"
      },
      "cause": {
       "type": "string",
       "description": "NTEE major letter"
      }
     },
     "additionalProperties": {
      "type": "string"
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "json"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "data": [],
  "count": 0,
  "attribution": "source licence line"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/lilambd-nonprofit-states-lookup-5c99cbed/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.lilambd.com](https://www.zero.xyz/host/api.lilambd.com/llms.txt)
