# OuedKniss Category Tree — Every Category & Subcategory

**Use case:** 

The whole category tree in one dataset: 780+ nodes with slug, name, depth, icon and parent chain. Raise How deep to walk the menu to go further.

## Input

```json
{
  "pageUrl": "https://www.ouedkniss.com/s/1?c=automobiles-voitures&keywords=t-roc",
  "maxItems": 800,
  "maxPages": 20,
  "maxDepth": 2,
  "maxRequestsPerMinute": 30,
  "proxyMaxAttempts": 5,
  "locale": "fr",
  "includeContactInfo": false,
  "dedupe": true,
  "debugIncludeRaw": false,
  "startMode": "categories",
  "searchQuery": "voiture",
  "categoryUrl": "https://www.ouedkniss.com/automobiles_vehicules/1",
  "sellerUrl": "https://www.ouedkniss.com/store/290/dyalkom/",
  "startUrls": [],
  "filterHasPictures": false,
  "filterHasPrice": false,
  "filterExchange": false,
  "filterDelivery": false,
  "filterOrigin": "",
  "filterOrderByField": "REFRESHED_AT",
  "filterCount": 48
}
```

## Output

```json
{
  "id": {
    "label": "Listing ID",
    "format": "string"
  },
  "url": {
    "label": "URL",
    "format": "string"
  },
  "categoryName": {
    "label": "Category name",
    "format": "string"
  },
  "categorySlug": {
    "label": "Category slug",
    "format": "string"
  },
  "parentTreeNames": {
    "label": "Ancestor names",
    "format": "string"
  },
  "parentTreeSlugs": {
    "label": "Ancestor slugs",
    "format": "string"
  },
  "parentTreeIds": {
    "label": "Ancestor IDs",
    "format": "string"
  },
  "categoryDepth": {
    "label": "Category depth",
    "format": "integer"
  },
  "categoryRank": {
    "label": "Category rank",
    "format": "integer"
  },
  "categoryIcon": {
    "label": "Category icon",
    "format": "string"
  },
  "categoryDelivery": {
    "label": "Category delivery flag",
    "format": "boolean"
  },
  "scrapedAt": {
    "label": "Scraped at",
    "format": "string"
  }
}
```

## How it works

### 1. Sign up on Apify or log in

The OuedKniss Multi-Scraper (ouedkniss.com) Actor is ready to run with the inputs already set for "OuedKniss Category Tree — Every Category & Subcategory". [Sign up or log in](https://console.apify.com/create-task-from-example/ir7U2ZD7E0c09blwU) and you'll land in Apify Console with a copy of this exact task.

### 2. Start the "OuedKniss Category Tree — Every Category & Subcategory" task

The OuedKniss Multi-Scraper (ouedkniss.com) Actor will start running based on the input automatically. You can also change all the input fields, like URL, maximum results, and more, to match your specific use case.

### 3. Receive the "OuedKniss Category Tree — Every Category & Subcategory" output

Monitor the progress in real time. You will be notified as soon as your dataset is complete and ready for review. Each result includes data such as listing id, URL, category name, and more.

### 4. Integrate into your workflow

The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow. You can also [run the "OuedKniss Category Tree — Every Category & Subcategory" task via API](https://apify.com/hamza325/ouedkniss-multi-scraper.md).

## FAQ

### How many rows does this task return?

Up to the Maximum results cap per run (200 unless raised); the categories task returns the full tree in one run.

### Do I need an OuedKniss account?

No. The listings are public and the Actor needs no login.

## About this Actor

This example demonstrates how to use [OuedKniss Multi-Scraper (ouedkniss.com)](https://apify.com/hamza325/ouedkniss-multi-scraper.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/hamza325/ouedkniss-multi-scraper.md) to learn more, explore other use cases, and run it yourself.


## How to integrate an Actor?

This Task's input is already configured above. Use it as-is rather than inventing a new one.

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 full API examples (JavaScript, Python, CLI, MCP, OpenAPI), see this Task's Actor page: https://apify.com/hamza325/ouedkniss-multi-scraper.md

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`).
