# Immobiliare Resolve

Converts a public search page URL into the equivalent search parameters, so a link can be replayed against the search endpoint.

- **Documentation:** [https://scrappa.co/docs/immobiliare-api/immobiliare_resolve](https://scrappa.co/docs/immobiliare-api/immobiliare_resolve)
- **API group:** Immobiliare API
- **Endpoint:** `GET https://scrappa.co/api/immobiliare/resolve`

## 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 |
| --- | --- | --- | --- |
| `url` | string | Yes | Full public immobiliare.it search page URL, for example https://www.immobiliare.it/vendita-case/milano/. Any other host is rejected before the request is billed. |

## Example request

```bash
#!/bin/bash

curl -X GET \
    -H "x-api-key: YOUR_API_KEY_HERE" \
    "https://scrappa.co/api/immobiliare/resolve?url=https%3A%2F%2Fwww.immobiliare.it%2Fvendita-case%2Fmilano%2F"
```

## Example response

```json
{
    "success": true,
    "data": {
        "type": "search",
        "params": {
            "cat": 1,
            "t": "v",
            "pr": "MI",
            "c": 8042
        }
    }
}
```

## Errors

| Status | Error | Description |
| --- | --- | --- |
| 404 | Not Found | The requested listing or agency was not found. This response is not billable. |
| 422 | Validation Error | A public parameter is invalid, for example a category outside the supported values or a search without a location. 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)
