> ## Documentation Index
> Fetch the complete documentation index at: https://docs.propertydata.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Get Property Local Legal Protection

> Get Property Local Legal Protection



## OpenAPI

````yaml api-reference/zillow/openapi.json get /api/v1/property/local-legal-protection
openapi: 3.1.0
info:
  title: US Property Data
  description: US Property Data Documentation
  version: 1.0.0
servers:
  - url: https://us-property-data.p.rapidapi.com
    description: RapiAPI
security: []
paths:
  /api/v1/property/local-legal-protection:
    get:
      tags:
        - Property
      summary: Get Property Local Legal Protection
      description: Get Property Local Legal Protection
      operationId: getApiV1PropertyLocal-legal-protection
      parameters:
        - in: query
          name: zpid
          schema:
            type: string
            pattern: ^\d+$
            minLength: 1
            description: Unique Zillow Property ID (ZPID) used to identify the property
            example: '58916071'
          required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                    example: true
                  cost:
                    type: number
                    description: Cost of the request
                    example: 1
                  data:
                    type: object
                    properties:
                      protectionLevels:
                        type: object
                        properties:
                          lgbt:
                            type: object
                            properties:
                              level:
                                type: string
                                description: >-
                                  Level of legal protection provided for LGBTQ+
                                  individuals (for example, city, county, or
                                  state level).
                                example: state
                              statePageUrl:
                                type: string
                                description: >-
                                  URL linking to the official or reference page
                                  describing LGBTQ+ legal protections in the
                                  corresponding state.
                                example: >-
                                  http://www.lgbtmap.org/equality_maps/profile_state/ct
                            description: >-
                              Legal protection level and reference information
                              related to LGBTQ+ rights in the property’s
                              jurisdiction.
                          soi:
                            type: object
                            properties:
                              level:
                                type: string
                                description: >-
                                  Level of legal protection for source-of-income
                                  discrimination in housing.
                                example: state
                            description: >-
                              Legal protection level related to discrimination
                              based on source of income.
                          voucher:
                            type: object
                            properties:
                              level:
                                type: string
                                description: >-
                                  Level of legal protection for housing choice
                                  voucher holders (for example, Section 8) in
                                  the jurisdiction.
                                example: state
                            description: >-
                              Legal protection level related to housing voucher
                              acceptance and discrimination.
                        description: >-
                          Summary of the jurisdiction-level legal protection
                          strength for different discrimination categories
                          affecting this property.
                      protections:
                        type: array
                        items:
                          type: object
                          properties:
                            covers:
                              type: object
                              properties:
                                genderIdentity:
                                  type: boolean
                                  description: >-
                                    Indicates whether the protection explicitly
                                    covers discrimination based on gender
                                    identity.
                                  example: true
                                sexualOrientation:
                                  type: boolean
                                  description: >-
                                    Indicates whether the protection explicitly
                                    covers discrimination based on sexual
                                    orientation.
                                  example: true
                                housingChoiceVoucher:
                                  type: boolean
                                  description: >-
                                    Indicates whether the protection covers
                                    discrimination against housing choice
                                    voucher holders.
                                  example: true
                                sourceOfIncome:
                                  type: boolean
                                  description: >-
                                    Indicates whether the protection covers
                                    discrimination based on a tenant’s or
                                    buyer’s source of income.
                                  example: true
                              description: >-
                                Flags indicating which personal attributes or
                                assistance programs are covered by the legal
                                protection.
                            description:
                              type: string
                              description: >-
                                Human-readable summary describing the scope of
                                legal housing protections and prohibited
                                discriminatory actions.
                              example: >-
                                Including protection from being unfairly
                                evicted, denied housing, or refused the ability
                                to rent or buy housing
                            type:
                              type: string
                              description: >-
                                Category of protection to which this legal rule
                                applies, such as housing, employment, or public
                                accommodations.
                              example: Housing
                        description: >-
                          List of specific legal protections applicable to this
                          property, describing covered attributes and protection
                          types.
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                type: object
                properties:
                  message:
                    type: string
                    example: Bad request
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                type: object
                properties:
                  message:
                    type: string
                    example: >-
                      Invalid API key. Go to https://docs.rapidapi.com/docs/keys
                      for more info.
        '403':
          description: Not Found
          content:
            application/json:
              schema:
                type: object
                properties:
                  message:
                    type: string
                    example: You are not subscribed to this API.
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                    example: false
                  message:
                    type: string
                    example: 'Request failed with status 500: Internal Server Error'
                  status_code:
                    type: number
                    example: 500
                  cost:
                    type: number
                    example: 0
                  explain:
                    type: string
                    example: >-
                      Oops, it looks like there was an issue processing your
                      request. Don't worry, you won't be charged for this
                      request
      security:
        - apiKeyAuth: []
components:
  securitySchemes:
    apiKeyAuth:
      type: apiKey
      in: header
      name: x-rapidapi-key
      description: Rapid API Key

````