# Zoopla Sold Search Summary

Return the listing total for one search path, or build that path from a section and location. This endpoint accepts a single path per request; send two or more and the request is rejected with 422. Each count is attributed to its path by position, which assumes the data source answers one row per requested path: when it returns a different number of rows, counts_aligned is false and every path is null rather than a count being reported against the wrong geography.

- **Documentation:** [https://scrappa.co/docs/zoopla-api/zoopla_sold_summary](https://scrappa.co/docs/zoopla-api/zoopla_sold_summary)
- **API group:** Zoopla API
- **Endpoint:** `GET https://scrappa.co/api/zoopla/sold/summary`

## 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 |
| --- | --- | --- | --- |
| `paths` | array | No | One search path. Sending more than one is rejected with 422. Use this or provide both section and location. |
| `section` | string | No | Listing section used when paths is omitted; required with location. |
| `location` | string | No | Location used when paths is omitted; required with section. |

## Example request

```bash
#!/bin/bash

curl -X GET \
    -H "x-api-key: YOUR_API_KEY_HERE" \
    "https://scrappa.co/api/zoopla/sold/summary?section=for-sale&location=sw1a"
```

## Example response

```json
{
    "success": true,
    "paths": [
        "/for-sale/property/sw1a/"
    ],
    "counts_aligned": true,
    "counts": [
        {
            "path": "/for-sale/property/sw1a/",
            "count": 39
        }
    ],
    "total_results": 39,
    "total_results_is_complete": true
}
```

## Errors

| Status | Error | Description |
| --- | --- | --- |
| 401 | Unauthorized | Authentication is required to use this endpoint. |
| 422 | Validation Error | One or more input parameters are missing or invalid. |
| 404 | Integration Disabled | This integration is currently disabled on the server. Availability is switched per environment, so it can be off during a staged rollout. |
| 500 | Internal Error | The request could not be processed because of a fault in this service, not the data source. No credit is charged. |
| 503 | Unusable Upstream Response | The data source answered but the response could not be used: empty, oversized, undecodable, or carrying errors with no usable data. No credit is charged. |
| 503 | Upstream Unavailable | The data source could not complete this request. Try again later. |

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