# lilambd Country Lookup by ISO2 Code

> lilambd Country Lookup by ISO2 Code 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-04).

Returns country data for a given ISO 3166-1 alpha-2 country code

## Facts

- Endpoint: GET https://api.lilambd.com/science/countries/%7Biso2%7D?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-04
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/lilambd-country-lookup-by-iso2-code-1ecfa918
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_NhelXbGwBUwFElcnIiy80

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-country-lookup-by-iso2-code-1ecfa918
```

Example prompt: Can you look up the country information for Germany using its ISO2 code DE?

## When to prefer this

Use this endpoint when you need to look up structured country data by a known ISO 3166-1 alpha-2 two-letter code and are operating in an x402 micropayment context. It is a simple, fast reference lookup suitable for enriching records, validating country codes, or building country-aware UIs.

## Known failure modes

- Invalid or unrecognized ISO2 code returns an error or empty response
- Missing path parameter {iso2} results in a routing error
- Payment not processed (HTTP 402) if x402 payment header is absent or insufficient
- Network timeout for slow or unavailable service

## 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 country information for the requested ISO 3166-1 alpha-2 country code, likely including fields such as country name, region, and other geographic or demographic metadata.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "required": {
   "type": "string"
  },
  "properties": {
   "type": "string"
  },
  "additionalProperties": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json"
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/lilambd-country-lookup-by-iso2-code-1ecfa918/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)
