# lilambd Hazard Countries Lookup

> lilambd Hazard Countries 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-04).

Returns hazard or risk data for a country identified by its ISO 3166-1 alpha-2 country code.

## Facts

- Endpoint: GET https://api.lilambd.com/hazard/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-hazard-countries-lookup-1857e2a2
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_wLnVtCG3gy9Np_kPGTRVB

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-hazard-countries-lookup-1857e2a2
```

Example prompt: Can you look up the hazard data for Germany using its ISO country code DE?

## When to prefer this

Use this endpoint when you need quick, per-country hazard or risk data keyed by ISO 3166-1 alpha-2 code and are comfortable paying micro-transactions per lookup via the x402 protocol. Prefer this over broader geopolitical databases when you need a simple, low-cost per-call country hazard lookup without bulk data licensing.

## Known failure modes

- Invalid or unrecognized ISO2 code returns an error or empty response
- Country not in dataset returns null or 404-style JSON
- Malformed path parameter causes a bad request error
- Payment failure via x402 protocol prevents access

## 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 hazard or risk data associated with the specified country, keyed by its ISO 3166-1 alpha-2 code. Fields likely include hazard indicators, risk scores, or categorized threat information for that nation.

## 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-hazard-countries-lookup-1857e2a2/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)
