# Ouest-France Immo Place API Documentation

Read one place by the id from /autocomplete: name, type, postal code, INSEE code, coordinates, population, listing count and the chain of parent places (department, region). An unknown id is a non-billable 404.

- **Documentation:** [https://scrappa.co/docs/ouestfrance-immo-api/ouestfrance_immo_place](https://scrappa.co/docs/ouestfrance-immo-api/ouestfrance_immo_place)
- **API group:** Ouest-France Immo API
- **Endpoint:** `GET https://scrappa.co/api/ouestfrance-immo/place`

## 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 |
| --- | --- | --- | --- |
| `id` | string | Yes | Numeric place id. Example: 18998 for Nantes. |

## Example request

```bash
#!/bin/bash

curl -X GET \
    -H "x-api-key: YOUR_API_KEY_HERE" \
    "https://scrappa.co/api/ouestfrance-immo/place?id=18998"
```

## Example response

```json
{
    "success": true,
    "data": {
        "id": 18998,
        "name": "Nantes",
        "type": "Villes",
        "slug": "nantes-44-44000",
        "postal_code": "44000",
        "insee_code": "44109",
        "department": "44",
        "latitude": 47.216796875,
        "longitude": -1.5567270517349243,
        "population": 282047,
        "listing_count": 7593,
        "parents": [
            {
                "id": 544,
                "name": "Loire-Atlantique",
                "type": "Departements"
            },
            {
                "id": 415,
                "name": "Pays de la Loire",
                "type": "Regions"
            }
        ]
    },
    "meta": {
        "endpoint_family": "place",
        "billable": true
    }
}
```

## Errors

| Status | Error | Description |
| --- | --- | --- |
| 422 | Validation Error | A public parameter is missing or invalid. No upstream call is made and the response is not billable. |
| 404 | Resource Not Found | The requested Ouest-France Immo resource does not exist. The response is not billable. |
| 502 | Unexpected Upstream Response | Ouest-France Immo answered with a body that is not the documented shape. The response is not billable. |
| 503 | Upstream Unavailable | Ouest-France Immo was temporarily unavailable or blocked the request. The response is not billable and the request never answers 429. |

## 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)
