# Autovit & Standvirtual Search API Documentation

Scrappa's `GET /api/{platform}/search` endpoint is the Autovit & Standvirtual Search API documentation page for developers who need Romanian or Portuguese vehicle listings as structured JSON instead of building their own scraper.

## Endpoint reference for search

Use this endpoint to search used and new cars on Autovit.ro (Romania) or Standvirtual.com (Portugal). The request takes a `make`, an optional `model`, and optional price, year, mileage, fuel, gearbox, sort and pagination filters.

## What the search response returns

Each listing returns its full card field set: `id`, `url`, `title`, `price` (`value` + `currency`), `location` (`city` + `region`), `make`, `model`, `year`, `mileage`, `fuel`, `transmission` and `images`. The response also carries pagination (`page`, `page_size`, `total`, `has_more`), the resolved `facets` and a `meta` block.

## How this differs from a scraper build

Both platforms publish no public API and serve filtered search only from their i2 ads JSON endpoint. This endpoint performs that translation for you, so your application never has to maintain a proxy pool or a state parser.

## Search API use cases

Dealership tools can run repeatable supply feeds for Romanian or Portuguese cities. Market analysts can compare asking prices and availability across both markets. Alerting tools can poll the same filtered search on a schedule and trigger on newly published listings.

## When to pair this endpoint with the other endpoints

Use `GET /api/{platform}/listing` with a result `id` for the full description, equipment, parameters and seller data. Use `GET /api/{platform}/dealer` with a listing's `seller.url` for the dealer profile. Use `GET /api/{platform}/taxonomy` for the make/model reference lists behind the filters.

## Related endpoints

- `GET /api/{platform}/listing` — full detail for one listing id
- `GET /api/{platform}/dealer` — dealer profile and listings
- `GET /api/{platform}/taxonomy` — make/model taxonomy and filter values

- **Documentation:** [https://scrappa.co/docs/autovit-standvirtual-api/autovit_search](https://scrappa.co/docs/autovit-standvirtual-api/autovit_search)
- **API group:** Autovit & Standvirtual API
- **Endpoint:** `GET https://scrappa.co/api/autovit/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 |
| --- | --- | --- | --- |
| `make` | string | No | Make slug, e.g. bmw. |
| `model` | string | No | Model slug. Requires make. |
| `price_min` | integer | No | Minimum price in EUR. |
| `price_max` | integer | No | Maximum price in EUR. |
| `year_min` | integer | No | Minimum first-registration year. |
| `year_max` | integer | No | Maximum first-registration year. |
| `mileage_min` | integer | No | Minimum mileage in km. |
| `mileage_max` | integer | No | Maximum mileage in km. |
| `fuel` | array | No | Fuel type. Repeat for several values. |
| `gearbox` | array | No | Gearbox type. Repeat for several values. |
| `sort` | string | No | Sort order, e.g. created_at:desc. |
| `page` | integer | No | Page number, 1-based. Page size is fixed at 13. |

## Example request

```bash
#!/bin/bash

curl -X GET \
    -H "x-api-key: YOUR_API_KEY_HERE" \
    "https://scrappa.co/api/autovit/search?make=bmw&page=1"
```

## Example response

```json
{
    "success": true,
    "data": {
        "listings": [
            {
                "id": "7060854103",
                "url": "https://www.autovit.ro/autoturisme/anunt/mg-hs-ID7HQCHB.html",
                "title": "MG HS",
                "price": {
                    "value": 15900,
                    "currency": "EUR"
                },
                "location": {
                    "city": "Bucuresti",
                    "region": "Bucuresti"
                },
                "make": "mg",
                "model": "hs",
                "year": 2021,
                "mileage": 50000,
                "fuel": "benzina",
                "transmission": "automat",
                "images": [
                    "https://autovit.ro/placeholder.jpg"
                ]
            }
        ],
        "pagination": {
            "page": 1,
            "page_size": 13,
            "total": 43798,
            "has_more": true
        },
        "facets": {
            "make": "bmw",
            "model": null,
            "sort": null
        }
    },
    "meta": {
        "endpoint_family": "search"
    }
}
```

## Errors

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

## Frequently asked questions

### How do I find a make slug?

Call the taxonomy endpoint and use the `id` of the make you want.

### Is a request billed when it fails?

No. Failed requests return an `error` object and are never charged.

### Are image files downloaded?

No. Only image URLs are returned, which is cheaper and lets you choose any resolution.

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