---
title: "Find a business category"
description: "Use GET /business/{business_id}/categories/{category_id} to retrieve one category."
canonical: https://docs.ordering.co/api-reference/guides/get-category/
---

# Find a business category

> **API operation:** [Open the endpoint in Scalar](https://docs.ordering.co/api-reference/#tag/business/GET/business/{business_id}/categories/{category_id})

Use `GET /business/{business_id}/categories/{category_id}` to retrieve one category. The operation is `Category.find.get`.

The ordinary read is public. The operation validates the business/category context and can include products or nested category data according to query values.

```javascript
const response = await ordering.businesses(businessId).categories(categoryId).get()
```

This SDK syntax is historical. Confirm the package and version before using it.

## OpenAPI reference

**Operation:** `GET /business/{business_id}/categories/{category_id}`

**Path parameters**

| Name          | Type              | Required | Description |
| ------------- | ----------------- | -------- | ----------- |
| `business_id` | string \| integer | Yes      | —           |
| `category_id` | string \| integer | Yes      | —           |

**Query parameters**

| Name                 | Type    | Required | Description                                                                                                                |
| -------------------- | ------- | -------- | -------------------------------------------------------------------------------------------------------------------------- |
| `params`             | string  | No       | Comma-separated list of fields. It is intersected with the model’s $fillable; an empty or invalid list returns all fields. |
| `parent_category_id` | integer | No       | —                                                                                                                          |

**Responses**

| Code | Description                               |
| ---- | ----------------------------------------- |
| 200  | OK                                        |
| 400  | Bad Request (ErrorResponse)               |
| 401  | Unauthorized (ProjectAccessErrorResponse) |
| 404  | Not Found                                 |
| 429  | Too Many Requests (ErrorResponse)         |
| 500  | Internal Server Error (ErrorResponse)     |
| 503  | Service Unavailable (ErrorResponse)       |

[Open this operation in the API reference](https://docs.ordering.co/api-reference/#tag/business/GET/business/{business_id}/categories/{category_id})
