Endpoint documentation for searching Autovit and Standvirtual vehicle listings as JSON
How to call the search endpoint, which filters it accepts, and what each listing field means.
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 idGET /api/{platform}/dealer— dealer profile and listingsGET /api/{platform}/taxonomy— make/model taxonomy and filter values
Implementation playbook
What teams build with this endpoint
Supply Monitoring by City
Poll the same city filter on a schedule and diff `id` sets to detect newly published listings.
Price Benchmarking
Combine make, model and price filters across regions to compare asking prices without scraping pages.
Cross-Portal Deduplication
Match Autovit and Standvirtual listings against other portals by URL and price.
Run this endpoint
Endpoint
Parameters
Start with the required fields, then add optional filters only when your use case needs them.
Runnable path
This endpoint has no required query parameters.
12 optional filters available.
string
Optional
Make slug, e.g. bmw.
bmw
string
Optional
Model slug. Requires make.
example
integer
Optional
Minimum price in EUR.
10
integer
Optional
Maximum price in EUR.
10
integer
Optional
Minimum first-registration year.
10
integer
Optional
Maximum first-registration year.
10
integer
Optional
Minimum mileage in km.
10
integer
Optional
Maximum mileage in km.
10
array
Optional
Fuel type. Repeat for several values.
["example"]
array
Optional
Gearbox type. Repeat for several values.
["example"]
string
Optional
Sort order, e.g. created_at:desc.
relevance
integer
Optional
Page number, 1-based. Page size is fixed at 13.
1
Request Examples
<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://scrappa.co/api/autovit/search?make=bmw&page=1",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"x-api-key: YOUR_API_KEY_HERE"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
<?php
use Illuminate\Support\Facades\Http;
$response = Http::timeout(30)
->withHeaders(['x-api-key' => 'YOUR_API_KEY_HERE'])
->get('https://scrappa.co/api/autovit/search?make=bmw&page=1');
if ($response->successful()) {
echo $response->body();
} else {
echo "Error: " . $response->status();
}
const options = {
method: 'GET',
headers: {
'x-api-key': 'YOUR_API_KEY_HERE'
}
};
fetch('https://scrappa.co/api/autovit/search?make=bmw&page=1', options)
.then(response => {
if (!response.ok) {
throw new Error(`HTTP error! status: ${response.status}`);
}
return response.text();
})
.then(data => console.log(data))
.catch(error => console.error('Error:', error));
const axios = require('axios');
const options = {
method: 'GET',
url: 'https://scrappa.co/api/autovit/search?make=bmw&page=1',
headers: {
x-api-key: 'YOUR_API_KEY_HERE',
}
};
try {
const response = await axios(options);
console.log(response.data);
} catch (error) {
console.error('Error:', error.message);
}
require 'net/http'
require 'uri'
uri = URI.parse("https://scrappa.co/api/autovit/search?make=bmw&page=1")
http = Net::HTTP.new(uri.host, uri.port)
http.use_ssl = uri.scheme == 'https'
request = Net::HTTP::Get.new(uri.request_uri)
request['x-api-key'] = 'YOUR_API_KEY_HERE'
begin
response = http.request(request)
puts response.body
rescue => e
puts "Error: #{e.message}"
end
import http.client
import json
conn = http.client.HTTPSConnection("scrappa.co")
headers = {
'x-api-key': 'YOUR_API_KEY_HERE',
}
try:
conn.request("GET", "/api/autovit/search?make=bmw&page=1", headers=headers)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
except Exception as e:
print(f"Error: {e}")
finally:
conn.close()
import requests
headers = {
'x-api-key': 'YOUR_API_KEY_HERE',
}
try:
response = requests.get('https://scrappa.co/api/autovit/search?make=bmw&page=1', headers=headers)
response.raise_for_status()
print(response.text)
except requests.exceptions.RequestException as e:
print(f"Error: {e}")
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.Response;
import java.io.IOException;
public class ApiExample {
public static void main(String[] args) {
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("https://scrappa.co/api/autovit/search?make=bmw&page=1")
.addHeader("x-api-key", "YOUR_API_KEY_HERE")
.build();
try (Response response = client.newCall(request).execute()) {
if (response.isSuccessful()) {
System.out.println(response.body().string());
} else {
System.out.println("Error: " + response.code());
}
} catch (IOException e) {
System.out.println("Error: " + e.getMessage());
}
}
}
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
client := &http.Client{}
req, err := http.NewRequest("GET", "https://scrappa.co/api/autovit/search?make=bmw&page=1", nil)
if err != nil {
fmt.Println("Error creating request:", err)
return
}
req.Header.Set("x-api-key", "YOUR_API_KEY_HERE")
resp, err := client.Do(req)
if err != nil {
fmt.Println("Error making request:", err)
return
}
defer resp.Body.Close()
body, err := ioutil.ReadAll(resp.Body)
if err != nil {
fmt.Println("Error reading response:", err)
return
}
fmt.Println(string(body))
}
#!/bin/bash
curl -X GET \
-H "x-api-key: YOUR_API_KEY_HERE" \
"https://scrappa.co/api/autovit/search?make=bmw&page=1"
using System;
using System.Net.Http;
using System.Threading.Tasks;
class Program
{
static async Task Main()
{
using var client = new HttpClient();
client.DefaultRequestHeaders.Add("x-api-key", "YOUR_API_KEY_HERE");
try
{
var response = await client.SendAsync(new HttpRequestMessage(HttpMethod.Get, "https://scrappa.co/api/autovit/search?make=bmw&page=1"));
var content = await response.Content.ReadAsStringAsync();
Console.WriteLine(content);
}
catch (Exception ex)
{
Console.WriteLine($"Error: {ex.Message}");
}
}
}
import axios from 'axios';
async function run(): Promise<void> {
try {
const response = await axios({
method: 'GET',
url: 'https://scrappa.co/api/autovit/search?make=bmw&page=1',
headers: {
'x-api-key': 'YOUR_API_KEY_HERE',
},
});
console.log(response.data);
} catch (error) {
console.error('Error:', error);
}
}
void run();
use reqwest::Client;
#[tokio::main]
async fn main() -> Result<(), Box<dyn std::error::Error>> {
let client = Client::new();
let response = client
.get("https://scrappa.co/api/autovit/search?make=bmw&page=1")
.header("x-api-key", "YOUR_API_KEY_HERE")
.send()
.await?;
println!("{}", response.text().await?);
Ok(())
}
Response Schema
Example response fields are illustrative; inspect the JSON before integrating.
Example response fields
Scan these fields before integrating.
success
data
meta
{
"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
Handle these documented responses before retrying or showing customer-facing failures.
HTTP UPSTREAM_ERROR
The platform could not be reached. Not billed.
HTTP upstream_unavailable
The upstream service is temporarily unavailable. Please retry shortly.
Generate Code with AI
Copy a ready-made prompt with all the endpoint details, parameters, and example responses. Paste it into ChatGPT, Claude, or any AI assistant to instantly generate working code.
Autovit & Standvirtual API FAQ
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.
Try It Live
Test this endpoint in our interactive playground with real data.