> ## 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?

<CardGroup cols={2}>
  <Card title="Search by Agent/Office" icon="user">
    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>

  <Card title="Get Published Listings" icon="rss">
    Export the listings your team has published to a site feed. Returns XML and is intended for syndication partners.
  </Card>
</CardGroup>

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