# Spitogatos Agent Search API Documentation

<p><strong>Spitogatos Agent Search API</strong> finds agencies by name, optionally inside one area, 25 per page. Each agency has its name, address, business phones, website, description and profile URL. Use the <code>id</code> with the agent routes. Failed requests are not billed.</p>

- **Documentation:** [https://scrappa.co/docs/spitogatos-api/spitogatos_agent_search](https://scrappa.co/docs/spitogatos-api/spitogatos_agent_search)
- **API group:** Spitogatos API
- **Endpoint:** `GET https://scrappa.co/api/spitogatos/agent/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 |
| --- | --- | --- | --- |
| `query` | string | Yes | Part of the agency name, 2 to 100 characters. Example: tzeli. |
| `area_id` | integer | No | Only agencies in this area (default 1, all of Greece). |
| `page` | integer | No | One-based page number, 1 to 200 (default 1). 25 agencies per page. |
| `locale` | string | No | Language of area names: el (default) or en. |

## Example response

```json
{
    "data": {
        "items": [
            {
                "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",
                "phones": [
                    "+302110014573",
                    "+306906062919"
                ],
                "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",
                "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 \u0394\u03b9\u03b1\u03b8\u03ad\u03c4\u03b5\u03b9 \u03c4\u03bf \u03c0\u03b9...",
                "profile_url": "https://www.spitogatos.gr/mesites/TZELI-HOME/20312",
                "is_developer": false
            }
        ],
        "query": "tzeli",
        "pagination": {
            "page": 1,
            "total": 2,
            "per_page": 25,
            "last_page": 1,
            "has_next_page": false
        }
    },
    "meta": {
        "billable": true,
        "endpoint_family": "agent_search"
    },
    "success": true
}
```

## Errors

| Status | Error | Description |
| --- | --- | --- |
| 422 | Validation Error | A required parameter or a range is invalid. 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)
