# Country Info Lookup

> Country Info Lookup is a paid API for AI agents from intel.rallylive.ca, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-14).

Returns comprehensive country facts including official name, ISO codes, capital, region, population, area, currencies, languages, calling code, TLD, timezones, neighbours, and flag from the REST Countries API.

## Facts

- Endpoint: GET https://intel.rallylive.ca/data/country
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/country-info-lookup-3ce3bf18
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_M97Li3170KETi7Nq7HXma

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 country-info-lookup-3ce3bf18
```

Example prompt: What are the official details for Germany — capital, population, currency, languages, calling code, and neighbouring countries?

## When to prefer this

Choose this endpoint when you need structured, multi-field country metadata in a single call — especially official name, ISO codes, capital, population, currencies, languages, calling codes, TLD, timezones, neighbours, and flag. It is backed by the well-known REST Countries API and costs only $0.01 per call, making it ideal for enriching user records, building localization features, or populating country-picker UIs without managing your own data source.

## Known failure modes

- Unknown or misspelled country name returns an error or empty result
- Ambiguous input (e.g. 'Georgia' as country vs US state) may resolve incorrectly
- API upstream (REST Countries) downtime causes lookup failure
- Payment failure (insufficient USDC balance) blocks the request

## How this service works

Country facts: official name, ISO codes, capital, region, population, area, currencies, languages, calling code, top-level domain, timezones, neighbours and flag, from the free REST Countries API. $0.01 per lookup.

## Output

A structured object containing the country's official name, ISO 2- and 3-letter codes, capital city, world region and subregion, population count, land area in km², list of currencies with codes, official and spoken languages, international dialing/calling code, country-level top-level domain (TLD), all applicable timezones, list of neighbouring country codes, and a flag (emoji or URL).

## 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"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {}
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/country-info-lookup-3ce3bf18/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from intel.rallylive.ca](https://www.zero.xyz/host/intel.rallylive.ca/llms.txt)
