# Udbud.dk Scraper — Danish Public Procurement Tenders (`studio-amba/udbud-dk-scraper`) Actor

Search and extract Danish public procurement tenders from udbud.dk, Denmark's official national tender portal. Filter by keyword, status, or sort order. Returns tender details, buyer info, deadlines, estimated value, and CPV codes. No API key, no cookies, no login required.

- **URL**: https://apify.com/studio-amba/udbud-dk-scraper.md
- **Developed by:** [Studio Amba](https://apify.com/studio-amba) (community)
- **Categories:** Business, Lead generation
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.20 / 1,000 result scrapeds

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?

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

## Danish Public Procurement Scraper — Udbud.dk Tenders

Search and extract Danish public procurement tenders from udbud.dk, the official national tender portal operated by Konkurrence- og Forbrugerstyrelsen (the Danish Competition and Consumer Authority). Filter by keyword or status. Returns tender title, buyer, deadline, estimated value, CPV codes, NUTS region, and buyer contact info. No API key, no cookies, no login required.

### How to scrape Udbud.dk data

This actor calls udbud.dk's own public search API directly — the same JSON endpoint the site's search page uses — rather than parsing rendered HTML. All Danish public bodies are required to publish procurement notices on udbud.dk, including notices below the EU publication threshold that never reach TED (Tenders Electronic Daily), making it the most complete source for Danish government contract opportunities: municipalities, regions, state agencies, universities, and hospitals.

Enter your search keywords (Danish works best — the source site is Danish), pick a status filter, and run. The actor pulls the search result list, then optionally fetches each tender's notice page to add the NUTS region and buyer contact details that aren't in the list view.

#### Who benefits from this data?

- **Government contractors** — Monitor new procurement opportunities daily across Danish municipalities (kommuner), regions, and state agencies. Never miss a relevant tender in your industry.
- **Market researchers** — Analyze Danish public spending patterns, procurement volumes, and contract award trends across sectors and regions.
- **B2B sales teams** — Identify which Danish public bodies are buying what you sell. Build targeted prospect lists across the Danish public procurement market.
- **Consultancies and advisory firms** — Track procurement activity by CPV category or region to advise clients on Danish market entry and bidding strategy.
- **Compliance and legal teams** — Monitor competitor contract awards and verify procurement procedural compliance.
- **EU/EEA market intelligence** — Larger Danish tenders above EU thresholds are also cross-published on TED; udbud.dk additionally carries the below-threshold national notices that TED never sees.

#### Search by keyword

Enter any keyword to find relevant tenders. The search matches against the tender title and description. Examples: "IT konsulent", "rengøring" (cleaning), "byggeri" (construction), "konsulentydelser" (consultancy services), "vedligeholdelse" (maintenance).

#### Filter by status

- **Active only** — tenders currently open, in evaluation, or otherwise live right now
- **All** — includes closed, awarded, and archived notices too (competitor and market-history intelligence)

#### Sort order

Sort by publication date (newest first, good for daily monitoring), submission deadline (soonest-closing first), or relevance (only meaningful when a keyword is set).

#### Region and contact enrichment

With `fetchRegionAndContact` on (the default), the actor makes one extra request per tender to pull the NUTS region code and the buyer's published email/phone, when available. Turn it off for a much faster run if you only need the list-level fields.

### Input parameters

| Parameter | Type | Default | Description |
|-----------|------|---------|-------------|
| `searchQuery` | String | `IT konsulent` | Free-text search matched against tender title and description (Danish keywords work best) |
| `udbudStatus` | Enum | `active` | `active` (open/live only) or `all` (incl. closed/awarded/archived) |
| `sortBy` | Enum | `publicationDate` | `publicationDate`, `deadline`, or `relevance` |
| `sortDirection` | Enum | `desc` | `desc` (newest/soonest first) or `asc` |
| `fetchRegionAndContact` | Boolean | `true` | Fetch NUTS region + buyer contact per tender (one extra request each) |
| `maxResults` | Integer | `50` | Maximum number of tenders to return (1–5,000) |
| `proxyConfiguration` | Object | Apify proxy | Apify proxy settings |

### What data does this scraper extract?

| Field | Type | Description |
|-------|------|--------------|
| `itemTitle` | String | Tender title |
| `referenceNumber` | String | udbud.dk notice ID |
| `organization` | String | Buyer (contracting authority) name |
| `status` | String | Competition, Result, Planning, Direct award preannouncement, Contract modification |
| `publicationDate` | String | Date the notice was published (ISO `YYYY-MM-DD`) |
| `deadline` | String | Bid submission deadline (ISO datetime), when open |
| `estimatedValue` | String | Estimated contract value |
| `currency` | String | `DKK` or `EUR`, as published |
| `category` | String | CPV classification title |
| `cpvCodes` | Array | CPV classification code + description |
| `region` | String | NUTS region name and code, e.g. `Østjylland (DK042)` |
| `itemDescription` | String | Full tender description |
| `contactInfo` | Object | Buyer contact e-mail / phone, when published |
| `url` | String | Direct link to the tender on udbud.dk |
| `scrapedAt` | String | ISO timestamp of when the data was scraped |
| `buyerCvr` | String | Buyer's Danish CVR (company registration) number |
| `coBuyers` | Array | Other public bodies named as co-buyers on a joint procurement |
| `isAmendment` | Boolean | `true` if this notice amends an earlier one |

### Example output

```json
{
    "itemTitle": "EIT Water - Think Tank Foresight Paper",
    "referenceNumber": "0ab400b4-c0e0-45c7-97f7-da798c918b9b",
    "organization": "Aarhus Universitet",
    "status": "Competition",
    "publicationDate": "2026-08-31",
    "deadline": "2026-09-11T08:00:00Z",
    "estimatedValue": "50000",
    "currency": "EUR",
    "category": "Research and development services and related consultancy services",
    "cpvCodes": [
        { "code": "73000000", "description": "Research and development services and related consultancy services" }
    ],
    "region": "Østjylland (DK042)",
    "itemDescription": "Open procedure regarding the procurement of consultancy services for a Think Tank foresight paper for Aarhus University on behalf of EIT Water.",
    "contactInfo": { "E-mail": "mane@au.dk", "Telefon": "93522402" },
    "url": "https://udbud.dk/detaljevisning?noticeId=0ab400b4-c0e0-45c7-97f7-da798c918b9b&noticeVersion=01&noticePublicationNumber=",
    "scrapedAt": "2026-08-31T14:09:50.612Z",
    "buyerCvr": "31119103",
    "coBuyers": [],
    "isAmendment": false
}
```

### Tips for best results

- **Daily monitoring**: Run on a schedule with `udbudStatus: "active"` and `sortBy: "publicationDate"` to catch new tenders within hours of publication.
- **Danish keywords**: The search matches native Danish text — English keywords will miss most results. Use "rengøring" not "cleaning", "byggeri" not "construction".
- **Competitor intelligence**: Switch `udbudStatus` to `all` and search for competitor names or specific service descriptions to track what contracts they're pursuing or winning.
- **Combine with TED**: For full EU procurement coverage, pair this actor with our TED actor. Larger Danish tenders above EU thresholds appear on both udbud.dk and TED; udbud.dk alone additionally carries the below-threshold national-only notices.
- **Turn off enrichment for speed**: If you only need title, buyer, deadline, and value, disable `fetchRegionAndContact` to roughly halve the run time.

### How much does it cost to run?

The udbud.dk data source is free and requires no login. Your only cost is Apify compute time and proxy usage. With region/contact enrichment on, each tender requires one extra request, so run time scales roughly linearly with `maxResults`.

| Search size | Estimated time | Estimated cost |
|-------------|---------------|----------------|
| 20 tenders | ~15 seconds | ~$0.01 (~$0.0005 per result) |
| 100 tenders | ~1 minute | ~$0.04 (~$0.0004 per result) |
| 500 tenders | ~5 minutes | ~$0.15 (~$0.0003 per result) |

Actual cost depends on Apify plan and proxy usage; a run's final usage cost only settles after the run reports SUCCEEDED — reading the dataset mid-run will undercount it.

### Use as an API

```python
from apify_client import ApifyClient

client = ApifyClient("YOUR_API_TOKEN")

run = client.actor("studio-amba/udbud-dk-scraper").call(run_input={
    "searchQuery": "byggeri",
    "udbudStatus": "active",
    "maxResults": 50,
})

for tender in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(f"{tender['itemTitle']} | {tender['organization']} | Deadline: {tender['deadline']}")
```

### Limitations

- **Search is in Danish**: udbud.dk is a Danish-language portal; the free-text search matches native Danish terms, not translated English equivalents.
- **Estimated value often absent**: like most EU procurement portals, not every notice discloses a contract value before award (roughly 70% do, based on live sampling).
- **Region/contact enrichment is best-effort**: it's pulled from the notice's eForms detail markup, which is the piece of the site most likely to change; a miss on a single tender never fails the run.
- **100 results per search page**: pagination is handled automatically, but very large `maxResults` values mean more requests and longer run times.

### Other European procurement scrapers

Check the [Studio AMBA actor catalog](https://apify.com/studio-amba) for more European public procurement data, including eTenders (Ireland), DOFFIN (Norway), TenderNed (Netherlands), TED (EU-wide), and Belgian public procurement.

### Your feedback

Found a bug or want a feature? Open an issue on the [Issues tab](https://console.apify.com/actors/studio-amba~udbud-dk-scraper/issues).

# Actor input Schema

## `searchQuery` (type: `string`):

Free-text search matched against tender title and description. Danish keywords work best (the source site is Danish). Examples: 'IT konsulent', 'rengøring', 'byggeri', 'konsulentydelser'.

## `udbudStatus` (type: `string`):

'Active' returns only currently open/active notices. 'All' includes closed, awarded, and archived notices too.

## `sortBy` (type: `string`):

How results are ordered.

## `sortDirection` (type: `string`):

Sort order applied to the sortBy field.

## `fetchRegionAndContact` (type: `boolean`):

When enabled, the actor makes one extra request per tender to the notice detail page to extract the NUTS region and buyer contact (email/phone). Slower but richer output. When disabled, those two fields are left blank and the run is much faster.

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

Maximum number of tenders to return.

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

Apify proxy configuration.

## Actor input object example

```json
{
  "searchQuery": "IT konsulent",
  "udbudStatus": "active",
  "sortBy": "publicationDate",
  "sortDirection": "desc",
  "fetchRegionAndContact": true,
  "maxResults": 20,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

## `results` (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 = {
    "searchQuery": "IT konsulent",
    "maxResults": 20,
    "proxyConfiguration": {
        "useApifyProxy": true
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("studio-amba/udbud-dk-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 = {
    "searchQuery": "IT konsulent",
    "maxResults": 20,
    "proxyConfiguration": { "useApifyProxy": True },
}

# Run the Actor and wait for it to finish
run = client.actor("studio-amba/udbud-dk-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 '{
  "searchQuery": "IT konsulent",
  "maxResults": 20,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}' |
apify call studio-amba/udbud-dk-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,studio-amba/udbud-dk-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/bgRGqaDZnaL17L6Kx/builds/hl5fhL4uoBnYe3xV1/openapi.json
