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

# Get Commodities Catalog

> Get commodity catalog with HS codes and UN numbers for dangerous goods

Retrieve commodity catalog with UN numbers (for dangerous goods) and HS codes.

<ParamField status="200" type="CommoditiesResponse">
  <ParamField name="commodities" type="array">
    List of commodities
  </ParamField>
</ParamField>

### Reference Documentation

<Info>
  For more information on commodity based data delivery, please refer to:

  * Page 402 of "Functional\_Requirements\_V18 FINAL": [https://belli.sg/4nxxCDR](https://belli.sg/4nxxCDR)
</Info>


## OpenAPI

````yaml GET /api/commodities
openapi: 3.0.3
info:
  title: Mock API
  version: 1.0.0
  description: >-
    Mock OpenAPI spec for QR API Service. All endpoints require API key
    authentication via 'Authorization: Bearer <token>' or 'x-api-key: <token>'
    headers.
servers:
  - url: https://1a557de0-701c-477d-bedd-433520441dae.mock.pstmn.io
    description: Production server
security:
  - ApiKeyAuth: []
  - ApiKeyHeader: []
tags:
  - name: auth-v1
    description: Authentication and user management
  - name: reference-data-v1
    description: Reference data and master data
  - name: flights-v1
    description: Flight schedules and capacity
  - name: quotes-v1
    description: Quotation and pricing
  - name: awb-stock-v1
    description: AWB Stock Management
  - name: bookings-v1
    description: Booking management
  - name: shipments-v1
    description: Shipment documents and tracking
  - name: compliance-v1
    description: Compliance and safety declarations
  - name: operations-v1
    description: Operational events and manifests
  - name: webhooks-v1
    description: Webhook management
  - name: admin-v1
    description: Administrative and audit functions
  - name: qr-exp-cgo-ext-availability-v1
    description: Legacy availability service
  - name: qr-exp-cgo-ext-booking-v1
    description: Legacy booking service
  - name: qr-exp-cgo-ext-flight-schedules-v1
    description: Legacy flight schedules service
  - name: qr-exp-cgo-shipments-v1
    description: Legacy shipments service
  - name: qr-exp-cgo-stock-v1
    description: Legacy stock service
  - name: qr-exp-cgo-tables-v1
    description: Legacy table data service
paths:
  /api/commodities:
    get:
      tags:
        - reference-data-v1
      summary: Get commodity catalog
      description: Get commodity catalog with HS codes and UN numbers for dangerous goods
      parameters:
        - name: code
          in: query
          schema:
            type: string
          description: Filter by commodity code
        - name: name
          in: query
          schema:
            type: string
          description: Filter by commodity name
        - name: dangerousGoods
          in: query
          schema:
            type: boolean
          description: Filter by dangerous goods flag
        - name: hsCode
          in: query
          schema:
            type: string
          description: Filter by HS code
      responses:
        '200':
          description: Commodity catalog
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CommoditiesResponse'
components:
  schemas:
    CommoditiesResponse:
      type: object
      properties:
        commodities:
          type: array
          items:
            $ref: '#/components/schemas/Commodity'
    Commodity:
      type: object
      properties:
        code:
          type: string
          example: GEN
        name:
          type: string
          example: General Cargo
        hsCode:
          type: string
          example: '1234.56'
        dangerousGoods:
          type: boolean
          example: false
        unNumber:
          type: string
          example: UN1234
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: Authorization
    ApiKeyHeader:
      type: apiKey
      in: header
      name: x-api-key

````