<!--
{
  "availability" : [
    "macCatalyst: -",
    "macOS: 10.0.0 - 10.4.0"
  ],
  "documentType" : "symbol",
  "framework" : "Foundation",
  "identifier" : "/documentation/Foundation/NSHTTPPropertyStatusCodeKey",
  "metadataVersion" : "0.1.0",
  "role" : "Global Variable",
  "symbol" : {
    "kind" : "Global Variable",
    "modules" : [
      "Foundation"
    ],
    "preciseIdentifier" : "c:@NSHTTPPropertyStatusCodeKey"
  },
  "title" : "NSHTTPPropertyStatusCodeKey"
}
-->

# NSHTTPPropertyStatusCodeKey

Key for the status code, returned as an integer wrapped in an `NSNumber` object.

```
extern NSString * const NSHTTPPropertyStatusCodeKey;
```

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)