# lilambd Language Search

> lilambd Language Search 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).

Search a database of world languages by name, family, country, or endangerment status

## Facts

- Endpoint: GET https://api.lilambd.com/languages/search?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-language-search-9b8aaf56
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_2Bgvi5LGuhz7gXvbafCHQ

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-language-search-9b8aaf56
```

Example prompt: Can you search for endangered languages spoken in Brazil, showing up to 100 results?

## When to prefer this

Choose this endpoint when you need to query a structured database of world languages with filtering by name, family, country, or endangerment status. It is suitable for linguistic research, building language-aware applications, or exploring language diversity. Prefer this over general web search when you need structured, filterable, attributed language data in a programmatic format.

## Known failure modes

- No results returned (empty data array) when the query term doesn't match any language
- Invalid country code yields no results or an error
- Limit values outside 1-200 range may be rejected or clamped
- Payment not included results in HTTP 402 response
- Misspelled language names may return zero results

## 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 a 'data' array of language records matching the query, a 'count' integer indicating total matches, and an 'attribution' string citing the data source licence. Each record likely contains language name, autonym, family, country, and endangerment status.

## 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": {
      "q": {
       "type": "string",
       "description": "Name or autonym"
      },
      "limit": {
       "type": "string",
       "description": "Max rows (1-200, default 50)"
      },
      "family": {
       "type": "string",
       "description": "Family glottocode or name"
      },
      "offset": {
       "type": "string",
       "description": "Rows to skip"
      },
      "country": {
       "type": "string",
       "description": "ISO 3166-1 alpha-2"
      },
      "endangerment": {
       "type": "string",
       "description": "Status"
      }
     },
     "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-language-search-9b8aaf56/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)
