# Pararius Agency

Agency profile page, optionally with the agency's rental listings. The listing sub-page exposes no exact total, so listing_count is what the page enumerated.

- **Documentation:** [https://scrappa.co/docs/pararius-api/pararius_agency](https://scrappa.co/docs/pararius-api/pararius_agency)
- **API group:** Pararius API
- **Endpoint:** `GET https://scrappa.co/api/pararius/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 |
| --- | --- | --- | --- |
| `city` | string | Yes | City slug, for example amsterdam. |
| `slug` | string | Yes | Agency handle from a listing detail page, for example tvn-real-estate. |
| `listings` | boolean | No | true to also enumerate the agency's rental listings. |

## Example request

```bash
#!/bin/bash

curl -X GET \
    -H "x-api-key: YOUR_API_KEY_HERE" \
    "https://scrappa.co/api/pararius/agency?city=amsterdam&slug=tvn-real-estate&listings=true"
```

## Example response

```json
{
    "success": true,
    "data": {
        "city": "amsterdam",
        "slug": "tvn-real-estate",
        "name": "TVN Real Estate in Amsterdam",
        "listing_count": 2,
        "listings": [
            {
                "id": "fb9fb965",
                "uuid": "fb9fb965-1c0d-5566-a914-a7d261536934",
                "title": "Nieuwe Looiersstraat 58-2"
            }
        ]
    }
}
```

## Errors

| Status | Error | Description |
| --- | --- | --- |
| 404 | Not Found | The requested listing, gallery or agency was not found. On /listing and /agency a 404 is not billable. On /gallery it is an answer rather than an error: the listing has no gallery, so it comes back as a successful empty gallery and bills the one lookup it made. |
| 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 and no credits are charged. |

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