---
title: "Farfetch category directory"
method: GET
path: "/farfetch/categories"
tags: ["Farfetch"]
---

# Farfetch category directory

`GET /farfetch/categories`

## Request

- Base URL: `https://api.crawlora.net/api/v1`
- URL: `https://api.crawlora.net/api/v1/farfetch/categories`
- Auth: API key in header `x-api-key`

Returns every department's top-level category directory (name, slug, URL). Each slug is usable directly as the category filter on GET /farfetch/search. Public data sourced live from Farfetch's own listing pages.

## Headers

- `x-api-key` string, required

## Response `200`

OK

- FarfetchCategoriesResponseDoc
  - `code` integer
  - `data` FarfetchCategoriesResponse
    - `genders` FarfetchGenderCategories[]
      - `categories` FarfetchCategory[]
        - `name` string
        - `slug` string
        - `url` string
      - `gender` string
  - `msg` string

## Other responses

- `500`: Internal Server Error
- `503`: Service Unavailable

---

[API](https://skmtc.dev/crawlora/apis/crawlora-api.md) · [All operations](https://skmtc.dev/crawlora/apis/crawlora-api/llms.txt) · [OpenAPI document](https://skmtc.dev/crawlora/apis/crawlora-api/revisions/0497899e2016?raw)
