{
  "openapi": "3.0.1",
  "info": {
    "title": "GitLab Scraper · Projects, Stars, Issues & Namespaces",
    "description": "Scrape public GitLab projects, repositories, star counts, topics, programming languages, and namespaces without authentication. Returns clean structured metadata with total coverage.",
    "version": "1.0",
    "x-build-id": "aTrBIP0wwfQDCSPyP"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/reapx~gitlab-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-reapx-gitlab-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/reapx~gitlab-scraper/runs": {
      "post": {
        "operationId": "runs-sync-reapx-gitlab-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/reapx~gitlab-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-reapx-gitlab-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": {
          "search": {
            "title": "Search Query",
            "type": "string",
            "description": "Search query term to filter GitLab projects by name, description, or namespace path (e.g., <code>devops</code> or <code>cli</code>).<br><br><b>Consequence:</b> Broader searches return more project records, taking longer and consuming more budget.<br><br><b>If empty:</b> Returns public projects without text search constraints.<br><br>Leave this field empty to skip this filter."
          },
          "topic": {
            "title": "Topic Tag",
            "type": "string",
            "description": "Filter projects by a specific GitLab topic tag (e.g., <code>kubernetes</code> or <code>machine-learning</code>).<br><br><b>Consequence:</b> Specific topic filters narrow results to targeted technology domains.<br><br><b>If empty:</b> Does not filter projects by topic tag.<br><br>Leave this field empty to skip this filter."
          },
          "language": {
            "title": "Programming Language",
            "type": "string",
            "description": "Filter projects written in a primary programming language (e.g., <code>Python</code>, <code>TypeScript</code>, or <code>Rust</code>).<br><br><b>Consequence:</b> Filters out projects written in other programming languages.<br><br><b>If empty:</b> Includes projects across all programming languages.<br><br>Leave this field empty to skip this filter."
          },
          "minStars": {
            "title": "Minimum Stars",
            "minimum": 0,
            "type": "integer",
            "description": "Minimum number of stars a GitLab project must have received (e.g., <code>50</code> or <code>500</code>).<br><br><b>Consequence:</b> Higher minimum star counts restrict results to established popular repositories.<br><br><b>If empty:</b> No minimum star count constraint is enforced."
          },
          "maxStars": {
            "title": "Maximum Stars",
            "minimum": 0,
            "type": "integer",
            "description": "Maximum number of stars a GitLab project may have received (e.g., <code>5000</code>).<br><br><b>Consequence:</b> Restricts results to mid-tier or emerging repositories.<br><br><b>If empty:</b> No maximum star count ceiling is enforced.<br><br>The higher the number, the longer the run takes and the more you are charged, because you pay per row returned."
          },
          "visibility": {
            "title": "Visibility Level",
            "enum": [
              "public",
              "internal",
              "private"
            ],
            "type": "string",
            "description": "Visibility level of the project. Options include <code>public</code>, <code>internal</code>, or <code>private</code>.<br><br><b>Consequence:</b> Unauthenticated REST calls access public projects.<br><br><b>If empty:</b> Defaults to fetching public projects."
          },
          "orderBy": {
            "title": "Sort Field",
            "enum": [
              "star_count",
              "last_activity_at",
              "created_at",
              "updated_at",
              "name",
              "id"
            ],
            "type": "string",
            "description": "Order projects by a specific field such as <code>star_count</code>, <code>last_activity_at</code>, or <code>created_at</code>.<br><br><b>Consequence:</b> Controls the sequence of scraped project records.<br><br><b>If empty:</b> Sorts by <code>star_count</code> by default."
          },
          "sort": {
            "title": "Sort Direction",
            "enum": [
              "desc",
              "asc"
            ],
            "type": "string",
            "description": "Sort direction for ordered results: <code>desc</code> for descending (highest first) or <code>asc</code> for ascending.<br><br><b>Consequence:</b> Determines whether highest or lowest values appear first.<br><br><b>If empty:</b> Sorts in descending order."
          },
          "maxItems": {
            "title": "Maximum Projects to Scrape",
            "minimum": 1,
            "maximum": 5000,
            "type": "integer",
            "description": "Maximum number of project records to fetch and push to the dataset (between 1 and 5000).<br><br><b>Consequence:</b> Higher limits take longer to execute and consume more event budget.<br><br><b>If empty:</b> Defaults to 50 projects for fast execution.<br><br>The higher the number, the longer the run takes and the more you are charged, because you pay per row returned.",
            "default": 50
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}