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

# Aerial photo with the lot outlined

> A JPEG crop from public-domain or openly licensed imagery, or imagery its publisher granted West Kite to serve (license permission, e.g. NYC's aerials back to 1924; the permission field names the grant), with the parcel outline drawn on it. Headers X-Imagery-Source, X-Imagery-Year, X-Imagery-Credit and X-Imagery-License name it; format=json returns the same as JSON with the outline and years: every year with a photo of this lot, newest first, each naming the source, publisher, resolution and license that year's photo comes from (available_years is the same years as plain numbers). One list decides every photo: without year the photo is the first entry in years, and year=Y is the entry for Y. year is null when the flight cannot be dated. invalid_request lists the years when the asked year has none. not_found when no public imagery West Kite serves was flown over the lot (Alaska, for one); service_unavailable when a publisher did not answer.



## OpenAPI

````yaml /openapi.json get /properties/{id}/image
openapi: 3.1.0
info:
  title: West Kite API
  version: 1.0.0
  description: >-
    Sourced US commercial property records, owner research and contacts, priced
    per call. A call that fails, or a lookup that finds nothing, costs nothing.
    Missing fields are unavailable, never zero: each answer lists them in
    missing with a reason.
  contact:
    url: https://westkite.com/docs/api
servers:
  - url: https://api.westkite.com/v1
security:
  - bearer: []
  - apiKey: []
paths:
  /properties/{id}/image:
    get:
      tags:
        - Properties
      summary: Aerial photo with the lot outlined
      description: >-
        A JPEG crop from public-domain or openly licensed imagery, or imagery
        its publisher granted West Kite to serve (license permission, e.g. NYC's
        aerials back to 1924; the permission field names the grant), with the
        parcel outline drawn on it. Headers X-Imagery-Source, X-Imagery-Year,
        X-Imagery-Credit and X-Imagery-License name it; format=json returns the
        same as JSON with the outline and years: every year with a photo of this
        lot, newest first, each naming the source, publisher, resolution and
        license that year's photo comes from (available_years is the same years
        as plain numbers). One list decides every photo: without year the photo
        is the first entry in years, and year=Y is the entry for Y. year is null
        when the flight cannot be dated. invalid_request lists the years when
        the asked year has none. not_found when no public imagery West Kite
        serves was flown over the lot (Alaska, for one); service_unavailable
        when a publisher did not answer.
      operationId: getPropertyImage
      parameters:
        - name: id
          in: path
          required: true
          description: Property ID.
          schema:
            type: string
        - name: size
          in: query
          required: false
          description: 'Pixels square: 256, 512, 768, 1024. Default 1024.'
          schema:
            type: integer
        - name: format
          in: query
          required: false
          description: jpeg (default) or json.
          schema:
            type: string
        - name: year
          in: query
          required: false
          description: >-
            Flight year, 1990 or later: one of years. Default: the first entry
            in years, the newest photo.
          schema:
            type: integer
      responses:
        '200':
          description: A JPEG, or the envelope with format=json.
          headers:
            RateLimit-Limit:
              $ref: '#/components/headers/RateLimit-Limit'
            RateLimit-Remaining:
              $ref: '#/components/headers/RateLimit-Remaining'
            RateLimit-Reset:
              $ref: '#/components/headers/RateLimit-Reset'
            X-Request-Id:
              $ref: '#/components/headers/X-Request-Id'
            Server-Timing:
              $ref: '#/components/headers/Server-Timing'
            X-Imagery-Source:
              $ref: '#/components/headers/X-Imagery-Source'
            X-Imagery-Year:
              $ref: '#/components/headers/X-Imagery-Year'
            X-Imagery-Credit:
              $ref: '#/components/headers/X-Imagery-Credit'
            X-Imagery-License:
              $ref: '#/components/headers/X-Imagery-License'
            X-Charged-USD:
              $ref: '#/components/headers/X-Charged-USD'
            X-Balance-USD:
              $ref: '#/components/headers/X-Balance-USD'
          content:
            image/jpeg:
              schema:
                type: string
                format: binary
            application/json:
              schema:
                type: object
                required:
                  - data
                  - missing
                  - billing
                  - request_id
                properties:
                  data:
                    $ref: '#/components/schemas/PropertyImage'
                  missing:
                    type: array
                    items:
                      $ref: '#/components/schemas/MissingField'
                  billing:
                    $ref: '#/components/schemas/Billing'
                  request_id:
                    type: string
        '400':
          description: invalid_request
          headers:
            RateLimit-Limit:
              $ref: '#/components/headers/RateLimit-Limit'
            RateLimit-Remaining:
              $ref: '#/components/headers/RateLimit-Remaining'
            RateLimit-Reset:
              $ref: '#/components/headers/RateLimit-Reset'
            X-Request-Id:
              $ref: '#/components/headers/X-Request-Id'
            Server-Timing:
              $ref: '#/components/headers/Server-Timing'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: invalid_key
          headers:
            RateLimit-Limit:
              $ref: '#/components/headers/RateLimit-Limit'
            RateLimit-Remaining:
              $ref: '#/components/headers/RateLimit-Remaining'
            RateLimit-Reset:
              $ref: '#/components/headers/RateLimit-Reset'
            X-Request-Id:
              $ref: '#/components/headers/X-Request-Id'
            Server-Timing:
              $ref: '#/components/headers/Server-Timing'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: scope_missing
          headers:
            RateLimit-Limit:
              $ref: '#/components/headers/RateLimit-Limit'
            RateLimit-Remaining:
              $ref: '#/components/headers/RateLimit-Remaining'
            RateLimit-Reset:
              $ref: '#/components/headers/RateLimit-Reset'
            X-Request-Id:
              $ref: '#/components/headers/X-Request-Id'
            Server-Timing:
              $ref: '#/components/headers/Server-Timing'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: not_found
          headers:
            RateLimit-Limit:
              $ref: '#/components/headers/RateLimit-Limit'
            RateLimit-Remaining:
              $ref: '#/components/headers/RateLimit-Remaining'
            RateLimit-Reset:
              $ref: '#/components/headers/RateLimit-Reset'
            X-Request-Id:
              $ref: '#/components/headers/X-Request-Id'
            Server-Timing:
              $ref: '#/components/headers/Server-Timing'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '409':
          description: idempotency_conflict
          headers:
            RateLimit-Limit:
              $ref: '#/components/headers/RateLimit-Limit'
            RateLimit-Remaining:
              $ref: '#/components/headers/RateLimit-Remaining'
            RateLimit-Reset:
              $ref: '#/components/headers/RateLimit-Reset'
            X-Request-Id:
              $ref: '#/components/headers/X-Request-Id'
            Server-Timing:
              $ref: '#/components/headers/Server-Timing'
            Retry-After:
              $ref: '#/components/headers/Retry-After'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '429':
          description: rate_limited
          headers:
            RateLimit-Limit:
              $ref: '#/components/headers/RateLimit-Limit'
            RateLimit-Remaining:
              $ref: '#/components/headers/RateLimit-Remaining'
            RateLimit-Reset:
              $ref: '#/components/headers/RateLimit-Reset'
            X-Request-Id:
              $ref: '#/components/headers/X-Request-Id'
            Server-Timing:
              $ref: '#/components/headers/Server-Timing'
            Retry-After:
              $ref: '#/components/headers/Retry-After'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '500':
          description: internal_error
          headers:
            RateLimit-Limit:
              $ref: '#/components/headers/RateLimit-Limit'
            RateLimit-Remaining:
              $ref: '#/components/headers/RateLimit-Remaining'
            RateLimit-Reset:
              $ref: '#/components/headers/RateLimit-Reset'
            X-Request-Id:
              $ref: '#/components/headers/X-Request-Id'
            Server-Timing:
              $ref: '#/components/headers/Server-Timing'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '503':
          description: service_unavailable
          headers:
            RateLimit-Limit:
              $ref: '#/components/headers/RateLimit-Limit'
            RateLimit-Remaining:
              $ref: '#/components/headers/RateLimit-Remaining'
            RateLimit-Reset:
              $ref: '#/components/headers/RateLimit-Reset'
            X-Request-Id:
              $ref: '#/components/headers/X-Request-Id'
            Server-Timing:
              $ref: '#/components/headers/Server-Timing'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  headers:
    RateLimit-Limit:
      description: Requests per minute on the team's plan.
      schema:
        type: integer
    RateLimit-Remaining:
      description: Requests left in the current minute.
      schema:
        type: integer
    RateLimit-Reset:
      description: Seconds until the minute resets.
      schema:
        type: integer
    X-Request-Id:
      description: The request's id, as request_id in the body.
      schema:
        type: string
    Server-Timing:
      description: >-
        Milliseconds each step of the call took on West Kite's side: pre, plan,
        admit (key, limits and hold), work (the endpoint itself) and settle
        (charge and log), e.g. admit;dur=40, work;dur=310. Durations only.
      schema:
        type: string
    X-Imagery-Source:
      description: The imagery's name.
      schema:
        type: string
    X-Imagery-Year:
      description: The year it was flown, or unknown.
      schema:
        type: string
    X-Imagery-Credit:
      description: The credit line to show with the photo.
      schema:
        type: string
    X-Imagery-License:
      description: The imagery's license status.
      schema:
        enum:
          - public-domain
          - open
          - no-restriction-stated
          - permission
    X-Charged-USD:
      description: What a non-JSON answer (the image) was charged.
      schema:
        type: number
    X-Balance-USD:
      description: The balance after a non-JSON answer.
      schema:
        type: number
    Retry-After:
      description: Seconds to wait before retrying.
      schema:
        type: integer
  schemas:
    PropertyImage:
      type: object
      required:
        - property_id
        - source
        - publisher
        - year
        - license
        - credit
        - width
        - height
        - outline
        - years
        - available_years
      properties:
        property_id:
          type: string
        source:
          type: string
          description: The imagery's name.
        publisher:
          type: string
        year:
          type:
            - integer
            - 'null'
          description: The year flown; null when the flight can't be dated.
        flown:
          type:
            - string
            - 'null'
        resolution_inches:
          type: number
        license:
          enum:
            - public-domain
            - open
            - no-restriction-stated
            - permission
        license_url:
          type: string
        permission:
          type: string
          description: The grant, when license is permission.
        credit:
          type: string
          description: Show it wherever the photo is shown.
        width:
          type: integer
        height:
          type: integer
        outline:
          type:
            - object
            - 'null'
          description: The parcel outline as GeoJSON, or null with a note.
        note:
          type: string
        years:
          type: array
          description: >-
            Every year with a photo of the lot, newest first. The default photo
            is the first; year=Y serves the entry for Y.
          items:
            type: object
            required:
              - year
              - source
              - publisher
              - resolution_inches
              - license
            properties:
              year:
                type: integer
              source:
                type: string
              publisher:
                type: string
              resolution_inches:
                type: number
              license:
                enum:
                  - public-domain
                  - open
                  - no-restriction-stated
                  - permission
        available_years:
          type: array
          items:
            type: integer
          description: The years in years, as plain numbers.
    MissingField:
      type: object
      required:
        - field
        - reason
      properties:
        field:
          type: string
        reason:
          enum:
            - not_covered
            - not_published
            - not_on_record
            - not_found
            - temporarily_unavailable
          description: >-
            not_covered on a find: a where field West Kite holds for under 5% of
            properties in the scope (rows filtered on it are only that share).
        note:
          type: string
    Billing:
      type: object
      required:
        - operation_id
        - operation
        - charged_usd
        - balance_usd
      properties:
        operation_id:
          type: string
        operation:
          type: string
        charged_usd:
          type: number
        balance_usd:
          type: number
        replayed:
          type: boolean
    Error:
      type: object
      properties:
        error:
          type: object
          required:
            - code
            - message
            - retryable
            - docs_url
          properties:
            code:
              enum:
                - invalid_request
                - invalid_key
                - insufficient_balance
                - spend_limit_exceeded
                - max_cost_too_low
                - scope_missing
                - not_found
                - endpoint_removed
                - idempotency_conflict
                - rate_limited
                - internal_error
                - service_unavailable
            message:
              type: string
            retryable:
              type: boolean
            docs_url:
              type: string
            reason:
              type: string
              description: >-
                invalid_key: revoked, expired or unknown. rate_limited: requests
                (per minute), concurrency (in flight), agent_questions (the
                Agent's own cap) or agent_signups (sign-ups started).
            retry_after:
              type: integer
            upgrade_url:
              type: string
            quoted_usd:
              type: number
            concurrent:
              type: integer
            balance_usd:
              type: number
            available_usd:
              type: number
            spend_cap_usd:
              type: number
            spent_usd:
              type: number
        request_id:
          type: string
  securitySchemes:
    bearer:
      type: http
      scheme: bearer
      description: wk_live_ key
    apiKey:
      type: apiKey
      in: header
      name: X-API-Key

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.