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 State/Province Standard and Two-Letter Abbreviation API

Standardize state and province names for efficient data management and more accurate analysis

API Overview

This API provides the two-letter state full standard name and two-letter abbreviation for US state and Canadian province names, including many variations, misspellings, and other inconsistencies often found in this data.

Standardization

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

US & Canada Coverage

Supports both US states and Canadian provinces for comprehensive North American data standardization.

Database Integration

Easily integrate with cloud database tables for efficient data cleansing and standardization.

How It Works

State Input State Standard Abbreviation
Californa California CA
Calif. California CA
Cal California CA
wiconsin Wisconsin WI
S Dakoa South Dakota SD
Ohio Ohio OH
Ore. Oregon OR
NEW YORK New York NY
OKLA Oklahoma OK
Brit Col British Columbia BC
Qeubec Quebec QC

API Details

Endpoint

https://api.interzoid.com/getstateabbreviation

Request Format

https://api.interzoid.com/getstateabbreviation?license=[APIkey]&algorithm=ai-medium&state=[state]

Sample Request

https://api.interzoid.com/getstateabbreviation?license=dh8dj2f*****&algorithm=ai-medium&state=Ohio

Sample Response

{"State":"Ohio","Abbreviation":"OH","Code":"Success","Credits":10043}

cURL Example (with API key in header)

curl --header "x-api-key: dh8dj2f*****" "https://api.interzoid.com/getstateabbreviation?state=ohio&algorithm=ai-medium"

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

curl "https://connect.interzoid.com/run?function=state-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 state name standardization. Recommended algorithm for most cases, but API response can take a little bit longer.

Recommended

Additional Resources

Database Integration

Standardize state and province name data in Cloud database tables:

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