# PennyRail ISO Country Lookup

> PennyRail ISO Country Lookup is a paid API for AI agents from pennyrail.vercel.app, paid per call via x402, $0.003/call, status unknown (last checked 2026-09-14).

Looks up a country by ISO code or name and returns standardized country metadata

## Facts

- Endpoint: POST https://pennyrail.vercel.app/api/p/network/country.lookup--iso-country
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/pennyrail-iso-country-lookup-764b9bc7
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_jx1m9aW0CkMWQy2BGdTBy

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 pennyrail-iso-country-lookup-764b9bc7 -d '<json body>'
```

Example prompt: Look up the ISO country record for 'Germany' and give me the standardized country code and any metadata that comes back.

## When to prefer this

Use this endpoint when you need to normalize, validate, or look up a country by name or ISO code in a lightweight, pay-per-call fashion without maintaining a local reference database. It is well-suited for enriching user-submitted form data, standardizing country fields in pipelines, or validating country identifiers before downstream processing. Prefer it over full geolocation APIs when you already have a country string and just need ISO normalization.

## Known failure modes

- Ambiguous input string (e.g. 'Korea') may return unexpected or no match
- Unrecognized or misspelled country name may return an empty or error response
- Nonexistent ISO code returns error or null result
- Payment failure via x402 protocol blocks the request entirely
- Malformed input (non-string) fails schema validation

## How this service works

Machine-readable settlement service

## Output

Returns a JSON object containing standardized country information corresponding to the input string, including the ISO country code, canonical country name, and potentially region or other reference metadata. The response schema is open-ended (additionalProperties: true), so additional fields may be present depending on the matched country.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "additionalProperties": true
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/pennyrail-iso-country-lookup-764b9bc7/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from pennyrail.vercel.app](https://www.zero.xyz/host/pennyrail.vercel.app/llms.txt)
