# SS.lv Car Listings Scraper - Latvia Vehicle Data (`sian.agency/ss-lv-car-listings-scraper`) Actor

Extract SS.lv Latvian car listings and advert details with prices, model years, engine labels and mileage. Export deduplicated vehicle rows to JSON, CSV or Excel. Detail mode adds gearbox, colour, body type and marked equipment.

- **URL**: https://apify.com/sian.agency/ss-lv-car-listings-scraper.md
- **Developed by:** [SIÁN OÜ](https://apify.com/sian.agency) (community)
- **Categories:** Automation, Developer tools, Other
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.18 / 1,000 car listings

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## SS.lv Car Listings Scraper - Latvia Vehicle Data 🚗

[![SIÁN Agency Store](https://img.shields.io/badge/Store-SI%C3%81N%20Agency-1AE392)](https://apify.com/sian.agency?fpr=sian) [![SS.lv Property Listings](https://img.shields.io/badge/Store-SS.lv%20Property%20Listings-1AE392)](https://apify.com/sian.agency/ss-property-scraper?fpr=sian) [![RockAuto Parts](https://img.shields.io/badge/Store-RockAuto%20Parts-1AE392)](https://apify.com/sian.agency/rockauto-product-scraper?fpr=sian) [![AutoZone Products](https://img.shields.io/badge/Store-AutoZone%20Products-1AE392)](https://apify.com/sian.agency/autozone-product-scraper?fpr=sian)

#### 🚗 Two operations for Latvian vehicle research

##### Car prices and mileage labels, ready for your spreadsheet

### 🔎 What is the SS.lv Car Listings Scraper — and when should you use it?

The **SS.lv Car Listings Scraper** turns public Latvian car lists and selected car advert links into clean, structured rows you can filter, export and feed straight into a spreadsheet, database or AI agent. No account, no portal API key, no browser automation to maintain.

**Use it when you need:** SS.lv vehicle prices, model years, engine labels, mileage and marked equipment.

**Use something else when:** you need Latvian property adverts. Use [SS.lv Property Listings](https://apify.com/sian.agency/ss-property-scraper?fpr=sian) for property listings and asking prices. Vehicle history, seller contacts and VIN reveal are outside this car actor.

### 🤖 Use with AI agents

Already connected to the [Apify MCP server](https://mcp.apify.com)? Just ask for this Actor by name: sian.agency/ss-lv-car-listings-scraper

**Agentic payments:** Availability of [x402](https://www.x402.org/) and [Skyfire](https://www.skyfire.xyz/) depends on this Actor's current Store eligibility. Check the published listing for supported payment methods. Useful saved vehicle rows receive one result charge. Errors and duplicates have no result charge; the platform run-start fee can apply.

Otherwise copy this prompt into Claude, ChatGPT, Cursor or any MCP-enabled assistant:

```text
I want a structured sample of Latvian car adverts using the Apify Actor `sian.agency/ss-lv-car-listings-scraper`.

Use it when I need: SS.lv vehicle prices, model years, engine labels, mileage and marked equipment.

Don't use it when: you need Latvian property adverts — use ss-property-scraper instead.

How to call it: choose search with listingUrl and maxPages; choose detail with advertUrl or advertUrls for exact advert facts.

Start with this input:
{
  "operation": "search",
  "listingUrl": "https://www.ss.lv/lv/transport/cars/",
  "maxPages": 1,
  "maxResults": 25
}

Ask me how many pages and rows to read, or which car advert links to inspect, then run the Actor and summarise the results as a table.
```

**Things you can ask your agent for:**

- *Export 25 SS.lv car adverts with prices and model years.*
- *Compare exact advert mileage with rounded list labels.*
- *Read selected equipment for a car advert and export its facts.*

Machine-readable API, MCP config and OpenAPI definition for this Actor are published at [apify.com/sian.agency/ss-lv-car-listings-scraper.md](https://apify.com/sian.agency/ss-lv-car-listings-scraper.md).

### 📋 Overview

SS.lv Car Listings Scraper exports public Latvian car adverts into structured vehicle rows. Read the car list, or inspect selected advert links for more vehicle facts.

- ✅ **Useful comparisons:** Keep make/model, year, price and engine labels together.
- 🛣️ **Honest mileage:** Rounded list labels stay separate from exact advert kilometres.
- 🧰 **Marked equipment:** Detail includes only equipment marked as present.
- 📦 **Exports:** Download JSON, CSV or Excel from the dataset.
- 💰 **Clear result billing:** Each useful unique saved vehicle row has one result charge. The platform run-start fee is separate.

***

### ✨ Features

- 🔎 **Car listings:** Read the public Latvian root car list.
- 📚 **Linked pages:** Follow visible next-page links up to your page limit.
- 📄 **Advert details:** Read one car URL or a list of URL objects.
- 🔄 **Deduplication:** Save each advert URL once per run.
- 🖼️ **Preview links:** See the preview image URL included with the advert.
- 🧾 **Processing report:** Review rows, failed inputs and the runtime charge statement.
- 🚫 **Unavailable adverts:** Receive a concrete fix with no result charge.

***

### 🎬 Quick Start

Open the input form and keep the Search operation. Supply the Latvian car list URL below, choose your limits and click Start. Open the dataset or Processing Report when the run finishes.

```json
{
  "operation": "search",
  "listingUrl": "https://www.ss.lv/lv/transport/cars/",
  "maxPages": 1,
  "maxResults": 25
}
```

***

### 🚀 Getting Started

#### Step 1: Choose the records

Use Search for the car list or Detail for selected car advert URLs.

#### Step 2: Set your limits

Choose up to 20 pages and 3,000 rows. FREE plans receive at most 25 rows per run. Paid plans use your requested limits and available adverts.

#### Step 3: Export

Open the dataset to download JSON, CSV or Excel. The report shows unsuccessful inputs and next steps.

***

### 📥 Input Configuration

| Field | Type | Description |
|---|---|---|
| `operation` | string | Search or Detail. Defaults to Search. |
| `listingUrl` | string | 🔎 **LIST:** Use https://www.ss.lv/lv/transport/cars/ for the public Latvian car list. Search follows its visible next-page links. Other categories, languages and filtered URLs are not supported. |
| `maxPages` | integer | 📚 **PAGE LIMIT:** Search reads up to this many linked pages, stopping when there is no next page or no new adverts. Detail ignores this option. |
| `advertUrl` | string | 📄 **DETAIL:** Paste a Latvian car advert URL from SS.lv or a Search row. URLs for contact or VIN reveal, photos, accounts and other languages are not supported. |
| `advertUrls` | array | 📦 **DETAIL LIST:** Add public Latvian car advert URLs as {"url":"https://www.ss.lv/msg/lv/transport/cars/..."} entries. Duplicate URLs are read once. File imports are not supported. |
| `maxResults` | integer | 🔢 **ROW LIMIT:** Maximum unique useful rows to save. FREE plans receive up to 25 per run. Paid plans use the requested limit and available pages. This is a limit, not a guarantee of that many adverts. |

Search accepts only https://www.ss.lv/lv/transport/cars/ and follows its next-page links. Other car categories, search/sort filters and language routes are outside this actor's scope.

Detail accepts both ordinary make/model paths and public special-category car paths. For example:

```json
{"operation":"detail","advertUrls":[{"url":"https://www.ss.lv/msg/lv/transport/cars/skoda/citigo/cbiogh.html"}],"maxResults":1}
```

Provide work input explicitly. Sending only an empty object does not request a car search and produces no vehicle result charges. Preview values in the form help you start a Search run; they are not hidden API work defaults.

***

### 📤 Output

| Field | Type | Description |
|---|---|---|
| `imageUrl` | string | Preview URL already present in the advert HTML. |
| `advertCode` | string | Stable advert code from its public URL. |
| `rowTitle` | string | Vehicle make/model and year when shown. |
| `makeModel` | string | Vehicle make/model label. |
| `year` | integer | Vehicle production year when shown. |
| `engineText` | string | Engine label exactly as shown; list pages may show displacement only. |
| `mileageText` | string | Displayed mileage label. List values can be rounded. |
| `mileageKm` | integer | Exact labelled kilometres from detail pages only; no rounded list estimate. |
| `price` | number | Numeric euro amount when explicitly shown. |
| `priceText` | string | Displayed price including qualifications. |
| `currency` | string | EUR when the displayed price uses euros. |
| `gearboxText` | string | Gearbox label from detail pages. |
| `colourText` | string | Colour and finish label from detail pages. |
| `bodyTypeText` | string | Body type label from detail pages. |
| `inspectionText` | string | Seller-provided inspection label, without certification. |
| `rowType` | string | listing or detail. |
| `sourceUrl` | string | Public Latvian car advert URL. |
| `processedAt` | string | ISO capture timestamp. |
| `status` | string | success for a useful vehicle row. |
| `equipment` | array | Only equipment explicitly marked as present in the detail advert. |

Fields absent from a particular page are null or absent. Search rows do not promise detail-only fields. Error rows contain status, sourceUrl, errorMessage and a capture timestamp; they are not vehicle records.

```json
{
  "advertCode": "cbiogh",
  "sourceUrl": "https://www.ss.lv/msg/lv/transport/cars/skoda/citigo/cbiogh.html",
  "makeModel": "Skoda Citigo",
  "rowTitle": "Skoda Citigo 2014",
  "year": 2014,
  "rowType": "listing",
  "status": "success",
  "engineText": "1.0",
  "mileageText": "86 tūkst.",
  "priceText": "3,900 €",
  "price": 3900,
  "currency": "EUR",
  "imageUrl": "https://i.ss.lv/gallery/8/1530/382290/76457907.th2.jpg"
}
```

The displayed price can refer to different transaction types. The root list is not guaranteed to contain sale offers only. Advertisers supply the facts; this actor does not certify condition, mileage or vehicle history.

***

### 💼 Use Cases & Examples

#### 1. Latvian used-car price research

Market analysts export SS.lv vehicle prices alongside model years for a bounded inventory sample.

**Input:** Search car list URL and row/page limits.

**Output:** Deduplicated car listing rows.

#### 2. Dealer inventory comparison

Dealer analysts compare listed make/model and engine labels across car adverts.

**Input:** Search car list URL and row/page limits.

**Output:** Deduplicated car listing rows.

#### 3. Mileage research

Automotive researchers keep rounded list mileage separate from exact advert kilometres.

**Input:** Detail car advert links.

**Output:** Advert-level vehicle facts.

#### 4. Vehicle equipment review

Buyers review only the equipment explicitly marked in selected adverts.

**Input:** Detail car advert links.

**Output:** Advert-level vehicle facts.

#### 5. Spreadsheet exports

Data teams export Latvian car advert rows to JSON, CSV or Excel.

**Input:** Search car list URL and row/page limits.

**Output:** Deduplicated car listing rows.

#### 6. Recurring inventory snapshots

Analysts compare advert codes and capture times across their own scheduled runs.

**Input:** Search car list URL and row/page limits.

**Output:** Deduplicated car listing rows.

***

### 🔗 Integration Examples

#### JavaScript

```javascript
import { ApifyClient } from 'apify-client';
const client = new ApifyClient({ token: 'YOUR_TOKEN' });
const run = await client.actor('sian.agency/ss-lv-car-listings-scraper').call({"operation": "search", "listingUrl": "https://www.ss.lv/lv/transport/cars/", "maxPages": 1, "maxResults": 25});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items);
```

#### Python

```python
from apify_client import ApifyClient
client = ApifyClient('YOUR_TOKEN')
run = client.actor('sian.agency/ss-lv-car-listings-scraper').call(run_input={"operation": "search", "listingUrl": "https://www.ss.lv/lv/transport/cars/", "maxPages": 1, "maxResults": 25})
for item in client.dataset(run['defaultDatasetId']).iterate_items():
    print(item)
```

#### cURL

```bash
curl -X POST 'https://api.apify.com/v2/acts/sian.agency~ss-lv-car-listings-scraper/runs?token=YOUR_TOKEN' \
  -H 'Content-Type: application/json' \
  -d '{"operation": "search", "listingUrl": "https://www.ss.lv/lv/transport/cars/", "maxPages": 1, "maxResults": 25}'
```

#### Automation Workflows

Connect the Actor API to N8N, Zapier or Make. Trigger a run, retrieve the dataset and append rows to your spreadsheet or database. Compare advert codes across snapshots rather than treating each run as new inventory.

***

### 📈 Performance & Pricing

Billing uses the current listing's six plan tiers. There is one platform run-start fee and a result fee for each useful unique saved vehicle row. Search and Detail have separate result events. Errors and duplicates have no result charge.

FREE plans receive up to 25 vehicle rows per run. Paid plans can request up to 3,000 rows across up to 20 list pages, subject to availability and the run's billing limit. These are limits, not delivery guarantees.

A Search page contained 30 advert links in validation. Adverts can change or disappear, and consecutive pages can overlap. Results stop when there is no next page or no new adverts.

[View current prices](https://apify.com/sian.agency/ss-lv-car-listings-scraper?fpr=sian).

***

### ❓ Frequently Asked Questions

**Are all rows cars for sale?**

The root car list can contain different transaction types. Check the advert before interpreting its price as a sale offer.

**Is list mileage exact?**

No. Search preserves the displayed rounded label. Detail can supply exact labelled kilometres.

**Can I get seller contacts or VIN codes?**

No. Contact and VIN reveal are excluded.

**Does this read Russian or English pages?**

No. Only the documented Latvian car routes are supported.

**What happens if an advert is removed?**

It produces an actionable error without a result charge. The platform run-start fee may apply.

**Are these verified vehicle facts?**

They are advertiser-provided labels. This actor does not certify mileage, condition or history.

***

### 🐛 Troubleshooting

**No vehicle rows:** Supply listingUrl for Search, or advertUrl/advertUrls for Detail. Check the chosen operation.

**An advert is unavailable:** Run Search for fresh links. Replace the removed advert URL.

**Fewer rows than requested:** The list may end, pages may overlap, or the account's billing limit may stop delivery. A requested maximum is not an inventory guarantee.

**Access is restricted:** Wait before another run. The Actor stops when access is restricted and does not change access settings.

***

### ⚠️ Trademark Disclaimer

SS.lv and SS.com are trademarks of their respective owners. This independent SIÁN Agency actor is not affiliated with or endorsed by SS.lv.

### ⚖️ Is it legal to scrape data?

This actor reads public Latvian vehicle facts. Seller contacts, free-form seller descriptions, VIN reveal and private account data are excluded. Public availability does not grant rights to republish copyrighted content or to use personal data.

SS.lv reserves rights in its content. Use exports for a lawful purpose, respect applicable database rights and assess GDPR obligations for any personal data you combine with results. Seek legal advice if your planned use is unclear.

[Apify's discussion of scraping legality](https://blog.apify.com/is-web-scraping-legal/).

***

### 🤝 Support

Open an [Actor issue](https://apify.com/sian.agency/ss-lv-car-listings-scraper/issues) with the run ID and a supported example input. Email <apify@sian-agency.online>.

**Built by [SIÁN Agency](https://www.sian-agency.online)** | [More tools](https://apify.com/sian.agency?fpr=sian)

# Changelog

This Actor's version history is a separate document: https://apify.com/sian.agency/ss-lv-car-listings-scraper/changelog.md

# Actor input Schema

## `operation` (type: `string`):

🔎 **CHOOSE DATA:** Search reads the Latvian car list and follows its next-page links. Detail reads one or more car advert URLs. Search rows carry rounded mileage labels; detail rows can carry exact kilometres.

## `listingUrl` (type: `string`):

🔎 **LIST:** Use https://www.ss.lv/lv/transport/cars/ for the public Latvian car list. Search follows its visible next-page links. Other categories, languages and filtered URLs are not supported.

## `maxPages` (type: `integer`):

📚 **PAGE LIMIT:** Search reads up to this many linked pages, stopping when there is no next page or no new adverts. Detail ignores this option.

## `advertUrl` (type: `string`):

📄 **DETAIL:** Paste a Latvian car advert URL from SS.lv or a Search row. URLs for contact or VIN reveal, photos, accounts and other languages are not supported.

## `advertUrls` (type: `array`):

📦 **DETAIL LIST:** Add public Latvian car advert URLs as {"url":"https://www.ss.lv/msg/lv/transport/cars/..."} entries. Duplicate URLs are read once. File imports are not supported.

## `maxResults` (type: `integer`):

🔢 **ROW LIMIT:** Maximum unique useful rows to save. FREE plans receive up to 25 per run. Paid plans use the requested limit and available pages. This is a limit, not a guarantee of that many adverts.

## Actor input object example

```json
{
  "operation": "search",
  "listingUrl": "https://www.ss.lv/lv/transport/cars/",
  "maxPages": 1,
  "advertUrl": "https://www.ss.lv/msg/lv/transport/cars/skoda/citigo/cbiogh.html",
  "maxResults": 25
}
```

# Actor output Schema

## `ssLvCarListings` (type: `string`):

Every car listing this run returned.

## `scrapingSummary` (type: `string`):

HTML summary showing successful and failed results with key metrics

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "operation": "search",
    "listingUrl": "https://www.ss.lv/lv/transport/cars/",
    "maxPages": 1,
    "maxResults": 25
};

// Run the Actor and wait for it to finish
const run = await client.actor("sian.agency/ss-lv-car-listings-scraper").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "operation": "search",
    "listingUrl": "https://www.ss.lv/lv/transport/cars/",
    "maxPages": 1,
    "maxResults": 25,
}

# Run the Actor and wait for it to finish
run = client.actor("sian.agency/ss-lv-car-listings-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "operation": "search",
  "listingUrl": "https://www.ss.lv/lv/transport/cars/",
  "maxPages": 1,
  "maxResults": 25
}' |
apify call sian.agency/ss-lv-car-listings-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,sian.agency/ss-lv-car-listings-scraper"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/V7YrCTDZLs6xYuweE/builds/MK82HX2KJi7ewN1GV/openapi.json
