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

# Area search

> Return parcels whose geometry intersects any of the submitted GeoJSON polygons.

## Building footprints

Set `include_buildings: true` in the request body to include ORNL building footprint data for each parcel. Each parcel in the response will contain a `buildings` array with the physical structures on that parcel.

The `buildings` key is omitted entirely when `include_buildings` is `false` (the default).


## OpenAPI

````yaml api-reference/openapi.json POST /parcels/area
openapi: 3.1.0
info:
  title: BuyParcelData API
  description: Access nationwide parcel data by geographic polygon, point, or address.
  version: 1.0.0
servers:
  - url: https://api.buyparceldata.com
    description: Production
security: []
paths:
  /parcels/area:
    post:
      tags:
        - parcels
      summary: Area Search
      description: >-
        Return parcels whose geometry intersects any of the submitted GeoJSON
        polygons.
      operationId: area_search_parcels_area_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AreaRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AreaResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - HTTPBearer: []
components:
  schemas:
    AreaRequest:
      properties:
        type:
          type: string
          const: FeatureCollection
          title: Type
        features:
          items:
            $ref: '#/components/schemas/PolygonFeature'
          type: array
          title: Features
        limit:
          type: integer
          maximum: 100
          minimum: 1
          title: Limit
          default: 20
        offset:
          type: integer
          minimum: 0
          title: Offset
          default: 0
        include_buildings:
          type: boolean
          title: Include Buildings
          default: false
      type: object
      required:
        - type
        - features
      title: AreaRequest
    AreaResponse:
      properties:
        results:
          items:
            $ref: '#/components/schemas/ParcelView'
          type: array
          title: Results
        count:
          type: integer
          title: Count
        limit:
          type: integer
          title: Limit
        offset:
          type: integer
          title: Offset
      type: object
      required:
        - results
        - count
        - limit
        - offset
      title: AreaResponse
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    PolygonFeature:
      properties:
        type:
          type: string
          const: Feature
          title: Type
        geometry:
          additionalProperties: true
          type: object
          title: Geometry
        properties:
          anyOf:
            - additionalProperties: true
              type: object
            - type: 'null'
          title: Properties
      type: object
      required:
        - type
        - geometry
      title: PolygonFeature
    ParcelView:
      additionalProperties: true
      type: object
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer

````