# agentshield.live Language Name Lookup

> agentshield.live Language Name Lookup is a paid API for AI agents from agentshield.live, paid per call via x402, $0.002/call, status unknown (last checked 2026-11-20).

Resolves an ISO 639-1 two-letter language code to its English language name

## Facts

- Endpoint: GET https://agentshield.live/lang?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-20
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agentshield-live-language-name-lookup-9192f803
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_XjYWzA6F18QAbMHidL8AY

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 agentshield-live-language-name-lookup-9192f803
```

Example prompt: What's the English name for the ISO 639-1 language code 'pt'?

## When to prefer this

Choose this endpoint when you have a bare ISO 639-1 two-letter code and need only the English language name without any translation, locale data, or script information. It is a lightweight, deterministic lookup with no side effects, ideal for labeling, display, and enrichment workflows where speed and simplicity matter.

## Known failure modes

- Unknown or invalid ISO 639-1 code returns a 404 response
- Codes longer than two letters or non-alphabetic inputs are not valid and will 404
- Regional subtags or BCP 47 extended codes are not supported — only two-letter ISO 639-1 codes

## How this service works

Call when an agent has an ISO 639-1 code and needs the English language name. Unknown codes return 404. Not a translation.

## Output

Returns a JSON object with the original two-letter code, the English name of the language (e.g. 'German'), and a boolean 'known' field confirming the code was recognized. Returns a 404 if the code is unknown or invalid.

## 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",
     "required": [
      "code"
     ],
     "properties": {
      "code": {
       "type": "string",
       "description": "ISO 639-1 two-letter code."
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "code": "de",
  "name": "German",
  "known": true
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agentshield-live-language-name-lookup-9192f803/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agentshield.live](https://www.zero.xyz/host/agentshield.live/llms.txt)
