## Lookup Zip Code From City Or State

**post** `/v1/addver/zip_codes`

Looks up all ZIP codes that correspond to a given US city and state.

- Currently only supported for US addresses (`countryCode: "US"`).
- Uses 1 lookup.

### Body Parameters

- `city: string`

  The city name.

- `countryCode: string`

  The country code. Currently only `US` is supported.

- `state: string`

  The state abbreviation (e.g. `NY`).

### Returns

- `data: object { zipCodes }`

  - `zipCodes: array of string`

- `message: string`

- `status: "success" or "error"`

  - `"success"`

  - `"error"`

### Example

```http
curl https://api.postgrid.com/v1/addver/zip_codes \
    -H 'Content-Type: application/json' \
    -H "X-API-Key: $POSTGRID_ADDRESS_VERIFICATION_API_KEY" \
    -d '{
          "city": "city",
          "countryCode": "countryCode",
          "state": "state"
        }'
```

#### Response

```json
{
  "data": {
    "zipCodes": [
      "string"
    ]
  },
  "message": "message",
  "status": "success"
}
```
