# Zonaprop — Wrapped API

> **You are on:** `https://api.paywithlocus.com/api` | [llms.txt](https://paywithlocus.com/llms.txt) | [docs](https://docs.paywithlocus.com)
>
> Locus runs on multiple environments -- make sure every URL you call matches your expected environment.
> | Environment | Landing | API | Docs |
> |---|---|---|---|
> | Production | paywithlocus.com | api.paywithlocus.com | docs.paywithlocus.com |
> | Beta | beta.paywithlocus.com | api.beta.paywithlocus.com | docs.paywithlocus.com |
> | Stage | stage.paywithlocus.com | api.stage.paywithlocus.com | docs.paywithlocus.com |
>
> If the API URL above doesn't match your expected environment, re-fetch this file from the correct domain.

> Search and retrieve property listings from Zonaprop, Argentina's leading real estate portal. Filter by operation type, property category, and location, then fetch full details for any listing.

**Category:** Real Estate | **Website:** [zonaprop.com.ar/](https://zonaprop.com.ar/) | **Docs:** [parse.bot/marketplace/bb50786a-5c5d-4c3f-9424-b3807601b3c6/zonaprop-com-ar-api](https://parse.bot/marketplace/bb50786a-5c5d-4c3f-9424-b3807601b3c6/zonaprop-com-ar-api)

Pay-per-use API proxy. Each call is automatically billed to your wallet in USDC.

## Access

**Base URL:** `https://api.paywithlocus.com/api/wrapped/parse-zonaprop-com-ar-api-bb50786a/`
**Auth:** `Authorization: Bearer <LOCUS_API_KEY>`

## Endpoints

### get_listing_detail

Retrieve full details of a single property listing by its Zonaprop URL. Returns title, price, expenses, full description text, structured features (area, rooms, bathrooms), and agency name when available. The URL is typically obtained from search_listings results.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `url` | string | Yes | Full Zonaprop listing URL, obtained from search_listings results[*].url. |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-zonaprop-com-ar-api-bb50786a/get_listing_detail \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"url":"<string>"}'
```

### search_listings

Search for property listings on Zonaprop filtered by operation type (sale, rent, temporary rent), property type, and location. Returns a paginated list of property summaries with price, size, and basic features. Pagination is page-based; each page returns up to ~25 listings.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `location` | string | No | Location slug (city or neighborhood) such as 'capital-federal', 'palermo', 'belgrano'. Omitting returns results across all locations. |
| `operation` | string | No | Operation type for listings. |
| `page` | integer | No | Page number for pagination. |
| `property_type` | string | No | Property type slug. |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-zonaprop-com-ar-api-bb50786a/search_listings \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"location":"<string>","operation":"<string>","page":"<integer>","property_type":"<string>"}'
```
