---
title: "Craigslist API: Categories | Perceptlayer"
description: "Categories from Craigslist as JSON. 1 credit per successful call."
url: https://perceptlayer.com/apis/craigslist/categories
---

[APIs](https://perceptlayer.com/apis) / [Craigslist](https://perceptlayer.com/apis/craigslist) / Categories

# Craigslist: Categories

Categories from Craigslist as JSON. 1 credit per successful call.

GET `/v1/craigslist/categories`

## Parameters

Send parameters in the query string.

| Parameter | Type | Required | Allowed values |
| --- | --- | --- | --- |
| `query` | string | Optional | Up to 100 characters |

## Example request

Craigslist

GET /v1/craigslist/categories?query=bicycles 

```
{
  "success": true,
  "data": {
    "total": 2,
    "results": [
      {
        "category": "bik",
        "name": "bicycles - by owner",
        "section": "for sale"
      },
      {
        "category": "bid",
        "name": "bicycles - by dealer",
        "section": "for sale"
      }
    ]
  },
  "meta": {
    "endpoint_family": "categories"
  }
}
```

200 OK JSON X-Credits-Used: 1

Recorded 12 Nov 2026 and shortened.

[Run this endpoint in the playground](https://perceptlayer.com/apis/craigslist?try=categories#playground) with your own parameters. 1 credit per successful call; failed calls are free.

## Response fields

Each item in `data.results` has these 3 fields, read from a recorded call that returned 2 items. The recording leaves out fields that were empty, so a live call can return more.

| Field | Type |
| --- | --- |
| `category` | string |
| `name` | string |
| `section` | string |
