<link href="https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500&display=swap" rel="stylesheet" /> <link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet" />

Oklahoma City, United States — City Data API

Country: US Oklahoma (OK) Pop: 687,000

Oklahoma City is a city in United States (US), Oklahoma (OK). Get Oklahoma City geographic data, postal codes and location info via the Country Data API REST endpoints. Query by country code 'US' and state code 'OK' to retrieve Oklahoma City data. JSON, plans from €5/mo.

Oklahoma City location data via REST API

Use country code US and state code OK to query cities and zip codes that include Oklahoma City.

All cities of United States

List every city in United States

Cities by country

Cities in Oklahoma

List every city in Oklahoma, United States

Cities by state

Zip codes in United States

Postal code dataset for United States

Get zip codes

API Request Example

Fetch cities in United States (US) — your response will include Oklahoma City.

Cities by country

GET https://api.countrydataapi.com/v1/cities/country?country=United%20States&limitToken=1000&apikey=YOUR_API_KEY

cURL example

curl "https://api.countrydataapi.com/v1/cities?city=Oklahoma%20City&apikey=YOUR_API_KEY"

Access Oklahoma City data via API

Integrate Oklahoma City (United States) into your application. One API for all countries, states, cities and zip codes.