# EndpointsXRT Predict Country from Name

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

Predicts the likely country of origin for a given personal name using ML inference

## Facts

- Endpoint: POST https://endpointsxrt.vercel.app/api/predict-country
- Price: $0.033238/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/endpointsxrt-predict-country-from-name-b700648f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_75HtR_kDQ9pv498zBKjEi

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-predict-country-from-name-b700648f -d '<json body>'
```

Example prompt: Can you predict what country the name 'Andrei Popescu' is most likely from?

## When to prefer this

Use this endpoint when you need a quick, pay-per-call country-of-origin prediction for a personal name without setting up a dedicated ML pipeline. It is well-suited for enriching user profiles, lead scoring, or demographic analytics where nationality inference from names is needed on-demand.

## Known failure modes

- Missing or empty 'name' field returns an error
- Ambiguous names common to many countries may return low-confidence results
- Very rare or unusual names may yield incorrect predictions
- Payment failure on Base chain blocks the request (402 response)
- Generic object response schema means output structure may vary unexpectedly

## 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

Returns a JSON object containing the predicted country of origin for the provided name, likely including a country name or code and possibly a confidence score or probability distribution across top candidate countries.

## Request schema (JSON Schema)

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

## Response schema (JSON Schema)

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/endpointsxrt-predict-country-from-name-b700648f/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)
