---
title: postalCode
framework: datadetection
role: symbol
role_heading: Instance Property
path: datadetection/ddmatchpostaladdress/postalcode
---

# postalCode

The postal code in a postal address.

## Declaration

```swift
var postalCode: String? { get }
```

## See Also

### Getting postal address information

- [street](datadetection/ddmatchpostaladdress/street.md)
- [city](datadetection/ddmatchpostaladdress/city.md)
- [state](datadetection/ddmatchpostaladdress/state.md)
- [country](datadetection/ddmatchpostaladdress/country.md)
