# EndpointsXRT Country Info

> EndpointsXRT Country Info is a paid API for AI agents from endpointsxrt.vercel.app, paid per call via x402, $0.026006/call, status unknown (last checked 2026-09-15).

Returns detailed information about a country given its country code

## Facts

- Endpoint: POST https://endpointsxrt.vercel.app/api/country-info
- Price: $0.026006/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/endpointsxrt-country-info-c2a6eeb1
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_VyVLVXgnQMh370hWgMC85

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 endpointsxrt-country-info-c2a6eeb1 -d '<json body>'
```

Example prompt: Can you pull up the country info for Germany using its country code DE?

## When to prefer this

Use this endpoint when you need quick country-level reference data by country code, especially within an agent workflow already using the EndpointsXRT API Hub for other capabilities. It is a pay-per-call endpoint suitable for lightweight lookups without requiring a subscription.

## Known failure modes

- Invalid or unrecognized country code returns an error or empty result
- Missing 'code' field in request body causes a validation error
- Unsupported country code format (e.g. numeric instead of ISO alpha-2) may yield no results
- Payment failure on Base chain via x402 protocol prevents call from completing

## How this service works

All-in-one API hub: Social Media, Jobs, Finance, Crypto, and Tools. Pay-per-call with x402 protocol on Base chain.

## Output

A JSON object containing details about the specified country, which may include name, capital, population, currency, languages, region, and other geographic or demographic metadata.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "code": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

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

## More

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