# Xe (Greece) — 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.

> Browse the latest rental property listings from xe.gr in Greece and retrieve newly seen listings for simple alerting workflows.

**Category:** Real Estate | **Website:** [xe.gr/](https://xe.gr/) | **Docs:** [parse.bot/marketplace/f70c2275-e3f6-4c36-9577-94efc0122d35/xe-gr-api](https://parse.bot/marketplace/f70c2275-e3f6-4c36-9577-94efc0122d35/xe-gr-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-xe-gr-api-f70c2275/`
**Auth:** `Authorization: Bearer <LOCUS_API_KEY>`

## Endpoints

### get_new_listings_alert

Returns new rental listings detected since the last invocation within the same session. On first call (or without a prior session), all current listings are considered new. Designed for building alerting systems that notify on newly posted properties.

**Estimated cost:** Metered

_No parameters required._

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

### get_recent_rentals

Returns the most recent residential rental property listings from xe.gr in Greece. Each listing includes price, location, size, bedrooms, bathrooms, images, construction year, and posting date. Results are ordered by recency. No input parameters required — always returns the current batch of recent listings (typically 20-50 items).

**Estimated cost:** Metered

_No parameters required._

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