# Clasificadosonline — 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 listings from ClasificadosOnline.com — Puerto Rico's classifieds platform. Browse cars, rental properties, and jobs with flexible filters for location, price, make/model, and more.

**Category:** Marketplaces | **Website:** [clasificadosonline.com/](https://clasificadosonline.com/) | **Docs:** [parse.bot/marketplace/effca6d8-c90a-4b28-b77e-59f2b26a2d71/clasificadosonline-com-api](https://parse.bot/marketplace/effca6d8-c90a-4b28-b77e-59f2b26a2d71/clasificadosonline-com-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-clasificadosonline-com-api-effca6d8/`
**Auth:** `Authorization: Bearer <LOCUS_API_KEY>`

## Endpoints

### get_car_listing_detail

Get full details for a specific car listing including price, location, mileage, transmission, photos, and description. The listing ID comes from search_car_listings results.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `id` | string | Yes | Car listing ID (from search_car_listings results) |

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

### get_car_makes_and_models

Get a list of all car makes with their corresponding IDs for use as filters in search_car_listings. Returns the full catalog of vehicle makes available on the site.

**Estimated cost:** Metered

_No parameters required._

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

### get_rental_listing_detail

Get full details for a specific rental listing including bedrooms, bathrooms, pets policy, parking, photos, and description. The listing ID comes from search_rental_listings results.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `id` | string | Yes | Rental listing ID (from search_rental_listings results) |

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

### search_car_listings

Search for car listings on ClasificadosOnline.com with various filters including make, model, year range, price range, and location. Returns paginated results in batches of 30. Use get_car_makes_and_models to find valid make IDs.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `from_year` | string | No | Minimum year filter. 0 means no minimum. |
| `high_price` | string | No | Maximum price filter |
| `key` | string | No | Search keyword to filter listings |
| `low_price` | string | No | Minimum price filter |
| `marca` | string | No | Car make ID (use get_car_makes_and_models to find IDs). 0 means all makes. |
| `modelo` | string | No | Car model ID. 0 means all models. |
| `offset` | integer | No | Pagination offset (increments of 30) |
| `pueblo` | string | No | Town/city filter. Use % for all locations. |
| `tipo_c` | string | No | Vehicle type filter. 0 means all types. |
| `to_year` | string | No | Maximum year filter |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-clasificadosonline-com-api-effca6d8/search_car_listings \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"from_year":"<string>","high_price":"<string>","key":"<string>","low_price":"<string>","marca":"<string>","modelo":"<string>","offset":"<integer>","pueblo":"<string>","tipo_c":"<string>","to_year":"<string>"}'
```

### search_jobs

Search for job listings on ClasificadosOnline.com with optional filters for keyword, category, and location. Returns paginated results.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `category` | string | No | Job category filter. Use % for all categories. |
| `keyword` | string | No | Search keyword to filter job listings |
| `offset` | integer | No | Pagination offset |
| `pueblo` | string | No | Town/city filter. Use % for all locations. |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-clasificadosonline-com-api-effca6d8/search_jobs \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"category":"<string>","keyword":"<string>","offset":"<integer>","pueblo":"<string>"}'
```

### search_rental_listings

Search for rental property listings on ClasificadosOnline.com with filters for location, category, bedrooms, and price range. Returns paginated results in batches of 30.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `area` | string | No | Area or neighborhood keyword filter |
| `bedrooms` | string | No | Number of bedrooms filter. Use % for all. |
| `category` | string | No | Property category filter. Use % for all. |
| `high_price` | string | No | Maximum monthly rent |
| `low_price` | string | No | Minimum monthly rent |
| `offset` | integer | No | Pagination offset (increments of 30) |
| `pueblo` | string | No | Town/city filter. Use % for all locations. |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-clasificadosonline-com-api-effca6d8/search_rental_listings \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"area":"<string>","bedrooms":"<string>","category":"<string>","high_price":"<string>","low_price":"<string>","offset":"<integer>","pueblo":"<string>"}'
```
