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

Get City Name Standard API

Standardize city names for consistent data management and analysis

API Overview

This API provides a standardized English-language value for city names, including international cities, enabling consistent, normalized, and more accurate analysis of city name data and data dependent on city name data.

Standardization

Converts various city name formats, spellings, and abbreviations to an English-language standardized form.

Global Coverage

Supports city names from around the world, including foreign language spellings, converting to English-language equivalents where necessary for more accurate analysis and verification.

Database Integration

Easily standardize city name data in Cloud database tables, data files, and other datasets.

How It Works

City Input Standardized Output
SF San Francisco
San Fran San Francisco
S.F. San Francisco
NYC New York City
Miami Bch Miami Beach
Bosten Boston
philly Philadelphia
Parigi Paris
firenze Florence
joburg Johannesburg
Prag Prague

API Details

Endpoint

https://api.interzoid.com/getcitystandard

Request Format

https://api.interzoid.com/getcitystandard?license=[licensekey]&city=[city name]&algorithm=[algorithm type]

Sample Request

https://api.interzoid.com/getcitystandard?license=dh8dj2f*****&city=L.A.&algorithm=ai-medium

Sample Response

{"CityStandard":"Los Angeles","Code":"Success","Credits":99889}

cURL Example (with API key in header)

curl --header "x-api-key: dh8dj2f****" "https://api.interzoid.com/getcitystandard?city=L.A.&algorithm=ai-medium"

Algorithm & AI Model Options

narrow

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

ai-plus

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

ai-medium

Best accuracy results for city name standardization. Recommended algorithm for most cases, but API response can take a little bit longer to traverse our models.

Recommended

Additional Resources

Database Integration

Standardize city 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
Custom Solutions

Would you like us to use our own products on your behalf to process your data? Quick turnarounds.

Contact Support