# Flexicar Car Listings Scraper - Spain Prices & Vehicle Data (`sian.agency/flexicar-car-listings-scraper`) Actor

Export Flexicar used-car listings and individual car details in Spain. Keep advertised and cash prices separate, with mileage, fuel, dealership names and image links.

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

## Pricing

from $0.92 / 1,000 list cars

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

## Flexicar Car Listings Scraper - Spain Prices & Vehicle Data 🚘

[![SIÁN Agency Store](https://img.shields.io/badge/Store-SI%C3%81N%20Agency-1AE392)](https://apify.com/sian.agency?fpr=sian) [![RockAuto Parts](https://img.shields.io/badge/Store-RockAuto%20Parts-1AE392)](https://apify.com/sian.agency/rockauto-product-scraper?fpr=sian) [![AutoZone Parts](https://img.shields.io/badge/Store-AutoZone%20Parts-FF6600)](https://apify.com/sian.agency/autozone-product-scraper?fpr=sian) [![Craigslist Listings](https://img.shields.io/badge/Store-Craigslist%20Listings-5A348B)](https://apify.com/sian.agency/craigslist-scraper?fpr=sian)

#### 🚘 Up to12 visible cars, or one exact vehicle detail

##### Separate advertised and cash prices for vehicle sourcing and spreadsheet comparisons

***

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

The **Flexicar Car Listings Scraper** turns one visible Flexicar used-car page or an exact vehicle detail in Spain 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:** vehicle IDs, separate advertised/cash prices, mileage, dealership names and available image links.

**Use something else when:** you need a full inventory export, interactive search, contacts or a purchase valuation. This actor reads one main-list page or one car detail. Choose a different product for exhaustive stock, contacts or valuations.

### 🤖 Use with AI agents

Already connected to the [Apify MCP server](https://mcp.apify.com)? Just ask for this Actor by name: sian.agency/flexicar-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. Each saved list card or vehicle detail has one operation-specific result event. Invalid, empty or failed retrievals have no result charge. A platform start event may apply.

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

```text
I want a dated Flexicar vehicle table with the two published price meanings kept separate using the Apify Actor `sian.agency/flexicar-car-listings-scraper`.

Use it when I need: vehicle IDs, separate advertised/cash prices, mileage, dealership names and available image links.

Don't use it when: This actor reads one main-list page or one car detail. Choose a different product for exhaustive stock, contacts or valuations.

How to call it: choose list with the main used-car URL and maxResults up to 12, or detail with an exact /coches-ocasion/ vehicle URL.

Start with this input:
{
  "operation": "list",
  "url": "https://www.flexicar.es/coches-segunda-mano/",
  "maxResults": 12
}

Ask me the Flexicar page URL, desired list or detail operation and saved-car limit, then run the Actor and summarise the results as a table.
```

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

- *Compare advertised and cash prices for the 12 visible Flexicar cars.*
- *Summarise mileage, fuel and dealership names from one list snapshot.*
- *Read one exact car page and list its available specifications and image URLs.*

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

### 📋 Overview

Flexicar Car Listings Scraper saves a bounded table of used cars advertised in Spain. Compare the two published price fields, then follow a vehicle URL when you need its available detail.

- One requested page per run. List cars supports only the main used-car URL and saves at most12 cards.

- No pagination, brand/category crawling, keyword search, automatic detail expansion or whole-inventory export.

- The advertised stock total is not the number of records this actor delivers.

- Only exact anonymously accessible Flexicar car URLs are supported. Login, search, account and contact pages are excluded.

- ✅ **Price separation:** distinguish the advertised amount from the cash price.

- 🆔 **Stable joins:** use the published vehicle ID and URL across exports.

- 🛣️ **Useful comparisons:** year, mileage and fuel accompany the price.

- 📷 **Available photos:** keep image links from the requested page.

- 📄 **Clear outcomes:** reports retain saved cars and useful failure advice.

***

### ✨ Features

- 🚘 **Visible-list snapshot:** Save up to 12 cards from the main used-car page. The saved count never expands to the advertised inventory total.
- 🚘 **Two price meanings:** Keep the advertised price and cash price in separate columns. Financing conditions can affect the advertised amount.
- 🚘 **Vehicle identity:** Join exports by the published vehicle ID and exact car URL.
- 🚘 **Mileage and condition cues:** Compare the published year, kilometres, fuel, transmission, colour and environmental label.
- 🚘 **Photo links:** Receive the images already available on the requested page. Detail pages can contain a larger set.
- 🚘 **Available specifications:** A detail record can add doors, seats, horsepower and body type. Unpublished values stay null.
- 🚘 **Processing report:** Review saved records, input advice, accepted event counts and valid retry input in one report.
- 🚘 **Contact data excluded:** Phone numbers, email addresses, owner data and contact forms are excluded.

***

### 🎬 Quick Start

Select List cars and provide the main Flexicar used-car URL. Set the saved-car limit to 1–12 and run the actor. Open the car dataset or Processing Report when the run finishes.

```bash
curl -X POST "https://api.apify.com/v2/acts/sian.agency~flexicar-car-listings-scraper/runs?token=YOUR_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"operation": "list", "url": "https://www.flexicar.es/coches-segunda-mano/", "maxResults": 12}'
```

***

### 🚀 Getting Started (3 Simple Steps)

#### Step 1: Choose the record shape

Use List cars for the visible main-page cards. Use Vehicle detail for a single car page.

#### Step 2: Supply the requested URL

The Console form is prefilled with the main list URL. API callers must supply a URL; an omitted URL does not start example work.

#### Step 3: Review and export

Open the saved dataset and compare advertised price, cash price, mileage and model. Export JSON, CSV or Excel through Apify. Check the Processing Report if the page could not be read.

***

### 📥 Input Configuration

| Field | Type | Required | Description |
|---|---|---|---|
| operation | string | No | list or detail; defaults to list. |
| url | string | Yes at runtime | Main used-car URL for list, exact vehicle URL for detail. Console prefill only. |
| maxResults | integer | No | 1–12 saved list cards; defaults to 12. Detail returns one car. |

**List example:**

```json
{
  "operation": "list",
  "url": "https://www.flexicar.es/coches-segunda-mano/",
  "maxResults": 12
}
```

**Detail example:**

```json
{
  "operation": "detail",
  "url": "https://www.flexicar.es/coches-ocasion/seat-leon-15-etsi-110kw-dsg-7-s-amps-fr-launch-p-l-hibrido-no-enchufable-automatica-vaciamadrid_903000000297213/",
  "maxResults": 1
}
```

The detail example was a real advertised vehicle when captured. It can later be sold or withdrawn. Query strings, fragments, search pages, credentials and other domains are rejected. There is no bulk mode or pagination input.

***

### 📤 Output

Each saved record uses 34 documented fields. Detail-only values are null on a list card when they were not published there. The Overview puts the vehicle image and fields used for comparing cars first.

| Field | Type | Meaning |
|---|---|---|
| imageUrl | string | Image as published on the requested Flexicar vehicle page. |
| vehicleId | string | Published safe numeric vehicle ID represented as a string for stable joins. |
| title | string | Vehicle as published on the requested Flexicar vehicle page. |
| price | number | Advertised Flexicar price in EUR; it may depend on financing and is not replaced by the cash price. |
| cashPrice | number | Separately advertised cash price in EUR; null if absent. |
| monthlyPayment | number | Advertised monthly financing instalment in EUR, not a total credit cost or financing approval. |
| year | integer | Year as published on the requested Flexicar vehicle page. |
| mileageKm | integer | Published odometer value in kilometres. |
| fuel | string | Fuel as published on the requested Flexicar vehicle page. |
| transmission | string | Transmission as published on the requested Flexicar vehicle page. |
| dealershipName | string | Published dealership trading name; no phone, email, owner or contact data. |
| images | array | Available image links on this requested page; detail pages can publish more than list cards. |
| doors | integer | Doors as published on the requested Flexicar vehicle page. |
| powerHp | integer | Published hp value on a detail page; null when not present. |
| vehicleUrl | string | Exact vehicle page URL formed from the published vehicle slug and matching ID. |

**Example from an actual list response:**

```json
{
  "vehicleId": "903000000297213",
  "brand": "SEAT",
  "model": "Leon",
  "version": "1.5 eTSI 110kW DSG-7 S&S FR Launch P L",
  "price": 15890,
  "cashPrice": 17890,
  "monthlyPayment": 247,
  "currency": "EUR",
  "year": 2020,
  "mileageKm": 112940,
  "fuel": "Híbrido no enchufable",
  "transmission": "Automática",
  "dealershipName": "Rivas - Parque Rivas",
  "vehicleUrl": "https://www.flexicar.es/coches-ocasion/seat-leon-15-etsi-110kw-dsg-7-s-amps-fr-launch-p-l-hibrido-no-enchufable-automatica-vaciamadrid_903000000297213/",
  "images": [
    "https://www.flexicar.es/images/903000000297213/imp2f_6ri4XZFYUB__WhatsApp%20Image%202026-10-29%20at%2014.06.19%20(3).webp",
    "https://www.flexicar.es/images/903000000297213/imp2f_udkxmogHbI__WhatsApp%20Image%202026-10-29%20at%2014.06.19%20(1).webp",
    "https://www.flexicar.es/images/903000000297213/imp2f_8NA8T4kkdN__WhatsApp%20Image%202026-10-29%20at%2014.06.18%20(6).webp",
    "https://www.flexicar.es/images/903000000297213/imp2f_XxQAwBc1Xz__WhatsApp%20Image%202026-10-29%20at%2014.06.18%20(2).webp",
    "https://www.flexicar.es/images/903000000297213/imp2f_GfCsSMzlE1__WhatsApp%20Image%202026-10-29%20at%2014.06.18%20(1).webp"
  ],
  "operation": "list",
  "processedAt": "2026-10-30T07:18:32.259Z",
  "status": "success"
}
```

The example preserves the published values; it is not a live availability or price guarantee. Image arrays may include a dealership’s generic image when that image is part of the published car record.

***

### 💼 Use Cases & Examples

#### 1. Dealer price checks

Dealership analysts compare the advertised and cash prices of the visible Flexicar cars without merging those two meanings.

**Input:** The main used-car URL with List cars and a saved-car limit.

**Output:** A dated table of the visible vehicles.

**Use:** Join or compare the exported records in a spreadsheet.

#### 2. Used-car sourcing

Sourcing teams shortlist visible cars by model, year, mileage and dealership name, then inspect exact detail URLs.

**Input:** The main used-car URL with List cars and a saved-car limit.

**Output:** A dated table of the visible vehicles.

**Use:** Review the car-specific fields before a sourcing decision.

#### 3. Vehicle photo review

Catalog editors collect the image links available on a car page for manual review, subject to image rights.

**Input:** An exact vehicle URL with Vehicle detail.

**Output:** One detail with available car specifications and image URLs.

**Use:** Review the car-specific fields before a sourcing decision.

#### 4. Market research

Researchers save a dated snapshot of the first visible cars. The snapshot does not represent all Spanish stock.

**Input:** The main used-car URL with List cars and a saved-car limit.

**Output:** A dated table of the visible vehicles.

**Use:** Join or compare the exported records in a spreadsheet.

#### 5. Buyer shortlists

Buying advisers compare fuel, transmission and mileage for clients before checking availability with the dealer.

**Input:** The main used-car URL with List cars and a saved-car limit.

**Output:** A dated table of the visible vehicles.

**Use:** Review the car-specific fields before a sourcing decision.

#### 6. Spreadsheet updates

Operations teams export JSON or CSV and join saved vehicles by their Flexicar ID.

**Input:** The main used-car URL with List cars and a saved-car limit.

**Output:** A dated table of the visible vehicles.

**Use:** Join or compare the exported records in a spreadsheet.

***

### 🔗 Integration Examples

#### JavaScript / Node.js

```javascript
import { ApifyClient } from "apify-client";
const client = new ApifyClient({ token: "YOUR_TOKEN" });
const run = await client.actor("sian.agency/flexicar-car-listings-scraper").call({
  "operation": "list",
  "url": "https://www.flexicar.es/coches-segunda-mano/",
  "maxResults": 12
});
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/flexicar-car-listings-scraper").call(run_input={'operation': 'list', 'url': 'https://www.flexicar.es/coches-segunda-mano/', 'maxResults': 12})
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item)
```

#### cURL

```bash
curl -X POST "https://api.apify.com/v2/acts/sian.agency~flexicar-car-listings-scraper/run-sync-get-dataset-items?token=YOUR_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"operation": "list", "url": "https://www.flexicar.es/coches-segunda-mano/", "maxResults": 12}'
```

#### Automation Workflows (N8N / Zapier / Make)

1. Trigger the actor on a schedule or after receiving a vehicle URL.
2. Pass the chosen operation, URL and saved-car limit.
3. Read the returned dataset and retain the vehicle ID and capture time.
4. Update a spreadsheet, database or sourcing shortlist.

A scheduled list run captures the current visible cards. It does not watch or guarantee coverage of every vehicle on the site.

***

### 📊 Performance & Pricing

#### FREE Tier

Read up to 12 visible list cards or one exact detail per run. The same supported record fields are available on paid plans.

#### PAID Tier

The page and result limits stay the same. Plan-based event prices are shown in the current Apify listing.

A saved list card uses the listing-record event. A saved detail uses vehicle-detail. Invalid, empty or failed retrievals have no custom result charge; a separate platform start event may apply.

The example list run saved 12 cars in 3.1 seconds during validation. Response times vary with page availability and load. See the [current pricing](https://apify.com/sian.agency/flexicar-car-listings-scraper?fpr=sian) before starting a run.

The 12-card default amortizes one requested-page cost across the visible records. A smaller result limit stops saving earlier on the same list page.

***

### ❓ Frequently Asked Questions

**Does this export every Flexicar vehicle?**

No. List cars reads the main used-car page once and saves at most12 visible cards. There is no pagination.

**Are price and cashPrice the same?**

No. price is the advertised price displayed by Flexicar, which may depend on financing. cashPrice is the separately published cash price. Financing eligibility and total credit cost are not calculated.

**Do I get contact information?**

No. The actor excludes phone numbers, email addresses, owner data and contact forms.

**What does Vehicle detail add?**

One exact car page can include more image links, doors, seats, horsepower and body type. Missing values remain null.

**Do I need a Flexicar account?**

No. Only anonymously accessible pages are supported. Access denials or challenges stop retrieval.

**Which exports are available?**

Use Apify dataset exports for JSON, CSV or Excel. Image fields contain links, not downloaded image files.

**How are failures billed?**

Only saved vehicle records incur custom result charges. Invalid, unavailable or empty retrievals have zero result charges; the platform start event may still apply.

***

### 🐛 Troubleshooting

**No URL provided**

Supply the page you want to read. The Console prefill is not an API default.

**Detail is unavailable**

Open the car URL yourself and check that the car is still listed. Sold or withdrawn vehicles can stop being available.

**Access is restricted or a timeout occurs**

Wait before another attempt. The actor stops on access denials and does not bypass restrictions.

**Fewer cars than the site’s inventory counter**

This is a single visible-page snapshot. The inventory counter describes stock beyond the cards returned here.

**Advertised and cash prices differ**

Keep the two columns separate. Ask the dealer about financing conditions and current purchase costs before making a decision.

***

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

Flexicar’s legal notice reserves reproduction, storage, transmission and public communication to express consent. Its privacy policy also restricts non-private reuse without written consent. Public visibility does not grant a commercial or database reuse licence.

The [legal notice](https://www.flexicar.es/aviso-legal/), [privacy policy](https://www.flexicar.es/politica-de-privacidad/) and [cookie policy](https://www.flexicar.es/politica-de-cookies/) apply. Review reuse rights and any required permissions before using the exported records commercially. The actor’s availability is not legal clearance.

The output excludes phone numbers, email addresses, owner identifiers and contact-form content. Handle any personal data under the GDPR and other applicable rules. Images and written descriptions may carry separate rights.

Flexicar is a trademark of its owner. This actor is independent and is not affiliated with, endorsed by or sponsored by Flexicar.

See Apify’s discussion of [web-scraping legality](https://blog.apify.com/is-web-scraping-legal/) for general background.

***

### 🤝 Support

- Open an [actor issue](https://apify.com/sian.agency/flexicar-car-listings-scraper/issues) with the operation and page URL.
- Leave a [review](https://apify.com/sian.agency/flexicar-car-listings-scraper/reviews) after trying the actor.
- Email <apify@sian-agency.online>.
- Browse the [SIÁN Agency Store](https://apify.com/sian.agency?fpr=sian).

**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/flexicar-car-listings-scraper/changelog.md

# Actor input Schema

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

🎯 Choose List cars for up to 12 cards on the main used-car page, or Vehicle detail for one exact vehicle URL. Each run reads one requested page.

## `url` (type: `string`):

🔗 **PAGE TO READ:** Use the main used-car URL for List cars. For Vehicle detail, paste an exact /coches-ocasion/ car URL. Query strings, login pages and search URLs are unsupported. The Console suggests the main page; API calls must include the URL.

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

🔢 **RESULT LIMIT:** Save at most 1–12 cards from the single main list page. The detail operation returns one vehicle. A higher advertised stock count does not add pages or requests.

## Actor input object example

```json
{
  "operation": "list",
  "url": "https://www.flexicar.es/coches-segunda-mano/",
  "maxResults": 12
}
```

# Actor output Schema

## `flexicarCars` (type: `string`):

Every car 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": "list",
    "url": "https://www.flexicar.es/coches-segunda-mano/",
    "maxResults": 12
};

// Run the Actor and wait for it to finish
const run = await client.actor("sian.agency/flexicar-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": "list",
    "url": "https://www.flexicar.es/coches-segunda-mano/",
    "maxResults": 12,
}

# Run the Actor and wait for it to finish
run = client.actor("sian.agency/flexicar-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": "list",
  "url": "https://www.flexicar.es/coches-segunda-mano/",
  "maxResults": 12
}' |
apify call sian.agency/flexicar-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/flexicar-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/nqdJdl6rYPGkaeNlL/builds/QLjgylWIodO3L8H00/openapi.json
