# Properati — 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 browse real estate listings in Argentina with detailed property information, including descriptions, prices, and similar properties. Filter listings by property type and operation type (buy, rent, etc.) to find exactly what you're looking for.

**Category:** Real Estate | **Website:** [properati.com.ar/](https://properati.com.ar/) | **Docs:** [parse.bot/marketplace/cc79789c-8c6f-4c38-8118-27f26533850e/properati-com-ar-api](https://parse.bot/marketplace/cc79789c-8c6f-4c38-8118-27f26533850e/properati-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-properati-com-ar-api-cc79789c/`
**Auth:** `Authorization: Bearer <LOCUS_API_KEY>`

## Endpoints

### get_listing_detail

Retrieve full details of a specific property listing including description, features, price, and seller information. Either 'url' or 'id' must be provided. The 'url' is the full listing URL from search_listings results; 'id' is the path identifier portion of that URL.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `id` | string | No | Listing path identifier from search results URL (e.g., '14032-32-699-8e78b5aabfaa-19c2da1-8b5b-731b'). Either 'url' or 'id' must be provided. |
| `url` | string | No | Full URL of the listing detail page from search_listings results. Either 'url' or 'id' must be provided. |

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

### get_operation_types

Get the list of supported operation types that can be used as the operation parameter in search_listings. Returns a static list of known operation type slugs.

**Estimated cost:** Metered

_No parameters required._

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-properati-com-ar-api-cc79789c/get_operation_types \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'
```

### get_property_types

Get the list of supported property types that can be used as the property_type parameter in search_listings. Returns a static list of known property type slugs.

**Estimated cost:** Metered

_No parameters required._

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-properati-com-ar-api-cc79789c/get_property_types \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'
```

### get_similar_listings

Retrieve similar listings for a given property ID. Returns up to 12 similar properties with pricing, location, and basic details. The ID is the UUID-format listing identifier from search_listings results.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `id` | string | Yes | Listing UUID from search_listings results (e.g., '019c2d81-0679-72fb-8b3b-8e78b5aabf8a'). |

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

### search_listings

Search for real estate listings in Argentina. Returns paginated results with listing summaries including price, location, and basic features. Pagination is page-based; each page returns up to 30 listings. Server-side sorting and filtering by location, property type, and operation type. The total_count may be approximate.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `location` | string | No | Location slug (e.g., 'capital-federal', 'bs-as-g-b-a-zona-norte'). |
| `operation` | string | No | Operation type for the listing. |
| `page` | integer | No | Page number for pagination. |
| `property_type` | string | No | Property type to filter by. |
| `sort` | string | No | Sort order for results. |

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