# Rentalia Geo Search

Deprecated. Rentalia discontinued the upstream geo catalog API, so this endpoint answers 410 Gone without an upstream call.

- **Documentation:** [https://scrappa.co/docs/rentalia-api/rentalia_geo_search](https://scrappa.co/docs/rentalia-api/rentalia_geo_search)
- **API group:** Rentalia API
- **Endpoint:** `GET https://scrappa.co/api/rentalia/geo-search`

## Authentication

Send your Scrappa API key in the `X-API-KEY` request header. Paid endpoints also support accountless x402 payments when called without an API key.

## Parameters

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `lang` | string | No | Response language, default es. |
| `lat` | number | No | Search latitude. |
| `lon` | number | No | Search longitude. |
| `radius` | integer | No | Radius in meters. |

## Example request

```bash
#!/bin/bash

curl -X GET \
    -H "x-api-key: YOUR_API_KEY_HERE" \
    "https://scrappa.co/api/rentalia/geo-search?lang=es&lat=40.4168&lon=-3.7038&radius=3000"
```

## Example response

```json
{
    "success": false,
    "error": {
        "code": "ENDPOINT_DEPRECATED",
        "message": "Rentalia search is no longer available because Rentalia discontinued its upstream search API. The house, locations, and price endpoints remain available."
    },
    "meta": {
        "endpoint_family": "geo_search",
        "billable": false,
        "retryable": false
    }
}
```

## Errors

| Status | Error | Description |
| --- | --- | --- |
| 410 | Gone | Rentalia discontinued its upstream search API, so this endpoint is retired and never billable. |
| 404 | Not Found | The requested house was not found. This response is not billable. |
| 422 | Validation Error | A public parameter is invalid. This response is not billable. |
| 503 | Service Unavailable | The service could not obtain a complete result. This response is not billable. |

## More Scrappa resources

- [API documentation](https://scrappa.co/docs)
- [Full LLM-readable API reference](https://scrappa.co/llms-full.txt)
- [OpenAPI specification](https://scrappa.co/docs/api.json)
- [Pricing](https://scrappa.co/pricing)
