# Zoopla Agent Details

Return available branch and agent details for a Zoopla branch identifier.

- **Documentation:** [https://scrappa.co/docs/zoopla-api/zoopla_agent](https://scrappa.co/docs/zoopla-api/zoopla_agent)
- **API group:** Zoopla API
- **Endpoint:** `GET https://scrappa.co/api/zoopla/agent/{branchId}`

## 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 |
| --- | --- | --- | --- |
| `branchId` | integer | Yes | Numeric branch identifier in the route path. |

## Example request

```bash
#!/bin/bash

curl -X GET \
    -H "x-api-key: YOUR_API_KEY_HERE" \
    "https://scrappa.co/api/zoopla/agent/{branchId}?branchId=115738"
```

## Example response

```json
{
    "success": true,
    "branch_id": 115738,
    "branch": {
        "address": "55 Baker Street, London",
        "branchDetailsUri": "/find-agents/branch/knight-frank-prime-central-london-new-homes-london-115738/",
        "branchId": "115738",
        "branchDisplayName": "Knight Frank - Prime Central London New Homes",
        "logoUrl": "https://st.zoocdn.com/zoopla_static_agent_logo_(644071).png",
        "postcode": "W1U 8AN"
    },
    "agent": {
        "memberships": [
            {
                "memberOf": "arla",
                "url": "https://www.zoopla.co.uk/tips/agent-affiliation-arla/"
            },
            {
                "memberOf": "rics",
                "url": "https://www.zoopla.co.uk/tips/agent-affiliation-rics/"
            }
        ]
    },
    "logo_url": "https://st.zoocdn.com/zoopla_static_agent_logo_(644071).png"
}
```

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