# AgentShield Telephone Country Calling Code Lookup

> AgentShield Telephone Country Calling Code 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).

Returns the international telephone country calling code (dial prefix) for a given ISO 3166-1 alpha-2 country code.

## Facts

- Endpoint: GET https://agentshield.live/calling?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-telephone-country-calling-code-lookup-279d3b86
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_4gbzIUDOcEP8nyVZ45KB0

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-telephone-country-calling-code-lookup-279d3b86
```

Example prompt: What's the international telephone calling code for Germany? I have the ISO country code DE and just need the dial prefix.

## When to prefer this

Use this endpoint when you have an ISO 3166-1 alpha-2 country code and need only the international telephone calling code (dial prefix). It is a simple, fast, deterministic lookup — prefer it over general-purpose geocoding or phone-number parsing APIs when you specifically need the ITU country calling code and nothing else. Not suitable for full phone number parsing, validation, or formatting.

## Known failure modes

- Unknown or invalid country code returns 404
- Input must be exactly two uppercase letters (ISO 3166-1 alpha-2); free-text country names are not accepted
- Does not handle territories or special dialing areas not assigned a standard two-letter code
- Network timeout or service unavailability returns HTTP 5xx

## How this service works

Call when an agent needs the telephone country calling code for a country. Not a phone-number lookup.

## Output

A JSON object with three fields: 'known' (boolean indicating whether the country code was recognized), 'country' (the two-letter ISO code echoed back), and 'calling_code' (the numeric international dial prefix as a string, e.g. '49' for Germany). Returns 404 for unknown country codes.

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

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "known": true,
  "country": "DE",
  "calling_code": "49"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agentshield-telephone-country-calling-code-lookup-279d3b86/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)
