# SeLoger Agency Directory

List the estate agencies operating in a French city, with each agency's name, profile link, logo, aggregate customer rating and published inventory counts (for sale, for rent, sold and pro selection). Useful for finding local partners, or for attributing listings to an agency in a market-coverage report. It reads a single directory route, so this endpoint costs 1 credit. A failed request costs nothing.

- **Documentation:** [https://scrappa.co/docs/seloger-api/seloger_agencies](https://scrappa.co/docs/seloger-api/seloger_agencies)
- **API group:** SeLoger API
- **Endpoint:** `GET https://scrappa.co/api/seloger/agencies`

## 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 |
| --- | --- | --- | --- |
| `city` | string | Yes | City path segment, e.g. "paris-75000" |
| `page` | integer | No | Page number (default: 1) |

## Example request

```bash
#!/bin/bash

curl -X GET \
    -H "x-api-key: YOUR_API_KEY_HERE" \
    "https://scrappa.co/api/seloger/agencies?city=paris-75000"
```

## Example response

```json
{
    "success": true,
    "agencies": [],
    "total": 0,
    "page": 1,
    "per_page": 50,
    "total_pages": 0,
    "has_more": false,
    "city": "paris-75000"
}
```

## Errors

| Status | Error | Description |
| --- | --- | --- |
| 422 | Validation Error | The city or the page number failed validation. |
| 404 | Not Found | The requested resource does not exist upstream: the listing is gone, was never live, or is not reachable through the search it would belong to. This is not billed. |
| 503 | Upstream Unavailable | SeLoger did not return a usable response through any available request path, or refused the request this integration sent it. This failure is not billed and is retryable. |
| 503 | Service Disabled | The SeLoger integration is switched off. Reads as a clean 503 so a rollback needs no deploy. |

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