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

# Overview

> Understand the different listing search endpoints and when to use each.

Lofty provides two listing endpoints for different use cases.

## Endpoint comparison

| Endpoint | Method | Purpose | Response |
| - | - | - | - |
| `/v1.0/listing` | GET | Search by agent, office, or MLS ID | JSON |
| `/v1.0/getPublishedListings` | GET | Export team listings for syndication | XML |

## Which should I use?

> [card] Search by Agent/Office
>
> Look up active and sold listings for a specific agent, their office, or by MLS listing IDs. Best for agent portfolio pages and listing management.

> [card] Get Published Listings
>
> Export the listings your team has published to a site feed. Returns XML and is intended for syndication partners.

> [!NOTE]
>
> **Get Published Listings** returns XML (not JSON) and is intended for syndication partners. Use `/v1.0/listing` for application integrations.


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