> ## Documentation Index
> Fetch the complete documentation index at: https://docs.orbbit.co/llms.txt
> Use this file to discover all available pages before exploring further.

# List Branded Food Categories

> List every food category you can search within..

Requires the `search-branded-foods` scope.



## OpenAPI

````yaml /api-reference/openapi.json get /v1/branded-foods/categories
openapi: 3.1.0
info:
  title: Orbbit Data API
  version: '1.0'
  description: Commodity prices and packaged-food labels over one read-only REST API.
servers:
  - url: https://data-api.orbbit.co
    description: Production
security:
  - bearer: []
tags:
  - name: Commodities
  - name: Branded Food
paths:
  /v1/branded-foods/categories:
    get:
      tags:
        - Branded Food
      summary: List Branded Food Categories
      description: |-
        List every food category you can search within..

        Requires the `search-branded-foods` scope.
      operationId: list_branded_food_categories
      parameters: []
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ListCategoriesResponseDto'
              example:
                data:
                  - category: Candy
                    product_count: 41210
                  - category: Cheese
                    product_count: 23874
        '401':
          description: Missing, malformed, unknown, or revoked API key
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PublicApiErrorDto'
              example:
                error:
                  type: unauthorized
                  message: 'Missing or malformed Authorization: Bearer header'
        '402':
          description: >-
            The balance, or the key's monthly spend limit, cannot cover this
            call
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PublicApiErrorDto'
              example:
                error:
                  type: insufficient_balance
                  message: Insufficient balance
        '403':
          description: The key is not scoped to this route
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PublicApiErrorDto'
              example:
                error:
                  type: forbidden
                  message: This key is not scoped to search-branded-foods
      security:
        - bearer: []
components:
  schemas:
    ListCategoriesResponseDto:
      type: object
      properties:
        data:
          type: array
          items:
            type: object
            properties:
              category:
                type: string
              product_count:
                type: number
            required:
              - category
              - product_count
      required:
        - data
    PublicApiErrorDto:
      type: object
      properties:
        error:
          type: object
          properties:
            type:
              type: string
            message:
              type: string
          required:
            - type
            - message
          x-nestjs_zod-self-required: true
      required:
        - error
  securitySchemes:
    bearer:
      type: http
      scheme: bearer
      description: Your API key, which starts with `orbbit_data_`.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.