# Autovit & Standvirtual Dealer API Documentation

Scrappa's `GET /api/{platform}/dealer` endpoint returns a vehicle dealer's public profile and listings from Autovit.ro or Standvirtual.com as JSON.

## What the response contains

The dealer carries `id`, `name`, `url`, `address`, `opening_hours`, `logo`, `description` and the `listings` array with their public cards.

## Related endpoints

- `GET /api/{platform}/search` — find a listing whose `seller.url` carries the dealer id
- `GET /api/{platform}/listing` — the listing whose seller block names the dealer

- **Documentation:** [https://scrappa.co/docs/autovit-standvirtual-api/autovit_dealer](https://scrappa.co/docs/autovit-standvirtual-api/autovit_dealer)
- **API group:** Autovit & Standvirtual API
- **Endpoint:** `GET https://scrappa.co/api/autovit/dealer`

## 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 |
| --- | --- | --- | --- |
| `dealer_id` | string | Yes | Numeric dealer id from a listing's seller block. |
| `url` | string | No | Full dealer URL. Alternative to dealer_id. |

## Example request

```bash
#!/bin/bash

curl -X GET \
    -H "x-api-key: YOUR_API_KEY_HERE" \
    "https://scrappa.co/api/autovit/dealer?dealer_id=3329974"
```

## Example response

```json
{
    "success": true,
    "data": {
        "dealer": {
            "id": "3329974",
            "name": "Andreea Dirinea",
            "url": "https://luxurymotors.autovit.ro",
            "address": "LUXURY MOTORS BUCURESTI, Strada Soarelui, Ro\u0219u, Ro - 077042 Chiajna, Judet Ilfov (Romania)",
            "opening_hours": [
                {
                    "day": 0,
                    "is_open": true,
                    "open_at": "09:00",
                    "close_at": "18:00"
                }
            ],
            "logo": "https://autovit.ro/placeholder-logo.jpg",
            "description": "Public dealer about text from the dealer block.",
            "listings": [
                {
                    "id": "7060486207",
                    "url": "https://www.autovit.ro/autoturisme/anunt/bmw-x6-ver-xdrive40i-at-mhev-ID7HP4ZN.html",
                    "title": "BMW X6 xDrive40i AT MHEV",
                    "price": {
                        "value": 59900,
                        "currency": "EUR"
                    },
                    "location": {
                        "city": "Bucuresti",
                        "region": "Bucuresti"
                    },
                    "make": "bmw",
                    "model": "x6",
                    "year": 2023,
                    "mileage": 15000,
                    "fuel": "hibrid",
                    "transmission": "automat",
                    "images": [
                        "https://autovit.ro/placeholder.jpg"
                    ]
                }
            ]
        }
    },
    "meta": {
        "endpoint_family": "dealer"
    }
}
```

## Errors

| Status | Error | Description |
| --- | --- | --- |
|  | Error | No dealer carries that id. Not billed. |
|  | Error | The platform could not be reached. Not billed. |
|  | Error | The upstream service is temporarily unavailable. Please retry shortly. |

## Frequently asked questions

### Where do I get a dealer id?

From the `seller` block of any listing returned by the search or listing endpoint.

### Do I get the dealer phone number?

No. Dealer contact details are removed before the response leaves the service.

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