Endpoint Playground
Returns how many postings match a query in each Craigslist section and category of an area, the same per-category counts the site shows beside its search box. Use it to see where a query has results before calling craigslist_search with a category. Optionally count around a postal code or lat and lon with a radius, or within one subarea.
23 Nov 2026: 2 sections; 4 fields had a value in every checked item.
Sample value profiles: count: 3 to 27, median 3; label: “housing” and 1 other value; categories: median 1 entry.
curl 'https://api.crawlora.net/api/v1/craigslist/category-counts?area=sfbay&q=bicycle' \
-H "x-api-key: $CRAWLORA_API_KEY"| Parameter | Type | Required | Prefilled value | Description |
|---|---|---|---|---|
| area | string | Yes | sfbay | Area slug from craigslist_areas |
| q | string | Yes | bicycle | Search text to count matches for |
| postal | string | No | Postal or ZIP code to count around | |
| lat | number | No | Latitude to count around; requires lon | |
| lon | number | No | Longitude to count around; requires lat | |
| search_distance | integer | No | Radius in miles around postal or lat and lon | |
| subarea | string | No | Subarea abbreviation from the subarea filter of craigslist_category_filters |
{
"code": 200,
"data": {
"area": "sfbay",
"area_id": 1,
"query": "bicycle",
"total": 9500,
"sections": [
{
"id": "hhh",
"label": "housing",
"count": 449,
"categories": [
{
"id": "apa",
"label": "apartments / housing for rent",
"count": 337
}
]
},
{
"id": "sss",
"label": "for sale",
"count": 8992,
"categories": [
{
"id": "bia",
"label": "bikes",
"count": 2300
}
]
}
]
}
}The sample response, schema and code snippets below work without an account. Sending a live request needs an API key.