# CVMarket.lv Scraper (`unfenced-group/cvmarket-lv-scraper`) Actor

Scrape job listings from CVMarket.lv, Latvia's leading job board. Extract titles, companies, locations, salaries, descriptions, and more.

- **URL**: https://apify.com/unfenced-group/cvmarket-lv-scraper.md
- **Developed by:** [Unfenced Group](https://apify.com/unfenced-group) (community)
- **Categories:** Jobs
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, NaN bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.49 / 1,000 results

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/platform/actors/running/actors-in-store#pay-per-event

## What's an Apify Actor?

Actors are a software tools running on the Apify platform, for all kinds of web data extraction and automation use cases.
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.

In JavaScript/TypeScript projects, use official [JavaScript/TypeScript client](https://docs.apify.com/api/client/js.md):

```bash
npm install apify-client
```

In Python projects, use official [Python client library](https://docs.apify.com/api/client/python.md):

```bash
pip install apify-client
```

In shell scripts, use [Apify CLI](https://docs.apify.com/cli/docs.md):

````bash
# MacOS / Linux
curl -fsSL https://apify.com/install-cli.sh | bash
# Windows
irm https://apify.com/install-cli.ps1 | iex
```bash

In AI frameworks, you might use the [Apify MCP server](https://docs.apify.com/platform/integrations/mcp.md).

If your project is in a different language, use 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

## CVMarket.lv Scraper

![CVMarket.lv Scraper](https://i.imgur.com/5RvrzMN.png)

Extract job listings from **CVMarket.lv**, Latvia's leading recruitment platform. Retrieve job titles, companies, locations, salaries, descriptions, and more — no account or API key required.

---

### Features

- **Keyword & location search** — filter by job title, skills, or city
- **Full job descriptions** — HTML, plain text, and Markdown formats
- **Salary data** — structured min/max/currency/period when publicly listed
- **Published & expiry dates** — for freshness filtering and daily feeds
- **Contract type & employment type** — full-time, part-time, employee, etc.
- **Cross-run deduplication** — 90-day memory prevents processing the same job twice
- **startUrls mode** — scrape specific job detail pages directly
- **Age filter** — restrict results to jobs posted within N days

---

### Input Parameters

| Parameter | Type | Default | Description |
|---|---|---|---|
| `searchQuery` | String | `""` | Keywords to search (e.g. `"programmētājs"`, `"grāmatvedis"`). Empty = all jobs. |
| `location` | String | `""` | City or region (e.g. `"Rīga"`, `"Jūrmala"`). Empty = all locations. |
| `maxResults` | Integer | `100` | Maximum number of results to return. |
| `fetchDetails` | Boolean | `true` | Fetch full description and dates from detail pages. Set `false` for fast list-only runs. |
| `skipReposts` | Boolean | `false` | Skip jobs already seen in a previous run (90-day memory). |
| `daysOld` | Integer | — | Return only jobs posted within this many days. Requires `fetchDetails: true`. |
| `startUrls` | Array | `[]` | Specific CVMarket.lv job URLs to scrape directly, bypassing search. |

---

### Output Schema

Each result contains the following fields:

#### Always present

| Field | Type | Description |
|---|---|---|
| `id` | String | Unique job ID from CVMarket.lv |
| `url` | String | Full URL of the job listing |
| `title` | String | Job title |
| `company` | String | Company name |
| `location` | String | City or region |
| `contractType` | String | e.g. `"Full-time"`, `"Part-time"` |
| `employmentType` | String | e.g. `"Employee"` |
| `category` | String | Job category/industry |
| `source` | String | Always `"cvmarket.lv"` |
| `scrapedAt` | String | ISO timestamp of when the item was scraped |
| `contentHash` | String | 16-char MD5 fingerprint for change detection |
| `summary` | String | Short excerpt (≤200 chars) |
| `isRepost` | Boolean | `true` if seen in a previous run |
| `originalPublishDate` | String\|null | Date first seen (when `isRepost: true`) |
| `originalUrl` | String\|null | Original URL (when `isRepost: true`) |

#### With `fetchDetails: true`

| Field | Type | Description |
|---|---|---|
| `publishDate` | String | Publication date (`YYYY-MM-DD`) |
| `publishDateISO` | String | Same as `publishDate` |
| `expiresDate` | String\|null | Listing expiry date (`YYYY-MM-DD`) |
| `salaryRaw` | String\|null | Raw salary text (e.g. `"No 1900 €/mēn."`) |
| `salaryMin` | Integer\|null | Minimum salary amount |
| `salaryMax` | Integer\|null | Maximum salary amount |
| `salaryCurrency` | String\|null | Currency code (e.g. `"EUR"`) |
| `salaryPeriod` | String\|null | `"MONTH"`, `"HOUR"`, or `"YEAR"` |
| `workSchedule` | String\|null | e.g. `"shift work"`, `"flexible"` |
| `descriptionHtml` | String\|null | Full job description as raw HTML |
| `descriptionText` | String\|null | Full description as plain text |
| `descriptionMarkdown` | String\|null | Full description as Markdown |

#### Example output

```json
{
  "id": "1645408",
  "url": "https://www.cvmarket.lv/remontatsledznieks-ce-latvijas-finieris-as-1645408",
  "title": "Remontatslēdznieks/-ce",
  "company": "AS \"Latvijas Finieris\"",
  "location": "Rīga",
  "publishDate": "2026-04-24",
  "publishDateISO": "2026-04-24",
  "expiresDate": "2026-05-24",
  "salaryRaw": "No 1900 €/mēn.",
  "salaryMin": 1900,
  "salaryMax": null,
  "salaryCurrency": "EUR",
  "salaryPeriod": "MONTH",
  "contractType": "Full-time",
  "employmentType": "Employee",
  "category": "Manufacturing / Production, Mechanics / Engineering",
  "workSchedule": "shift work",
  "descriptionHtml": "<div>...</div>",
  "descriptionText": "Veikt siltuma un ķīmisko iekārtu montāžas...",
  "descriptionMarkdown": "### Job Description\n\nVeikt siltuma...",
  "source": "cvmarket.lv",
  "scrapedAt": "2026-04-24T17:00:00.000Z",
  "contentHash": "a1b2c3d4e5f60000",
  "summary": "No 1900 €/mēn. Darbs rūpnīcā Lignums.",
  "isRepost": false,
  "originalPublishDate": null,
  "originalUrl": null
}
````

***

### Usage Examples

#### 1 — All IT jobs in Riga

```json
{
  "searchQuery": "programmētājs",
  "location": "Rīga",
  "maxResults": 200,
  "fetchDetails": true
}
```

#### 2 — Daily feed of new jobs (last 24 hours)

```json
{
  "maxResults": 500,
  "fetchDetails": true,
  "daysOld": 1,
  "skipReposts": true
}
```

#### 3 — Fast list-only run (no detail pages)

```json
{
  "searchQuery": "grāmatvedis",
  "maxResults": 500,
  "fetchDetails": false
}
```

#### 4 — Scrape specific job URLs

```json
{
  "startUrls": [
    { "url": "https://www.cvmarket.lv/programmētājs-company-1234567" },
    { "url": "https://www.cvmarket.lv/grāmatvedis-company-7654321" }
  ]
}
```

***

### Pricing

**$1.49 per 1,000 results** (Pay-Per-Event pricing).

A typical run retrieving 1,000 jobs with `fetchDetails: true` costs approximately **$1.49**. List-only runs (`fetchDetails: false`) cost the same per result but run significantly faster.

***

### Performance

| Mode | Speed | Memory |
|---|---|---|
| `fetchDetails: true` | ~80–120 jobs/min | 512 MB |
| `fetchDetails: false` | ~300–400 jobs/min | 512 MB |

CVMarket.lv has no anti-bot measures for standard browsing — no proxy is required.

***

*Data sourced from publicly available listings on CVMarket.lv. For enterprise data feeds or custom integrations, contact unfenced-group via the Apify Store.*

# Actor input Schema

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

Keywords to search for (e.g. 'programmētājs', 'grāmatvedis'). Leave empty to retrieve all jobs.

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

City or region to filter by (e.g. 'Rīga', 'Jūrmala'). Leave empty for all locations.

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

Maximum number of job listings to return. Increase for full-market feeds.

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

Fetch full job description, salary, and published date from each detail page. Recommended: true. Set false for fast list-only runs.

## `skipReposts` (type: `boolean`):

Skip jobs already seen in previous runs (cross-run deduplication with 90-day memory).

## `daysOld` (type: `integer`):

Only return jobs posted within this many days. Leave empty for no age filter. Requires fetchDetails to be true.

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

Optional list of specific CVMarket.lv job detail URLs to scrape directly (bypasses search).

## Actor input object example

```json
{
  "searchQuery": "",
  "location": "",
  "maxResults": 100,
  "fetchDetails": true,
  "skipReposts": false,
  "startUrls": []
}
```

# Actor output Schema

## `OUTPUT` (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 = {};

// Run the Actor and wait for it to finish
const run = await client.actor("unfenced-group/cvmarket-lv-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 = {}

# Run the Actor and wait for it to finish
run = client.actor("unfenced-group/cvmarket-lv-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{}' |
apify call unfenced-group/cvmarket-lv-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=unfenced-group/cvmarket-lv-scraper",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "CVMarket.lv Scraper",
        "description": "Scrape job listings from CVMarket.lv, Latvia's leading job board. Extract titles, companies, locations, salaries, descriptions, and more.",
        "version": "0.0",
        "x-build-id": "Bri3gRCiUqHptlTJh"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/unfenced-group~cvmarket-lv-scraper/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-unfenced-group-cvmarket-lv-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        },
        "/acts/unfenced-group~cvmarket-lv-scraper/runs": {
            "post": {
                "operationId": "runs-sync-unfenced-group-cvmarket-lv-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor and returns information about the initiated run in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/runsResponseSchema"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/acts/unfenced-group~cvmarket-lv-scraper/run-sync": {
            "post": {
                "operationId": "run-sync-unfenced-group-cvmarket-lv-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        }
    },
    "components": {
        "schemas": {
            "inputSchema": {
                "type": "object",
                "properties": {
                    "searchQuery": {
                        "title": "Search query",
                        "type": "string",
                        "description": "Keywords to search for (e.g. 'programmētājs', 'grāmatvedis'). Leave empty to retrieve all jobs.",
                        "default": ""
                    },
                    "location": {
                        "title": "Location",
                        "type": "string",
                        "description": "City or region to filter by (e.g. 'Rīga', 'Jūrmala'). Leave empty for all locations.",
                        "default": ""
                    },
                    "maxResults": {
                        "title": "Max results",
                        "minimum": 1,
                        "type": "integer",
                        "description": "Maximum number of job listings to return. Increase for full-market feeds.",
                        "default": 100
                    },
                    "fetchDetails": {
                        "title": "Fetch detail pages",
                        "type": "boolean",
                        "description": "Fetch full job description, salary, and published date from each detail page. Recommended: true. Set false for fast list-only runs.",
                        "default": true
                    },
                    "skipReposts": {
                        "title": "Skip reposts",
                        "type": "boolean",
                        "description": "Skip jobs already seen in previous runs (cross-run deduplication with 90-day memory).",
                        "default": false
                    },
                    "daysOld": {
                        "title": "Max age (days)",
                        "type": "integer",
                        "description": "Only return jobs posted within this many days. Leave empty for no age filter. Requires fetchDetails to be true."
                    },
                    "startUrls": {
                        "title": "Start URLs",
                        "type": "array",
                        "description": "Optional list of specific CVMarket.lv job detail URLs to scrape directly (bypasses search).",
                        "default": [],
                        "items": {
                            "type": "object",
                            "required": [
                                "url"
                            ],
                            "properties": {
                                "url": {
                                    "type": "string",
                                    "title": "URL of a web page",
                                    "format": "uri"
                                }
                            }
                        }
                    }
                }
            },
            "runsResponseSchema": {
                "type": "object",
                "properties": {
                    "data": {
                        "type": "object",
                        "properties": {
                            "id": {
                                "type": "string"
                            },
                            "actId": {
                                "type": "string"
                            },
                            "userId": {
                                "type": "string"
                            },
                            "startedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "finishedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "status": {
                                "type": "string",
                                "example": "READY"
                            },
                            "meta": {
                                "type": "object",
                                "properties": {
                                    "origin": {
                                        "type": "string",
                                        "example": "API"
                                    },
                                    "userAgent": {
                                        "type": "string"
                                    }
                                }
                            },
                            "stats": {
                                "type": "object",
                                "properties": {
                                    "inputBodyLen": {
                                        "type": "integer",
                                        "example": 2000
                                    },
                                    "rebootCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "restartCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "resurrectCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "computeUnits": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "options": {
                                "type": "object",
                                "properties": {
                                    "build": {
                                        "type": "string",
                                        "example": "latest"
                                    },
                                    "timeoutSecs": {
                                        "type": "integer",
                                        "example": 300
                                    },
                                    "memoryMbytes": {
                                        "type": "integer",
                                        "example": 1024
                                    },
                                    "diskMbytes": {
                                        "type": "integer",
                                        "example": 2048
                                    }
                                }
                            },
                            "buildId": {
                                "type": "string"
                            },
                            "defaultKeyValueStoreId": {
                                "type": "string"
                            },
                            "defaultDatasetId": {
                                "type": "string"
                            },
                            "defaultRequestQueueId": {
                                "type": "string"
                            },
                            "buildNumber": {
                                "type": "string",
                                "example": "1.0.0"
                            },
                            "containerUrl": {
                                "type": "string"
                            },
                            "usage": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "integer",
                                        "example": 1
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "usageTotalUsd": {
                                "type": "number",
                                "example": 0.00005
                            },
                            "usageUsd": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "number",
                                        "example": 0.00005
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
