# Biluppgifter.se Scraper (`rainminer/biluppgifter-se-scraper`) Actor

Scrape public Swedish vehicle registry details from biluppgifter.se using full registration numbers. Export make, model, year, color, fuel, and status to JSON or CSV for automotive research and lead gen.

- **URL**: https://apify.com/rainminer/biluppgifter-se-scraper.md
- **Developed by:** [rainminer](https://apify.com/rainminer) (community)
- **Categories:** Lead generation, Other
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.37 / 1,000 results

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.
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?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
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.
Actors are written with capital "A".

## 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.
The best way to integrate Actors is as follows.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).

# README

### What does Biluppgifter.se Scraper do?

**Biluppgifter.se Scraper** extracts **public Swedish vehicle registry data** from [biluppgifter.se](https://biluppgifter.se/) — the country's leading vehicle lookup platform. Paste one or more registration-number URLs (for example `https://biluppgifter.se/fordon/FAX432/`) and export structured vehicle records — **make, model, year, fuel, mileage, tax, and inspection dates** — without writing any code.

Run it on the **Apify platform** to schedule lookups, export JSON/CSV/Excel, monitor failures, and integrate results via API.

### Why scrape biluppgifter.se?

- **Vehicle due diligence** — Verify make, model, year, fuel type, and mileage before buying a used car.
- **Fleet compliance** — Track inspection dates, road-tax status, and registration history for Swedish vehicles.
- **Market research** — Analyze vehicle specs and ownership counts across registration numbers.
- **Insurance & valuation** — Enrich license plates with technical data for underwriting or pricing models.
- **Data pipelines** — Feed structured Swedish vehicle records into dashboards, CRMs, or alerts.

### How to use Biluppgifter.se Scraper

1. Open the Actor in Apify Console.
2. Add one or more **biluppgifter.se vehicle URLs** under **Start URLs**.
3. Set **Maximum items** (vehicles per start URL).
4. Run the Actor and download the results from the **Dataset** tab.

### Input

Biluppgifter.se Scraper accepts **Start URLs**, **maxItems** (per start URL), and an optional **proxy configuration**. See the **Input** tab in Apify Console for details.

Supported start URLs:

- Vehicle detail pages: `https://biluppgifter.se/fordon/{REGISTRATION_NUMBER}/` (recommended)
- Search pages: `https://biluppgifter.se/fordon?r={QUERY}` (best-effort; Cloudflare may block search result pages)

### Output

Each result is a structured vehicle object. You can download the dataset in **JSON, CSV, Excel, or HTML**.

```json
{
  "registrationNumber": "FAX432",
  "make": "Volkswagen",
  "model": "Caddy III",
  "variant": "1.9 TDI",
  "year": 2007,
  "modelYear": 2007,
  "color": "Silver",
  "fuel": "Diesel",
  "vehicleType": "Personbil",
  "transmission": "Automat",
  "drivetrain": "2WD",
  "horsepower": "105 HK",
  "consumption": "6.9 l/100km",
  "emissions": "182 g/km",
  "odometer": "20 167 mil",
  "status": "I Trafik",
  "firstRegistered": "2007-02-27",
  "inTrafficSince": "2007-05-08",
  "ownerCount": 11,
  "lastOwnerChange": "2026-05-16",
  "lastInspection": "2026-04-07",
  "nextInspection": "2027-05-31",
  "annualTax": "5055 SEK",
  "taxMonth": "Maj",
  "environmentalClass": "Ec2005pm",
  "title": "FAX432 Volkswagen Caddy III 1.9 TDI Silver 2007 - Biluppgifter.se",
  "url": "https://biluppgifter.se/fordon/FAX432/",
  "searchUrl": null,
  "scrapedAt": "2026-07-28T08:00:00.000Z"
}
```

### What data can you extract from biluppgifter.se?

| Field | Description |
| --- | --- |
| registrationNumber | Swedish license plate |
| make | Vehicle manufacturer (Fabrikat) |
| model | Model name |
| variant | Trim / engine variant |
| year / modelYear | Vehicle and model year |
| color | Exterior color |
| fuel | Fuel type (Diesel, Bensin, El, etc.) |
| vehicleType | Vehicle category (Personbil, etc.) |
| transmission | Gearbox type |
| drivetrain | Drive configuration |
| horsepower | Engine power |
| consumption | Fuel consumption |
| emissions | CO₂ emissions |
| odometer | Reported mileage |
| status | Traffic status |
| firstRegistered | First registration date |
| inTrafficSince | Date registered for traffic in Sweden |
| ownerCount | Number of owners |
| lastOwnerChange | Most recent ownership change |
| lastInspection | Last inspection date |
| nextInspection | Next inspection deadline |
| annualTax | Annual road tax |
| taxMonth | Tax payment month |
| environmentalClass | Environmental classification |
| url | Public vehicle page URL |
| scrapedAt | ISO timestamp of extraction |

### How much does it cost to scrape biluppgifter.se?

This Actor uses a **Playwright browser crawler** (required for Cloudflare) and **no proxy by default**. A typical test run with a handful of registration numbers usually finishes in a few minutes. Larger runs scale with the number of vehicle pages requested.

### Tips and advanced options

- Use **full registration-number detail URLs** (`/fordon/{REGNO}/`) for the most reliable results.
- Search URLs (`?r=`) may be blocked by Cloudflare; detail pages are more stable.
- Enable **Apify Proxy** only if your runs are blocked — Swedish residential IPs can help in some cases.
- Owner names, VIN, and other member-only fields require BankID login and are **not** collected.

### FAQ, disclaimers, and support

**Is scraping biluppgifter.se legal?**\
This Actor collects only **public** vehicle data shown without login on biluppgifter.se. You are responsible for complying with applicable laws (including GDPR) when processing any personal data.

**Which URLs are supported?**\
Public vehicle detail pages under `/fordon/{REGISTRATION_NUMBER}/` and search pages under `/fordon?r=`.

**Why does my run return zero items?**\
biluppgifter.se uses Cloudflare protection. If blocked, retry with fewer concurrent requests or enable Apify Proxy. Invalid or non-existent registration numbers also return no vehicle data.

**Something not working?**\
Use the **Issues** tab to report bugs or request features.

### Image Credit

Image credit: [biluppgifter.se](https://biluppgifter.se/)

# Actor input Schema

## `startUrls` (type: `array`):

biluppgifter.se vehicle detail URLs (e.g. https://biluppgifter.se/fordon/FAX432/) or search URLs with ?r= query (e.g. https://biluppgifter.se/fordon?r=FAX).

## `maxItems` (type: `integer`):

Maximum number of vehicles to return per start URL.

## `proxyConfiguration` (type: `object`):

Proxy settings. The scraper works without a proxy in most cases. Enable Apify Proxy only if Cloudflare blocks your runs.

## Actor input object example

```json
{
  "startUrls": [
    {
      "url": "https://biluppgifter.se/fordon/FAX432/"
    },
    {
      "url": "https://biluppgifter.se/fordon/UPS822/"
    }
  ],
  "maxItems": 5,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

## `overview` (type: `string`):

No description

# 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 = {
    "startUrls": [
        {
            "url": "https://biluppgifter.se/fordon/FAX432/"
        },
        {
            "url": "https://biluppgifter.se/fordon/UPS822/"
        }
    ],
    "proxyConfiguration": {
        "useApifyProxy": false
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("rainminer/biluppgifter-se-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 = {
    "startUrls": [
        { "url": "https://biluppgifter.se/fordon/FAX432/" },
        { "url": "https://biluppgifter.se/fordon/UPS822/" },
    ],
    "proxyConfiguration": { "useApifyProxy": False },
}

# Run the Actor and wait for it to finish
run = client.actor("rainminer/biluppgifter-se-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 '{
  "startUrls": [
    {
      "url": "https://biluppgifter.se/fordon/FAX432/"
    },
    {
      "url": "https://biluppgifter.se/fordon/UPS822/"
    }
  ],
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}' |
apify call rainminer/biluppgifter-se-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,rainminer/biluppgifter-se-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/xEv7csBqCWw6HOMsJ/builds/9kNKsdI0ZtQGVJquY/openapi.json
