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

# Introduction

> Overview of the AnyHouse API

## Overview

The AnyHouse API allows developers and integration partners to interact with the AnyHouse real estate platform programmatically.

Through the API you can retrieve listings, manage leads, and integrate AnyHouse data into external systems such as broker CRMs, websites, or automation workflows.

***

## Base URL

All API requests should be made to:

```
https://anyhouse.app/api
```

All responses are returned in **JSON format**.

***

## Authentication

The API contains both **public endpoints** and **protected endpoints**.

### Public Endpoints

Some endpoints can be accessed without authentication.\
These are typically used for retrieving publicly available data such as listings.

### Protected Endpoints

Certain endpoints require authentication using a **Bearer token**.

To access these endpoints, include the following header in your request:

```http theme={null}
Authorization: Bearer YOUR_API_TOKEN
```

If authentication fails, the API will return:

```json theme={null}
{
  "message": "Unauthenticated."
}
```

If you need API access, please contact:

**[dev@anyhouse.app](mailto:dev@anyhouse.app)**

***

## Available Resources

<Columns cols={2}>
  <Card title="Listings" icon="house" href="/listings">
    Retrieve and interact with property listings.
  </Card>

  <Card title="Leads" icon="message" href="/leads">
    Capture and manage buyer or renter inquiries.
  </Card>
</Columns>

***

## Next Steps

To start integrating with the API, explore the available resources:

* Listings API
* Leads API

Each section provides details about the available endpoints, request parameters, and example responses.
