Introducing our Snowflake Data Cloud Native Application: AI-Driven Data Quality built into SQL statements! Learn More

Get Country Name Standard API

Standardize country names for efficient data management and more accurate analysis

API Overview

This API provides a standardized value for the country name provided in the input parameter, enabling consistency and more accurate analysis of country name data.

Standardization

Converts various country name formats, spellings, and abbreviations to a standardized form.

Global Capability

Algorithm "ai-medium" converts foreign language country name spellings into English spellings for easier analysis.

Flexible Implementation

Supports various implementation methods, including API calls and SQL integration.

How It Works

Country Input Standardized Output
US United States
U.S.A. United States
SKorea South Korea
P.R.C. China
Kamerune Cameroon
Aleman Germany
Gmny Germany
Deutschland Germany
Mex. Mexico
u.a.e. United Arab Emirates
u.k. United Kingdom
brasil Brazil
JPY Japan

API Details

Endpoint

https://api.interzoid.com/getcountrystandard

Request Format

https://api.interzoid.com/getcountrystandard?license=[apikey]&country=[country name]&algorithm=[algorithm]

Sample Request

https://api.interzoid.com/getcountrystandard?license=dh8dj2f*****&country=uae&algorithm=ai-medium

Sample Response

{"CountryStandard":"United Arab Emirates","Code":"Success","Credits":474284}

cURL Example (with API key in header)

curl --header "x-api-key: dh8dj2f*****" "https://api.interzoid.com/getcountrystandard?country=uae&algorithm=ai-medium"

Algorithm & AI Model Options

narrow

Basic standardization algorithm. Very fast for very high volume requirements, but less accurate than AI options.

ai-plus

AI-enhanced standardization. Better accuracy in standardization than narrow, with good performance.

ai-medium

Best accuracy results for country name standardization. Recommended algorithm for most cases, but API response can take a little bit longer.

Recommended

Additional Resources

Database Integration

Standardize country name data in Cloud database tables and other datasets:

Try Cloud Data Connect
Optional OpenAPI Specification

An OpenAPI Specification (OAS) is a standardized format for describing the structure, endpoints, and functionality of a RESTful API in a machine-readable format.

It is a blueprint for developers and enables integration by defining request and response schemas, authentication methods, and available operations.

YAML JSON Swagger Editor with Client Generators
Service Bureau

Want us to do it for you? We can take your data and use our products on your behalf:

Contact Support