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

# List agencies

> The brokerages your agents belong to. Read-only.

<Note>
  **The Hive Inspect API is a work in progress.** It is available to a small group of accounts today, and the release for everyone is coming very soon.
</Note>


## OpenAPI

````yaml /api/openapi.json get /v1/agencies
openapi: 3.1.0
info:
  title: Hive Inspect API
  version: 1.0.0
  description: Connect other tools to your Hive Inspect contacts, inspections and events.
servers:
  - url: https://api.hiveinspect.com
security:
  - bearerAuth: []
tags:
  - name: Contacts
    description: Agents, clients and every other contact in your organization.
  - name: Agencies
    description: The brokerages your agents belong to. Read-only.
  - name: Inspections
    description: Read-only access to your inspections.
  - name: Attachments
    description: Additional reports and additional documents on an inspection.
  - name: Events
    description: Extra appointments on an inspection, such as a radon drop-off or pick-up.
paths:
  /v1/agencies:
    get:
      tags:
        - Agencies
      summary: List agencies
      description: The brokerages your agents belong to. Read-only.
      operationId: listAgencies
      parameters:
        - name: ids
          in: query
          required: false
          description: Comma-separated agency ids (up to 200) to fetch in one call
          schema:
            type: string
        - name: search
          in: query
          required: false
          description: Agency name, former name or city contains
          schema:
            type: string
        - name: updated_since
          in: query
          required: false
          description: ISO 8601 date or timestamp; created or changed at/after this time
          schema:
            type: string
        - name: sort
          in: query
          required: false
          description: >-
            name, created_at or updated_at; prefix '-' for descending (default:
            name)
          schema:
            type: string
        - name: cursor
          in: query
          required: false
          description: '`next_cursor` from the previous page'
          schema:
            type: string
        - name: limit
          in: query
          required: false
          description: Page size, 1-200 (default 50)
          schema:
            type: integer
            minimum: 1
            maximum: 200
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AgencyList'
        '400':
          description: Invalid parameter
        '401':
          description: Missing, invalid or inactive API key
        '429':
          description: Rate limit exceeded (120 requests/minute per key owner)
components:
  schemas:
    AgencyList:
      type: object
      properties:
        data:
          type: array
          items:
            $ref: '#/components/schemas/Agency'
        next_cursor:
          type:
            - string
            - 'null'
        total:
          type: integer
          description: Every record matching the filters, across all pages
      example:
        data:
          - id: 6c5b4a39-2817-4f6e-9d0c-8b7a6f5e4d3c
            name: Lone Star Realty
            address: 410 Oak St
            address_line2: Suite 200
            city: Austin
            state: TX
            zip: '78701'
            country: US
            phone: (512) 555-0100
            website: https://lonestarrealty.example.com
            notes: null
            contact_count: 12
            created_at: '2026-02-11T17:30:00Z'
            updated_at: '2026-08-05T14:12:44Z'
        next_cursor: null
        total: 1
    Agency:
      type: object
      properties:
        id:
          type: string
          format: uuid
        name:
          type: string
        address:
          type:
            - string
            - 'null'
        address_line2:
          type:
            - string
            - 'null'
        city:
          type:
            - string
            - 'null'
        state:
          type:
            - string
            - 'null'
        zip:
          type:
            - string
            - 'null'
        country:
          type:
            - string
            - 'null'
        phone:
          type:
            - string
            - 'null'
        website:
          type:
            - string
            - 'null'
        notes:
          type:
            - string
            - 'null'
        contact_count:
          type: integer
          description: Contacts linked to this agency
        created_at:
          type: string
          format: date-time
        updated_at:
          type: string
          format: date-time
      example:
        id: 6c5b4a39-2817-4f6e-9d0c-8b7a6f5e4d3c
        name: Lone Star Realty
        address: 410 Oak St
        address_line2: Suite 200
        city: Austin
        state: TX
        zip: '78701'
        country: US
        phone: (512) 555-0100
        website: https://lonestarrealty.example.com
        notes: null
        contact_count: 12
        created_at: '2026-02-11T17:30:00Z'
        updated_at: '2026-08-05T14:12:44Z'
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: Your API key from Business Tools → API Access.

````

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