# minia2a Capital City Lookup

> minia2a Capital City Lookup is a paid API for AI agents from minia2a.uk, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-16).

Returns the capital city of a given country or region via a simple GET request.

## Facts

- Endpoint: GET https://minia2a.uk/x402/capital-city?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-16
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/minia2a-capital-city-lookup-b4b3c763
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_qUG1jjWD93vhO8tKsoo6P

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 minia2a-capital-city-lookup-b4b3c763
```

Example prompt: What is the capital city of Argentina? Use the capital-city lookup to get me a quick answer.

## When to prefer this

Choose this endpoint when you need a quick, low-cost ($0.01 USDC) programmatic lookup of a capital city by country name, especially within an agent workflow that already uses x402 micropayment infrastructure on minia2a.uk. It is well-suited for enriching datasets, answering geography questions, or building geography-aware applications without standing up your own data store.

## Known failure modes

- Unrecognized or misspelled country name returns an error or empty result
- Ambiguous territory names (e.g. disputed regions) may return unexpected results
- Network or payment failure (402) if USDC balance is insufficient
- Missing or malformed query parameters may result in a 400 error

## How this service works

Capital City

## Output

Returns the capital city name associated with the queried country or region, likely as a simple string or JSON object containing the city name and possibly related metadata.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "properties": {
    "type": {
     "type": "string"
    },
    "method": {
     "type": "string"
    },
    "bodyType": {
     "type": "string"
    },
    "queryParams": {
     "type": "object"
    }
   }
  },
  "output": {
   "type": "object",
   "properties": {
    "type": {
     "type": "string"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true,
  "capital": "Paris",
  "country": "France"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/minia2a-capital-city-lookup-b4b3c763/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from minia2a.uk](https://www.zero.xyz/host/minia2a.uk/llms.txt)
