# Krogsveen.no Real Estate Scraper (`datascrapers/krogsveen-no-scraper`) Actor

Scrape Norwegian real-estate listings from Krogsveen.no with search URL or filter-based discovery, optional full details and broker contact info.

- **URL**: https://apify.com/datascrapers/krogsveen-no-scraper.md
- **Developed by:** [Data Scrapers](https://apify.com/datascrapers) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.70 / 1,000 listings

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?

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

**Krogsveen Scraper** creates a structured dataset of property listings collected from Krogsveen. Each dataset item can include the listing id, address, postal area, property type, and suggested price. Query the source with a place and a property type, control the result limit with maxItems, and retrieve records through the Apify Dataset API or export them as JSON, CSV, Excel, XML, or another supported format.

[![krogsveen-no-scraper — input to structured data](https://raw.githubusercontent.com/faizanalii/apify-actor-assets/main/krogsveen-no-scraper/krogsveen-no-scraper-value-demo.gif)](https://apify.com/datascrapers/krogsveen-no-scraper)

### Dataset at a glance

| Property | Value |
|---|---|
| Source | krogsveen.no |
| Record unit | One property listing |
| Input methods | searchQueries, propertyTypes |
| Main identifiers | id, url |
| Delivery | Apify Dataset and API |
| Export formats | JSON, CSV, Excel, XML |
| Update model | Fresh records per Actor run |
| Pricing | $1.00 per 1,000 listings on the free plan |

### Coverage and available records

A place search returns the listings Krogsveen sends. The stored Oslo apartment search includes Hovseterveien 84D, 0768 Oslo, local area Hovseter, type Andelsleilighet, suggested price 3750000.

Set scrapeDetails to charge detailed-listing. Set includeContactInfo to charge broker-info. The example does not copy a broker name or phone. maxItems limits listings. The Actor does not enquire.

### Data dictionary

| Field | Type | Nullable | Description | Example |
|---|---|---:|---|---|
| id | string | no | Listing id. Use this field to deduplicate. | C2C9E113-269E-4BF3-869F-ACC270E1B1F5 |
| url | string | yes | Listing URL. | https://www.krogsveen.no/kjope/boliger-til-salgs/C2C9E113-269E-4BF3-869F-ACC270E1B1F5 |
| streetAddress | string | yes | Street address. | Hovseterveien 84D |
| postalCode | string | yes | Postal code. | 0768 |
| postalName | string | yes | Postal place. | OSLO |
| localAreaName | string | yes | Local area. | Hovseter |
| propertyType | string | yes | Property type. | Andelsleilighet |
| ownershipType | string | yes | Ownership type. | Andel |
| priceSuggestion | number | yes | Suggested price. | 3750000 |

### Example dataset record

```json
{
  "id": "C2C9E113-269E-4BF3-869F-ACC270E1B1F5",
  "streetAddress": "Hovseterveien 84D",
  "postalCode": "0768",
  "postalName": "OSLO",
  "localAreaName": "Hovseter",
  "propertyType": "Andelsleilighet",
  "ownershipType": "Andel",
  "priceSuggestion": 3750000
}
```

This is a stored Oslo listing. Broker contact fields are not copied into this example.

### Query and input reference

| Input | Type | Required | Default | Accepted values | Description |
|---|---|---:|---|---|---|
| searchQueries | array | no | empty | place names | Places to search. |
| propertyTypes | array | no | empty | type names | Property types. |
| maxPrice | integer | no | empty | number | Price ceiling. |
| scrapeDetails | boolean | no | false | true or false | Charge detailed-listing. |
| includeContactInfo | boolean | no | false | true or false | Charge broker-info. |
| maxItems | integer | no | schema default | integer | Listing cap. |
| proxyConfiguration | object | no | Apify residential | Apify proxy input | Optional proxy. |

Minimal request:

```json
{"searchQueries": ["Oslo"], "propertyTypes": ["leilighet"], "maxItems": 5}
```

### Retrieve the data through the API

Start the Actor with JSON input, wait for the run, then read the default dataset.

```python
from apify_client import ApifyClient

client = ApifyClient("<YOUR_API_TOKEN>")
run = client.actor("datascrapers/krogsveen-no-scraper").call(run_input={
    "searchQueries": ["Oslo"],
    "propertyTypes": ["leilighet"],
    "maxItems": 5,
})
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item.get("id"), item.get("priceSuggestion"))
```

### Data quality and record handling

Deduplicate on id. priceSuggestion is the figure on the listing. A later run can show a new price for the same id. Broker fields stay absent unless includeContactInfo is true.

### Pricing and cost examples

Pay per event. On Free, Bronze, Silver, and Gold, dataset-item is $1.00, $0.90, $0.80, and $0.70 per 1,000. detailed-listing and broker-info are $2.00, $1.80, $1.60, and $1.40 per 1,000. Platinum and Diamond use the Gold price. Apify platform usage is billed separately. Saving 1,000 listings without extras costs $1.00 on Free, plus platform usage.

### Limitations and responsible data use

The Actor reads public listings. It does not contact a broker. Krogsveen can change a price or withhold a search. Use the data in line with Krogsveen terms.

### Dataset questions

#### What is one record?

One listing, keyed by id.

#### Which field should I use to deduplicate?

id.

#### When is broker-info charged?

When includeContactInfo is true and the contact is saved.

### Related datasets from Data Scrapers

- [RE/MAX Germany Scraper](https://apify.com/datascrapers/remax-scraper)
- [Hemnet Scraper](https://apify.com/datascrapers/hemnet-se-scraper)
- [Savills Property Scraper](https://apify.com/datascrapers/savills-scraper)
- [HAR.com Scraper](https://apify.com/datascrapers/har-com-scraper)

### Data Scrapers support

Questions about this dataset: stardustspotlight@gmail.com.

# Actor input Schema

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

Optional. Krogsveen search pages (with filters in the query string) or individual listing URLs, e.g. https://www.krogsveen.no/kjope/boliger-til-salgs?minPrice=0\&maxPrice=5000000\&propertyTypes=leilighet or https://www.krogsveen.no/kjope/boliger-til-salgs/<estate-id>. Prefer searchQueries/filters for agents; URLs are optional for power users.

## `listingType` (type: `string`):

Default search mode when not encoded in startUrls: homes for sale or for rent.

## `searchQueries` (type: `array`):

Free-text location or keyword phrases for Krogsveen search, e.g. "Oslo", "Bergen", "Lillestrøm". Passed to the site search API as phrases. Use instead of (or together with) startUrls.

## `minPrice` (type: `integer`):

Minimum asking price / rent in NOK (minPrice).

## `maxPrice` (type: `integer`):

Maximum asking price / rent in NOK (maxPrice).

## `minHabitableArea` (type: `integer`):

Minimum habitable area in square meters (minHabitableArea).

## `maxHabitableArea` (type: `integer`):

Maximum habitable area in square meters (maxHabitableArea).

## `bedrooms` (type: `integer`):

Minimum number of bedrooms (bedrooms).

## `propertyTypes` (type: `array`):

Eiendomstype filter values used by Krogsveen search.

## `commissionStates` (type: `array`):

Commission states: ACTIVE (on market) and/or UPCOMING (coming soon). Defaults depend on listing type.

## `commissionTypes` (type: `array`):

Advanced. Override GraphQL commissionTypes (e.g. RESIDENTIAL_FOR_SALE, PROJECT_FOR_SALE, RESIDENTIAL_FOR_RENT).

## `ownershipTypes` (type: `array`):

Optional ownership type codes passed to the search API (ownershipTypes).

## `scrapeDetails` (type: `boolean`):

When enabled, fetches each listing’s full detail payload (description, all images, showings, documents, cadastre, department, etc.) and charges the detailed-listing event.

## `includeContactInfo` (type: `boolean`):

When enabled, extracts broker contact information (name, email, phone) from the listing detail and charges the broker-info event. Performs a detail fetch per listing.

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

Maximum number of listings to scrape (0 = unlimited).

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

Apify proxy settings. Residential proxies are recommended.

## Actor input object example

```json
{
  "startUrls": [
    {
      "url": "https://www.krogsveen.no/kjope/boliger-til-salgs"
    }
  ],
  "listingType": "sale",
  "searchQueries": [
    "Oslo"
  ],
  "scrapeDetails": false,
  "includeContactInfo": false,
  "maxItems": 50,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}
```

# Actor output Schema

## `results` (type: `string`):

Dataset containing scraped Krogsveen.no real-estate listings

## `runStats` (type: `string`):

Key-value store record with recordsScraped and run timestamps

# 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://www.krogsveen.no/kjope/boliger-til-salgs"
        }
    ],
    "searchQueries": [
        "Oslo"
    ],
    "maxItems": 50,
    "proxyConfiguration": {
        "useApifyProxy": true,
        "apifyProxyGroups": [
            "RESIDENTIAL"
        ]
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("datascrapers/krogsveen-no-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://www.krogsveen.no/kjope/boliger-til-salgs" }],
    "searchQueries": ["Oslo"],
    "maxItems": 50,
    "proxyConfiguration": {
        "useApifyProxy": True,
        "apifyProxyGroups": ["RESIDENTIAL"],
    },
}

# Run the Actor and wait for it to finish
run = client.actor("datascrapers/krogsveen-no-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://www.krogsveen.no/kjope/boliger-til-salgs"
    }
  ],
  "searchQueries": [
    "Oslo"
  ],
  "maxItems": 50,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}' |
apify call datascrapers/krogsveen-no-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,datascrapers/krogsveen-no-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/aXMfTDOWlMOfjmMPY/builds/6gftGsvdUW5BkrHh5/openapi.json
