# Ouest-France Immo Agency Profile API Documentation

Read one agency profile by the id from /agencies or from the agency.id of a listing: name, legal name, SIRET, address, coordinates, phones, website, tagline, logo and photos, opening hours, rating and listing counts by type. An unknown id is a non-billable 404.

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

## 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 agency id. Example: 8765. |

## Example request

```bash
#!/bin/bash

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

## Example response

```json
{
    "success": true,
    "data": {
        "id": 8765,
        "name": "CENTURY 21 RENNES",
        "legal_name": "EXAMPLE IMMOBILIER",
        "siret": "00000000000000",
        "slug": "century-21",
        "address": "27 Boulevard Ren\u00e9 Laennec",
        "postal_code": "35000",
        "city": "Rennes",
        "place_id": 15818,
        "latitude": 48.105855,
        "longitude": -1.665844,
        "phone": "0200000000",
        "website": "https://www.century21-reine-rennes.com/agence/",
        "logo_url": "https://www.ouestfrance-immo.com/photo-century-21/logo.png",
        "opening_hours": {
            "monday": [
                {
                    "open": "09:00",
                    "close": "12:00"
                },
                {
                    "open": "14:00",
                    "close": "19:00"
                }
            ]
        },
        "rating": null,
        "listing_counts": {
            "sale": 46,
            "rent": 9,
            "sold": 0,
            "exclusive": 25
        },
        "attributes": {
            "tag": "example"
        }
    },
    "meta": {
        "endpoint_family": "agency",
        "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)
