# CountryLayer Language Lookup (Spanish)

> CountryLayer Language Lookup (Spanish) is a paid API for AI agents from gateway.apiosk.com, paid per call via x402, $0.07/call, status unknown (last checked 2026-09-14).

Returns a list of countries where Spanish is an official or widely spoken language, using the CountryLayer API via gateway.apiosk.com.

## Facts

- Endpoint: GET https://gateway.apiosk.com/countrylayer/language/es
- Price: $0.07/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/countrylayer-language-lookup-spanish-303b66f4
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_GpdkZF8wddKl7Sp7vxj3D

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 countrylayer-language-lookup-spanish-303b66f4
```

Example prompt: Can you give me a list of all countries where Spanish is an official language, including their country codes and any other details available?

## When to prefer this

Use this endpoint when you need a ready-made, pay-per-call lookup of countries by language (specifically Spanish/es) without managing your own CountryLayer API key. Prefer it for quick agent-driven country lookups where the x402 micropayment model fits your workflow.

## Known failure modes

- Invalid or unsupported language code returns empty or error response
- Gateway timeout or upstream CountryLayer API unavailability
- Payment failure via x402 protocol prevents access
- No countries matched for the given language code

## How this service works

Countries by language code: append /{code}.

## Output

Returns structured country data for all nations associated with the Spanish language (language code 'es'), likely including country names, ISO codes, regions, capitals, and other CountryLayer metadata fields.

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/countrylayer-language-lookup-spanish-303b66f4/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from gateway.apiosk.com](https://www.zero.xyz/host/gateway.apiosk.com/llms.txt)
