Get Global City Standard API
Description:
This API provides a standardized value for a global city name in the input parameter.
Example of city standardization API responses.
City |
Standard |
SF |
San Francisco |
San Fran |
San Francisco |
S.F. |
San Francisco |
NYC |
New York City |
Miami Bch |
Miami Beach |
Bosten |
Boston |
Parigi |
Paris |
Standardize City Name Data in Database Tables: Use this API to easily standardize city name data in Cloud database tables.
the browser while connected to
a Cloud data platform or database platform. The
City Name Standardization SQL is auto-generated to standardize data directly in database
tables using this API.
Service API Endpoint:
https://api.interzoid.com/getcitystandard
Calling Structure:
https://api.interzoid.com/getcitystandard?license=[licensekey]&city=[city name]
Optional Specification Examples:
OpenAPI Specification 3.1 JSON
OpenAPI Specification 3.1 YAML
Input Parameters:
License: Your Interzoid-issued license key
City: City name, such as St. Louis, L.A., Firenze...
Output Parameters:
City Standard: Standardized city value
Sample URL Query: |
https://api.interzoid.com/getcitystandard?license=dh8dj2f*****&city=L.A.
|
Sample JSON Output: |
{"CityStandard":"Los Angeles","Code":"Success","Credits":99889}
|
You can also set a header value for your API License Key (*recommended for production environments):
Curl Example: |
curl --header "x-api-key: dh8dj2f****" "https://api.interzoid.com/getcitystandard?city=L.A."
|
Sample Code Showing Usage:
Github
Try the API interactively:
(API License Key will auto-populate if
you have an account and are logged in. Otherwise, register for a free account.)
Do you have custom requirements or are interested in on-premise solutions? Contact us at support@interzoid.com