# Mercari Category Scraper - Extract All Categories

**Use case:** 

Extract the complete Mercari US category hierarchy — all top-level categories, subcategories, and leaf categories with names, URLs, and numeric IDs.

## Input

```json
{
  "proxy": {
    "useApifyProxy": true
  }
}
```

## Output

```json
{
  "mainCategoryNameL1": {
    "label": "Main category name l1",
    "format": "string"
  },
  "mainCategoryUrlL1": {
    "label": "Main category url l1",
    "format": "string"
  },
  "mainCategoryIdL1": {
    "label": "Main category id l1",
    "format": "string"
  },
  "subCategoryNameL2": {
    "label": "Sub category name l2",
    "format": "string"
  },
  "subCategoryUrlL2": {
    "label": "Sub category url l2",
    "format": "string"
  },
  "subCategoryIdL2": {
    "label": "Sub category id l2",
    "format": "string"
  },
  "subCategoryNameL3": {
    "label": "Sub category name l3",
    "format": "string"
  },
  "subCategoryUrlL3": {
    "label": "Sub category url l3",
    "format": "string"
  },
  "subCategoryIdL3": {
    "label": "Sub category id l3",
    "format": "string"
  }
}
```

## About this Actor

This example demonstrates how to use [Mercari Category URL Scraper](https://apify.com/morkerr/mercari-category-url) with a specific input configuration. Visit the [Actor detail page](https://apify.com/morkerr/mercari-category-url) to learn more, explore other use cases, and run it yourself.