# Norway Public Procurement Scraper (Doffin) (`publicmoney/doffin-norway-scraper`) Actor

Extract Norwegian public procurement notices from Doffin: competitions, results and planning notices with buyer, CPV, value, deadline, winners and full notice fields.

- **URL**: https://apify.com/publicmoney/doffin-norway-scraper.md
- **Developed by:** [Public Money](https://apify.com/publicmoney) (Apify)
- **Categories:** Business
- **Stats:** 1 total users, 0 monthly users, 100.0% runs succeeded, 1 bookmarks
- **User rating**: 5.00 out of 5 stars

## Pricing

from $1.00 / 1,000 tenders

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

This Actor reads **Doffin** (doffin.no), Norway's national database for public procurement notices: every notice published in a date range, from planning and competition notices to results, with buyer, CPV codes, estimated value, deadline, winners, tenders received, lots, the procurement timeline and every field of the published eForm.

### What it does

- **Notices by publication day**: 1,359 published in September 2026 when this was verified; 68 on 15 September.
- Notice types as Doffin names them: `ANNOUNCEMENT_OF_COMPETITION`, `ANNOUNCEMENT_OF_CONCLUSION_OF_CONTRACT`, `ANNOUNCEMENT_OF_INTENT`, `ADVISORY_NOTICE`, grouped under `PLANNING`, `COMPETITION` and `RESULT`.
- Result notices carry the winners and how many tenders were received.
- `noticeFields` holds the whole eForm as path/value pairs: procedure type, lots, award criteria, winners with organisation numbers, review body.
- **Filters** (applied by Doffin): keyword, notice type, status, contract nature, CPV code, location.

### Use cases

| You need to | How this Actor does it |
| --- | --- |
| Find open Norwegian tenders | `noticeType` `COMPETITION`, `status` `ACTIVE` |
| Track who wins contracts | `noticeType` `RESULT`, read `winners` and `tendersReceived` |
| Watch a market | `keyword`, e.g. renhold (cleaning), or `cpvCode` 45000000 |
| Work only on construction | `contractNature` `WORKS`: 276 in September 2026 |

### Input

| Field | Type | Default | What it controls |
| --- | --- | --- | --- |
| `dateFrom` | string | two days ago | First publication day |
| `dateTo` | string | today | Last publication day |
| `keyword` | string | empty | Doffin full-text search |
| `noticeType` | string | any | Notice type or group |
| `status` | string | any | `ACTIVE`, `EXPIRED`, `CANCELLED` |
| `contractNature` | string | any | `SERVICES`, `SUPPLIES`, `WORKS` |
| `cpvCode` | string | empty | CPV code, e.g. 45000000 |
| `location` | string | empty | NUTS code, e.g. NO081 (Oslo) |
| `fetchDetails` | boolean | `true` | Add CPV, winners, timeline and eForm fields |
| `maxItems` | integer | `500` | Caps how many notices are returned, and so the cost |

```json
{
    "dateFrom": "2026-09-01",
    "dateTo": "2026-09-30",
    "noticeType": "RESULT"
}
```

### Output

```json
{
    "id": "2026-115458",
    "title": "Rammeavtale elektrikertjenester samt drift og vedlikehold av veilys - ny utlysning",
    "buyer": "Vaksdal kommune",
    "noticeType": "ANNOUNCEMENT_OF_CONCLUSION_OF_CONTRACT",
    "allTypes": [
        "RESULT",
        "ANNOUNCEMENT_OF_CONCLUSION_OF_CONTRACT"
    ],
    "publicationDate": "2026-10-06",
    "estimatedValue": 20000000,
    "currency": "NOK",
    "winners": "Bravida Norge AS (hovedenhet)",
    "tendersReceived": 3,
    "cpvCodes": [
        "50000000",
        "31500000",
        "34928500",
        "34993000",
        "45310000",
        "45311000",
        "45315000",
        "45316000",
        "45316110",
        "45317000",
        "50232100",
        "50710000",
        "51110000",
        "31000000",
        "34000000",
        "34900000",
        "34920000",
        "34928000",
        "34990000",
        "45000000",
        "45300000",
        "45316100",
        "50200000",
        "50230000",
        "50232000",
        "50700000",
        "51000000",
        "51100000"
    ],
    "tedId": "686505-2026",
    "noticeUrl": "https://www.doffin.no/notices/2026-115458",
    "noticeFields": [
        {
            "path": "Kjøper > Offisielt navn",
            "value": "Vaksdal kommune"
        },
        {
            "path": "Kjøper > Juridisk type kjøper",
            "value": "Kommunale myndigheter"
        },
        {
            "path": "Kjøper > Oppdragsgivers virksomhet",
            "value": "Alminnelig offentlig tjenesteyting"
        }
    ]
}
```

### Coverage and limits

- Texts are in Norwegian, as published.
- Doffin pages through at most 1,000 hits per query; the Actor asks one day at a time, which stays well under that.
- Contact-point names, e-mails and phone numbers in the eForm are not included.

### Pricing

Pay per event: one `tender-scraper` event per notice written to the dataset. The optional schema.org block is charged once per run.

# Actor input Schema

## `dateFrom` (type: `string`):

First publication day, YYYY-MM-DD. Default: two days before today. September 2026 had 1,359 notices.

## `dateTo` (type: `string`):

Last publication day, inclusive, YYYY-MM-DD. Default: today.

## `keyword` (type: `string`):

Doffin's full-text search, e.g. 'renhold' (cleaning).

## `noticeType` (type: `string`):

Only notices of this type or group. Leave empty for all.

## `status` (type: `string`):

Competition status. Leave empty for all.

## `contractNature` (type: `string`):

Leave empty for all.

## `cpvCode` (type: `string`):

Eight-digit CPV code, e.g. '45000000' (construction work) or '79000000'. Several may be comma-separated.

## `location` (type: `string`):

NUTS code of the place of performance, e.g. 'NO081' (Oslo) or 'NO0A2' (Vestland). Several may be comma-separated.

## `fetchDetails` (type: `boolean`):

Reads each notice for CPV codes, TED id, winners, tenders received, lots, the procurement timeline and every eForm field.

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

Caps how many notices are written to the dataset, and so caps the cost. Set to 0 for everything matched.

## `schemaOrg` (type: `boolean`):

Appends a `schemaOrg` object to every record, mapping it to schema.org (Demand). Charged once per run, not per record.

## Actor input object example

```json
{
  "fetchDetails": true,
  "maxItems": 500,
  "schemaOrg": false
}
```

# Actor output Schema

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

Notices matched by the run, one item per notice, in the default dataset.

# 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 = {
    "maxItems": 500
};

// Run the Actor and wait for it to finish
const run = await client.actor("publicmoney/doffin-norway-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 = { "maxItems": 500 }

# Run the Actor and wait for it to finish
run = client.actor("publicmoney/doffin-norway-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 '{
  "maxItems": 500
}' |
apify call publicmoney/doffin-norway-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,publicmoney/doffin-norway-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/py5QmhARqBRiQ1Nac/builds/D56YyNoLPMjzOoc66/openapi.json
