# Country Dial Code Lookup

> Country Dial Code Lookup is a paid API for AI agents from intel.rallylive.ca, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-14).

Returns the international dialing prefix (calling code) for a country by name or ISO code, along with ISO codes and an example E.164 formatted number.

## Facts

- Endpoint: GET https://intel.rallylive.ca/data/dial-code
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/country-dial-code-lookup-f964a094
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_gOupxej6fL6NVrQFWK0dq

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 country-dial-code-lookup-f964a094
```

Example prompt: What's the international dialing code and an example E.164 formatted number for Germany — I need to format a phone number for a contact there.

## When to prefer this

Choose this endpoint when you need to quickly resolve a country's international dialing prefix from a name or ISO code, especially when building phone formatting pipelines, contact enrichment workflows, or validating E.164 numbers per country. It is preferable to a full phone validation API when you only need the country-level metadata rather than full number verification.

## Known failure modes

- Unknown or misspelled country name returns an error or empty result
- Invalid ISO code (non-existent or wrong format) may return no data
- Edge cases like disputed territories or non-standard codes may not be supported
- Network or service unavailability returns an HTTP error
- Payment failure (insufficient x402 funds) prevents lookup

## How this service works

Country calling code: the international dial prefix for a country by name or ISO code, with the ISO codes and an example E.164 format. Phone formatting and validation helper. $0.01 per lookup.

## Output

Returns the international dialing prefix (e.g. +49 for Germany), ISO alpha-2 and alpha-3 country codes, and an example phone number formatted in E.164 international standard. Useful for pre-populating phone fields, validating number formats, and enriching contact records.

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/country-dial-code-lookup-f964a094/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from intel.rallylive.ca](https://www.zero.xyz/host/intel.rallylive.ca/llms.txt)
