> ## 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.

# Get Commodity Prices

> Dated prices for one or many catalog series, in the order asked.

Requires the `get-commodity-prices` scope.



## OpenAPI

````yaml /api-reference/openapi.json get /v1/commodities/prices
openapi: 3.1.0
info:
  title: Orbbit Data API
  version: '1.0'
  description: >-
    Commodity prices, packaged-food labels, and online store catalogs over one
    read-only REST API.
servers:
  - url: https://api.orbbit.co
    description: Production
security:
  - bearer: []
tags:
  - name: Commodities
  - name: Branded Food
  - name: Shopify
paths:
  /v1/commodities/prices:
    get:
      tags:
        - Commodities
      summary: Get Commodity Prices
      description: |-
        Dated prices for one or many catalog series, in the order asked.

        Requires the `get-commodity-prices` scope.
      operationId: CommoditiesController_prices
      parameters:
        - name: series
          required: true
          in: query
          description: Comma-separated catalog slugs, at most 100
          schema:
            type: string
        - name: from
          required: false
          in: query
          description: YYYY-MM-DD, inclusive; absent means from the first reading
          schema:
            type: string
        - name: to
          required: false
          in: query
          description: YYYY-MM-DD, inclusive; absent means to the last reading
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetPricesResponseDto'
              example:
                data:
                  - slug: butter-cme-spot-close-daily
                    unit: USD/lb
                    points:
                      - date: '2026-09-18'
                        value: 2.5125
                      - date: '2026-09-21'
                        value: 2.5
                      - date: '2026-09-22'
                        value: 2.4875
        '400':
          description: The request was malformed
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PublicApiErrorDto'
              example:
                error:
                  type: invalid_request
                  message: 'Unknown series: butter-spot'
        '401':
          description: The API key is missing, malformed, unknown, or revoked
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PublicApiErrorDto'
              example:
                error:
                  type: unauthorized
                  message: 'Missing or malformed Authorization: Bearer header'
        '403':
          description: The key is valid but not scoped to this endpoint
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PublicApiErrorDto'
              example:
                error:
                  type: forbidden
                  message: This key is not scoped to get-commodity-prices
      security:
        - bearer: []
components:
  schemas:
    GetPricesResponseDto:
      type: object
      properties:
        data:
          type: array
          items:
            type: object
            properties:
              slug:
                type: string
              unit:
                type: string
              points:
                type: array
                items:
                  type: object
                  properties:
                    date:
                      type: string
                    value:
                      type: number
                  required:
                    - date
                    - value
            required:
              - slug
              - unit
              - points
      required:
        - data
    PublicApiErrorDto:
      type: object
      properties:
        error:
          type: object
          properties:
            type:
              type: string
            message:
              type: string
          required:
            - type
            - message
      required:
        - error
  securitySchemes:
    bearer:
      type: http
      scheme: bearer
      description: Your API key, which starts with `orbbit_data_`.

````