Check out our High Performance Batch Processing API: Match and Enrich Data Using CSV/TSV Files as Input Data to our APIs 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"

High Performance Batch Example (CSV source, provides results for entire file):

curl "https://connect.interzoid.com/run?function=country-standard&apikey=your-api-key&source=csv&connection=https://your-file-location.csv&table=csv&column=1"

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
Video Description

Watch a short video discussing real-time geographic data standardization.

YouTube
Service Bureau

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

Contact Support