# Interzoid Get State Abbreviation API

> Interzoid Get State Abbreviation 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-14).

Converts a US state name (e.g. 'California') into its standard two-letter postal abbreviation (e.g. 'CA')

## Facts

- Endpoint: GET https://api.interzoid.com/getstateabbreviation
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/interzoid-get-state-abbreviation-api-06213e32
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_-qPjcORLpY5g1ay4sPeZn

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-state-abbreviation-api-06213e32
```

Example prompt: What is the official two-letter postal abbreviation for California? Use Interzoid to look it up.

## When to prefer this

Use this endpoint when you need to reliably convert a full US state name to its standard two-letter USPS postal abbreviation — ideal for address normalization, CRM/ERP data cleaning, form validation, or ensuring consistent state codes across datasets. Prefer this over regex or hand-coded lookups when accuracy and standardization matter.

## Known failure modes

- Invalid or unrecognized state name returns an error Code rather than Success
- Misspelled state names may not match and return no abbreviation
- Non-US territories or Canadian provinces may not be supported
- Empty or missing state parameter causes an error response

## How this service works

Standardize US state and province name data to a consistent full name plus abbreviation. Handles variations like 'Calif', 'CA', 'Cal', 'California'.

## Output

Returns a JSON object with a success Code, the full State name (e.g. 'California'), its two-letter Abbreviation (e.g. 'CA'), and a Credits field indicating remaining API credits.

## Example request

```json
{
 "city": "Springfield",
 "state": "Illinois"
}
```

## 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": [
      "state"
     ],
     "properties": {
      "state": {
       "type": "string",
       "description": "State or province name/abbreviation to standardize"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "Code": "Success",
  "State": "California",
  "Credits": "0",
  "Abbreviation": "CA"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/interzoid-get-state-abbreviation-api-06213e32/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)
