# Spitogatos Agent API Documentation

<p><strong>Spitogatos Agent API</strong> returns the public profile of a real estate agency: name, description, address, business phones, website, social links, opening hours, photos, the areas it works in with listing counts, and listing counts by type. Use the agency id from a search result. Failed requests are not billed.</p>

- **Documentation:** [https://scrappa.co/docs/spitogatos-api/spitogatos_agent](https://scrappa.co/docs/spitogatos-api/spitogatos_agent)
- **API group:** Spitogatos API
- **Endpoint:** `GET https://scrappa.co/api/spitogatos/agent`

## 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 |
| --- | --- | --- | --- |
| `id` | integer | Yes | The agency id from a listing (agency.id). |
| `locale` | string | No | Language of area names: el (default) or en. |

## Example response

```json
{
    "data": {
        "id": 20312,
        "area": "\u039a\u03b1\u03b9\u03c3\u03b1\u03c1\u03b9\u03b1\u03bd\u03ae (\u0391\u03b8\u03ae\u03bd\u03b1 - \u039d\u03cc\u03c4\u03b9\u03b1 \u03a0\u03c1\u03bf\u03ac\u03c3\u03c4\u03b9\u03b1)",
        "logo": "https://m2.spitogatos.gr/284965438_200x100.jpg?v=20130730",
        "name": "TZELI HOME",
        "slug": "TZELI-HOME",
        "cover": "https://m2.spitogatos.gr/257568328_1400x900.jpg?v=20130730",
        "phones": [
            "+302110014573",
            "+306906062919"
        ],
        "photos": [
            "https://m1.spitogatos.gr/257825022_900x675.jpg?v=20130730",
            "https://m1.spitogatos.gr/257825130_900x675.jpg?v=20130730"
        ],
        "social": {
            "youtube": "https://www.youtube.com/channel/UCJt6ICvhTxPrPG0FhI1MW-g",
            "facebook": "https://www.facebook.com/profile.php?id=100093046831103",
            "instagram": "https://www.instagram.com/tzeli_real_estate/?hl=el"
        },
        "address": "\u03a5\u03bc\u03b7\u03c4\u03c4\u03bf\u03cd, 41, \u039a\u03b1\u03b9\u03c3\u03b1\u03c1\u03b9\u03b1\u03bd\u03ae \u0395\u03bb\u03bb\u03ac\u03b4\u03b1, 16121",
        "website": "https://tzelihome.gr/",
        "membership": "expert",
        "coordinates": {
            "latitude": 37.97071,
            "longitude": 23.75599,
            "geocode_type": null
        },
        "description": "TZELI HOME REAL ESTATE\n\n\u0397 \u03b5\u03c4\u03b1\u03b9\u03c1\u03b5\u03af\u03b1 TZELI HOME REAL ESTATE \u03b5\u03af\u03bd\u03b1\u03b9 \u03b7 \u03b5\u03bb\u03bb\u03b7\u03bd\u03b9\u03ba\u03ae \u03b4\u03cd\u03bd\u03b1\u03bc\u03b7 \u03c3\u03c4\u03bf\u03bd \u03c7\u03ce\u03c1\u03bf \u03c4\u03c9\u03bd \u03b1\u03ba\u03b9\u03bd\u03ae\u03c4\u03c9\u03bd \u03c3\u03c4\u03b7\u03bd \u0391\u03b8\u03ae\u03bd\u03b1.\n\n \u03a5\u03c0\u03b5\u03cd\u03b8\u03c5\u03bd\u03b1 \u03ba\u03b1\u03b9 \u03b1\u03be\u03b9\u03cc\u03c0\u03b9\u03c3\u03c4\u03b1 \u03b5\u03be\u03b5\u03b9\u03b4\u03b9\u03ba\u03b5\u03cd\u03b5\u03c4\u03b1\u03b9 \u03c3\u03b5 \u03cc\u03bb\u03bf \u03c4\u03bf \u03c6\u03ac\u03c3\u03bc\u03b1 \u03c4\u03c9\u03bd \u03ba\u03c4\u03b7\u03bc\u03b1\u03c4\u03bf\u03bc\u03b5\u03c3\u03b9\u03c4\u03b9\u03ba\u03ce\u03bd \u03c5\u03c0\u03b7\u03c1\u03b5\u03c3\u03b9\u03ce\u03bd. \n\n \u0394\u03b9\u03b1\u03b8\u03ad\u03c4\u03b5\u03b9 \u03c4\u03bf \u03c0...",
        "gemi_number": null,
        "profile_url": "https://www.spitogatos.gr/mesites/TZELI-HOME/20312",
        "is_developer": false,
        "working_hours": [
            {
                "day": 1,
                "hours": "09:00 - 18:00",
                "closed": false
            },
            {
                "day": 2,
                "hours": "09:00 - 18:00",
                "closed": false
            }
        ],
        "employee_count": null,
        "enrolment_date": "2023-05-16",
        "property_counts": {
            "total": 1751,
            "by_listing_type": {
                "rent": 1099,
                "sale": 652
            },
            "by_property_type": {
                "plot": 32,
                "store": 44,
                "villa": 6,
                "office": 94,
                "parcel": 7,
                "studio": 121,
                "building": 32,
                "detached": 35,
                "apartment": 1264,
                "warehouse": 2,
                "maisonette": 108,
                "parking spot": 1,
                "business building": 5
            }
        },
        "video_youtube_id": null,
        "areas_of_activity": [
            {
                "id": 100,
                "name": "\u0391\u03b8\u03ae\u03bd\u03b1 - \u039a\u03ad\u03bd\u03c4\u03c1\u03bf",
                "count": 659
            },
            {
                "id": 101,
                "name": "\u0391\u03b8\u03ae\u03bd\u03b1 - \u0392\u03cc\u03c1\u03b5\u03b9\u03b1 \u03a0\u03c1\u03bf\u03ac\u03c3\u03c4\u03b9\u03b1",
                "count": 55
            }
        ]
    },
    "meta": {
        "billable": true,
        "endpoint_family": "agent"
    },
    "success": true
}
```

## Errors

| Status | Error | Description |
| --- | --- | --- |
| 422 | Validation Error | A required parameter or a range is invalid. This response is not billable. |
| 404 | Not Found | The agency does not exist. This response is not billable. |
| 503 | Upstream Unavailable | Spitogatos could not be reached or returned data that does not match the request. This response is not billable and is retryable. |

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