# GitLab Projects & Open Issues Intelligence Scraper (`slavako/gitlab-projects-issues-scraper`) Actor

Scrape open-source GitLab repositories, public projects, star counts, fork velocity, and issue tracking discussions. Fast zero-cost HTTP engine.

- **URL**: https://apify.com/slavako/gitlab-projects-issues-scraper.md
- **Developed by:** [Sviatoslav](https://apify.com/slavako) (community)
- **Categories:** Developer tools, Automation, AI
- **Features:** Limited permissions, Single-tenant, Server interface
- **Stats:** 1 total users, 0 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.00 / 1,000 project records

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.

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

## GitLab Projects & Open Issues Intelligence Scraper

Fast, reliable, zero-cost GitLab repositories, public projects, star metrics, and open issue tracking discussions extractor. Monitor open-source activity, identify top contributors, extract issue bugs and feature requests directly through GitLab's public REST API without personal access tokens or paid proxies.

***

### Features

- **Official GitLab REST API:** Queries official GitLab v4 public endpoints for 100% verified repository data.
- **Project Search & Direct Lookup:** Search by topic/keyword (e.g. `kubernetes`, `llm`, `devops`) or lookup exact project paths (`gitlab-org/gitlab`).
- **Open Issues & Discussions:** Scrapes recent open issues, submitter usernames, discussion counts, and direct issue URLs.
- **Pay-Per-Event (PPE) Monetization:** Pay only for the projects and issues you inspect. Zero subscription overhead.
- **Standby Mode & MCP Server Ready:** Can be queried as an active web server or Model Context Protocol tool via `/mcp` or `/api/projects`.

***

### Use Cases

1. **Open-Source Intelligence (OSINT):** Track star counts, fork velocity, and development activity across GitLab repositories.
2. **Developer Tool Competitor Research:** Extract customer bug reports, feature requests, and user feedback from competitor issue trackers.
3. **Tech Lead Generation:** Sourcing active open-source contributors, maintainers, and issue submitters.
4. **AI Agent Code Search:** Feed structured GitLab repositories and active discussions directly into LLM RAG pipelines.

***

### Input Parameters

| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
| `searchQuery` | String | Yes | `"gitlab-org/gitlab"` | Keyword search or exact project path (`namespace/project`). |
| `fetchIssues` | Boolean | No | `true` | Extract recent open issues and author discussions. |
| `maxProjects` | Integer | No | `5` | Maximum number of projects to return (1 to 30). |
| `maxIssuesPerProject` | Integer | No | `5` | Maximum recent issues to fetch per project (1 to 20). |

***

### Output Data Structure

Each extracted repository produces a structured JSON record in your Apify dataset:

```json
{
  "projectId": 278964,
  "name": "GitLab",
  "nameWithNamespace": "GitLab.org / GitLab",
  "description": "GitLab is an open source end-to-end software development platform.",
  "webUrl": "https://gitlab.com/gitlab-org/gitlab",
  "starCount": 26800,
  "forksCount": 6300,
  "lastActivityAt": "2026-11-21T18:00:00.000Z",
  "topics": ["devops", "git", "ci-cd"],
  "recentIssues": [
    {
      "title": "Slack agent context handling improvements",
      "author": "bill_staples",
      "createdAt": "2026-11-21T16:38:44.584Z",
      "webUrl": "https://gitlab.com/gitlab-org/gitlab/-/work_items/641855",
      "state": "opened",
      "userNotesCount": 2
    }
  ],
  "scrapedAt": "2026-11-21T18:00:00.000Z"
}
```

***

### Pay-Per-Event (PPE) Pricing

| Event | Price (USD) | Description |
|---|---|---|
| `apify-actor-start` | $0.003 | Billed once per scraping run |
| `apify-default-dataset-item` | $0.001 | Billed per GitLab project record saved |
| `gitlab-issues-enriched` | $0.002 | Billed per project with open issue discussions |

***

### Standby / MCP Server Usage

When deployed in Standby mode, query projects directly:

```bash
curl "https://gitlab-projects-issues-scraper.apify.actor/api/projects?query=gitlab-org/gitlab&issues=true&limit=3"
```

# Actor input Schema

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

Search keyword (e.g. 'kubernetes', 'llm', 'rust') or exact project slug/ID (e.g. 'gitlab-org/gitlab').

## `fetchIssues` (type: `boolean`):

Extract recent open issues, submitters, and discussion links.

## `maxProjects` (type: `integer`):

Maximum number of projects to return (1 to 30).

## `maxIssuesPerProject` (type: `integer`):

Maximum number of recent issues to fetch per project (1 to 20).

## Actor input object example

```json
{
  "searchQuery": "gitlab-org/gitlab",
  "fetchIssues": true,
  "maxProjects": 5,
  "maxIssuesPerProject": 5
}
```

# Actor output Schema

## `dataset` (type: `string`):

Extracted GitLab public repositories, star counts, fork stats, and open issues.

# 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": "gitlab-org/gitlab"
};

// Run the Actor and wait for it to finish
const run = await client.actor("slavako/gitlab-projects-issues-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": "gitlab-org/gitlab" }

# Run the Actor and wait for it to finish
run = client.actor("slavako/gitlab-projects-issues-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": "gitlab-org/gitlab"
}' |
apify call slavako/gitlab-projects-issues-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,slavako/gitlab-projects-issues-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/xN8kaMksNKdLYmUFK/builds/7VJ62whnFztMOZvhQ/openapi.json
