# Interzoid Get City Standard API

> Interzoid Get City Standard API is a paid API for AI agents from api.interzoid.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-15).

Standardizes and normalizes a city name input, returning the canonical city name and state abbreviation

## Facts

- Endpoint: GET https://api.interzoid.com/getcitystandard
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/interzoid-get-city-standard-api-4e5bb1e1
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_msumEFv7t4i2ggStLwuo5

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability interzoid-get-city-standard-api-4e5bb1e1
```

Example prompt: Can you standardize the city name 'San Fran' for me — I need the canonical city name and its two-letter state code so I can clean up our customer database?

## When to prefer this

Use this endpoint when you need to normalize or standardize a single city name to its canonical form with state code — ideal for data cleansing pipelines, CRM/ERP data quality workflows, or validating user-entered city fields before database storage. Prefer this over a full address validation API when you only need city-level standardization.

## Known failure modes

- Invalid or unrecognized city name returns an error code
- Missing city parameter returns a bad request error
- Exhausted API credits returns a credits-depleted error
- Ambiguous city name with no clear canonical match may return unexpected result

## How this service works

Standardize city name data to a consistent canonical form. Handles abbreviations, alternate spellings, and local variations.

## Output

Returns a JSON object with the standardized canonical city name (e.g. 'San Francisco'), the two-letter state abbreviation (e.g. 'CA'), a status code ('Success' or error), and remaining API credits.

## Example request

```json
{
 "city": "San Francisco",
 "state": "CA"
}
```

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "city"
     ],
     "properties": {
      "city": {
       "type": "string",
       "description": "City name to standardize"
      },
      "state": {
       "type": "string",
       "description": "State or Province (optional but recommended)"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "City": "San Francisco",
  "Code": "Success",
  "State": "CA",
  "Credits": "0"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/interzoid-get-city-standard-api-4e5bb1e1/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.interzoid.com](https://www.zero.xyz/host/api.interzoid.com/llms.txt)
