# Subito.it Auto Dealer Search

Search Subito.it dealers by name or category keyword. Returns shop id, user id, name, ads count, slogan, description, website and logo. 2391 dealers matched q=auto live.

- **Documentation:** [https://scrappa.co/docs/subito-motori-api/subito_motori_dealer_search](https://scrappa.co/docs/subito-motori-api/subito_motori_dealer_search)
- **API group:** Subito.it Auto API
- **Endpoint:** `GET https://scrappa.co/api/subito-motori/dealers/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 |
| --- | --- | --- | --- |
| `q` | string | No | Dealer search keyword, e.g. auto. |
| `r` | integer | No | Region key 1-20, e.g. 15 = Campania. |
| `sort` | string | No | adsdesc or relevance. |
| `lim` | integer | No | Dealers per page, 1-100. Defaults to 20. |

## Example request

```bash
#!/bin/bash

curl -X GET \
    -H "x-api-key: YOUR_API_KEY_HERE" \
    "https://scrappa.co/api/subito-motori/dealers/search?q=auto&lim=2"
```

## Example response

```json
{
    "success": true,
    "data": {
        "count_all": 2391,
        "start": 2,
        "has_more": true,
        "shops": [
            {
                "shop_id": 3096,
                "user_id": "101581240",
                "name": "AUTO DAZ RICAMBI",
                "ads_count": 17983
            }
        ]
    },
    "meta": {
        "endpoint_family": "dealer_search"
    }
}
```

## Errors

| Status | Error | Description |
| --- | --- | --- |
| 422 | Validation Error | A public parameter or range is invalid. This response is not billable. |
| 503 | Service Unavailable | The service could not obtain a complete result. This response is not billable. |

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