# Pararius Search

Returns every listing a page renders, with the exact catalogue total. No filter or sort parameter is exposed, so every call returns the unfiltered catalogue for the city and type you ask for.

- **Documentation:** [https://scrappa.co/docs/pararius-api/pararius_search](https://scrappa.co/docs/pararius-api/pararius_search)
- **API group:** Pararius API
- **Endpoint:** `GET https://scrappa.co/api/pararius/search`

## 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 from the locations endpoint, for example amsterdam. |
| `type` | string | No | rent for huurwoningen (default) or sale for koopwoningen. |
| `page` | integer | No | 1-based page number. Omit for the first page. |

## Example request

```bash
#!/bin/bash

curl -X GET \
    -H "x-api-key: YOUR_API_KEY_HERE" \
    "https://scrappa.co/api/pararius/search?city=amsterdam&type=rent"
```

## Example response

```json
{
    "success": true,
    "data": {
        "collection": "huurwoningen",
        "city": "amsterdam",
        "page": 1,
        "page_size": 32,
        "property_results": 773,
        "distinct_uuid_count": 32,
        "has_more": true,
        "card_count": 32,
        "listings": [
            {
                "uuid": "747b042a-636d-52bc-a787-fbf261168d9c",
                "slug_id": "747b042a",
                "url": "https://www.pararius.nl/appartement-te-huur/amsterdam/747b042a/marcusstraat",
                "title": "Marcusstraat",
                "price": 3150,
                "currency": "EUR",
                "latitude": 52.352185648,
                "longitude": 4.912837153,
                "photo_count": 1
            }
        ]
    }
}
```

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