# Calling codes — AutoSugges platform dataset

## How do I add Calling codes autocomplete to my app?

Calling codes is a free AutoSugges reference list of 242 items. Query it with your publishable key as the key parameter and the typed text as q, after at least two characters. Results come back pre-ranked from the edge, ten by default, ready for the AutoSugges React, React Native or HTML component.

International calling codes for 242 territories, searchable by country name, code or calling code. From Google libphonenumber.

242 items.

## Provenance
Source: Google libphonenumber (https://raw.githubusercontent.com/google/libphonenumber/v9.0.40/resources/PhoneNumberMetadata.xml)
Retrieved: 2026-09-27, effective version v9.0.40
Authority: authoritative
Licence: Apache License, Version 2.0. No NOTICE file accompanies this release, so §4(d) does not apply; §4(b) is satisfied by this header stating that the data has been re-shaped into AutoSugges list items. (other)
Attribution: Google libphonenumber, Apache License 2.0
Export allowed: yes

## Availability
Free

## Authority
Authoritative

## Dataset kind
Reference list

## Worked example
```json
{
  "value": "LA",
  "displayValue": "Laos",
  "aliases": [
    "+856",
    "856",
    "LA",
    "Laos"
  ],
  "metadata": {
    "callingCode": "856",
    "nationalPrefix": "0",
    "internationalPrefix": "00",
    "mainCountryForCode": false
  }
}
```

## Query it
```
/v1/query?key=YOUR_PUBLISHABLE_KEY&q=laos
```

A publishable key is public by design and belongs in client code as written; it is not a secret.

## Frequently asked questions

### What is in the Calling codes dataset?

International calling codes for 242 territories, searchable by country name, code or calling code. From Google libphonenumber. It has 242 items. Its source is Google libphonenumber. Authority: Authoritative. Licence: Apache License, Version 2.0. No NOTICE file accompanies this release, so §4(d) does not apply; §4(b) is satisfied by this header stating that the data has been re-shaped into AutoSugges list items. Refresh cadence: As libphonenumber tags a release.

### Is the Calling codes dataset free?

AutoSugges-published free datasets are never priced on their own — every plan includes all of them. What a plan prices is how many queries you may make, not which free list you may query. A few catalog entries are licensed from a third party or supplied by you, and those carry their own access terms, shown on that dataset's own page.

### How do I query Calling codes?

Call GET /v1/query with your publishable key as the key parameter and the typed text as q, or mount the AutoSugges component for React, React Native or HTML. The runtime answers from the edge and never reads a database.

### What is the minimum number of characters before a query runs?

Two by default. A list owner can change the minimum, but it can never be 1. The client reads the real value from bootstrap and sends no request below it, so do not hardcode it.

### How long does the client wait after typing before it queries?

150 milliseconds by default. The value is delivered through bootstrap and a list owner can raise it, so the client uses the policy value rather than a constant.

### What happens when my query quota runs out?

The runtime returns a structured quota_exceeded response that carries no items and no placeholder suggestions, so exhaustion is never mistaken for no results. Render it from the typed error code and prompt an upgrade.

---
Canonical page: https://autosugges.com/datasets/calling-codes
