---
title: "List SparkFun categories"
method: GET
path: "/sparkfun/categories"
tags: ["SparkFun"]
---

# List SparkFun categories

`GET /sparkfun/categories`

## Request

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

Lists SparkFun's top-level browse categories. Each has an id, name, `url_key` and `url_path`. Pass a category's `url_key` to `sparkfun-category` to browse it. Takes no parameters, and the set follows the live storefront catalogue.

## Headers

- `x-api-key` string, required

## Response `200`

OK

- SparkfunCategoriesResponseDoc
  - `code` integer
  - `data` SparkfunCategoriesResponse
    - `categories` SparkfunCategory[]
      - `id` string
      - `name` string
      - `url_key` string
      - `url_path` string
  - `msg` string

## Other responses

- `429`: Too Many Requests
- `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/afac9b012a27?raw)
