Country Calling Code API

GET

Map any country code to its international dialing prefix.

Country Calling Code looks up international dialing codes and official names from a two-letter ISO country code. It returns an array of calling prefixes and standard country identifiers.

Try it — live request, no key required

Request
GETapi.apiverve.com/v1/callingcode?country=FR
Query parameters
Verification
Format

No key required to try it. Get a key to use it in your app.

Example
{
  "status": "ok",
  "error": null,
  "data": {
    "country": "France",
    "officialName": "French Republic",
    "countryCode": "FR",
    "callingcodes": [
      "+33"
    ],
    "region": "Europe",
    "subregion": "Western Europe"
  }
}

About the Country Calling Code API

Pass any two-letter ISO country code to retrieve its international phone dialing codes, common name, and official name. Because some jurisdictions share or use multiple prefixes, calling codes arrive as an array. Paid plans add geographic region and subregion details.

What people use it for

Signup Form Prepopulation
When users pick their nationality on signup forms, frontends populate the international phone prefix automatically to avoid input errors.
Contact Record Normalization
Clean customer address books by appending verified country dialing prefixes to local phone numbers stored with ISO country codes.
SMS Gateway Routing
To dispatch two-factor authentication alerts, messaging systems verify recipient phone prefixes against their registered account country.
Logistics Contact Sheets
Shipping platforms convert destination ISO codes into international dialing prefixes so couriers can contact international package recipients.

Ways to call it

One endpoint, many ways in — REST with JSON, XML, YAML and CSV, plus GraphQL and an MCP interface for AI agents.

JSON
Default REST response
XML
Markup format
YAML
Human-readable
CSV
Tabular export
Beta
GraphQL
Query language
New
MCP
For AI agents

Other ways to use Country Calling Code

Same data, same APIVerve account, same credit balance — one key works on all of them.

Questions.

Common questions about the Country Calling Code API.

Read the docs →
Is it cheap enough to look up calling codes for every signup?
Yes. Each lookup costs 2 credits, which works out to about $0.0003 per call on the Starter plan, or $0.30 per 1,000 requests. The Free plan includes 100 calls each month for development and testing.
Are region and subregion details included on the Free plan?
No. The Free plan returns the country name, official name, two-letter code, and calling codes. The geographic region and subregion fields are premium attributes unlocked on any paid subscription, starting with Starter.
What input format does the country parameter require?
The endpoint accepts standard two-letter ISO country codes, such as FR for France or US for the United States. It does not accept full country names or three-letter codes directly.
Can a country return more than one dialing code?
Yes. The callingcodes field returns an array of strings, which accommodates territories or countries that share code spaces or utilize multiple prefixes.
Can I use these dialing codes in a commercial checkout flow?
Yes, provided you are on a paid subscription. You can store and display the returned calling codes inside your own applications, forms, or checkout flows, but you may not resell or redistribute the raw dataset.

Ready to build with Country Calling Code? Start with 200 free credits — one key unlocks all 300+ APIs.

Explore the catalog

300+ APIs on the same key and the same response shape.

Browse all APIs