# lilambd Koyomi Countries Lookup

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

Returns a list of countries (optionally filtered by country name) with count and attribution metadata.

## Facts

- Endpoint: GET https://api.lilambd.com/koyomi/countries?utm_source=zero.xyz
- Price: $0.05/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/lilambd-koyomi-countries-lookup-3053645e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_wsPyzEHFEhoFVm9QQmVE4

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-koyomi-countries-lookup-3053645e
```

Example prompt: Can you pull up the countries available in the lilambd koyomi dataset — maybe filter it down to just Japan if that's an option?

## When to prefer this

Choose this endpoint when you need reference country data from the lilambd koyomi dataset specifically, including its attribution metadata. Prefer it over generic geography APIs when you are already working within the lilambd ecosystem or need the specific dataset this service curates.

## Known failure modes

- No matching country found for given filter — returns empty data array with count 0
- Invalid or unrecognised country string — may return empty results or error
- Payment not completed (x402 protocol) — request blocked before data is returned
- Rate limiting or upstream service unavailability — non-200 response

## 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 country records, a 'count' integer indicating the number of results, and an 'attribution' string crediting the data source licence.

## 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": {
      "country": {
       "type": "string",
       "description": "country (string)"
      }
     },
     "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-koyomi-countries-lookup-3053645e/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)
