# G2 CRM categories scraper task

**Use case:** 

Extract CRM category names, parent categories, URLs, IDs, and hierarchy metadata from the public G2 directory.

## Input

```json
{
  "startUrls": [
    {
      "url": "https://www.g2.com/categories"
    }
  ],
  "searchTerms": [
    "CRM"
  ],
  "maxItems": 100,
  "includePopularCategories": true,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

## Output

```json
{
  "recordType": {
    "label": "Record type"
  },
  "categoryName": {
    "label": "Category"
  },
  "parentCategory": {
    "label": "Parent category"
  },
  "categoryUrl": {
    "label": "Category URL",
    "format": "link"
  },
  "hierarchyLevel": {
    "label": "Depth"
  },
  "categoryId": {
    "label": "G2 category ID"
  },
  "productName": {
    "label": "Product"
  },
  "productUrl": {
    "label": "Product URL",
    "format": "link"
  },
  "matchedSearchTerm": {
    "label": "Matched filter"
  },
  "sourceUrl": {
    "label": "Source URL",
    "format": "link"
  },
  "scrapedAt": {
    "label": "Scraped at"
  }
}
```

## About this Actor

This example demonstrates how to use [G2 Software Categories Scraper](https://apify.com/automation-lab/g2-software-categories-scraper) with a specific input configuration. Visit the [Actor detail page](https://apify.com/automation-lab/g2-software-categories-scraper) to learn more, explore other use cases, and run it yourself.