Quantities API

Product size and unit data. Standardized and structured.

The Prodx Quantities API returns standardized, structured quantity data for any product. Each product gets one or more quantity entries with a numeric value, a named unit, and a primary flag indicating which quantity expression is most relevant. Clean, consistent, and ready for downstream calculations.

Why Quantity Data Breaks Down in Grocery

Quantity expressions vary wildly across catalogs, which makes unit pricing, size comparison, and substitution logic unreliable.

Inconsistent Formatting

27 OZ, 27 ounce, and 27oz all represent the same thing differently.

Multiple Quantity Expressions

A product may carry both ounce and count information.

Blocked Downstream

Features Without standardization, unit pricing and equivalence cannot be trusted.

How Prodx Standardizes Product Quantity Data

Prodx returns one or more quantity objects per product, each with a numeric value, unit object, and primary flag, creating clean inputs for downstream calculations and UI.
  • Pass product IDs to retrieve structured quantity data.
  • Return multiple quantity expressions when relevant.
  • Indicate which quantity is primary for comparison or display.
  • Support unit pricing, comparison, and the Equivalent API.
  • Create a dependable quantity layer across the catalog.

Measurable Impact

Standardized quantity data is foundational infrastructure. It powers unit pricing accuracy, size comparisons, and quantity-adjusted substitutions across every other Prodx API that needs to understand product size.

More Accurate

Unit pricing
Downstream value features rely on clean quantity data.

Better

Size comparison
Shoppers can compare like for like more easily.

Foundational

Catalog infrastructure
Other APIs gain reliability when quantity data is normalized.
How a Top-10 Grocer Transformed Their Search Experience
See how structured product data eliminated "no results" pages and drove a measurable lift in online conversion.

Technical Specifications

Every Prodx API is designed for real-world retail environments — high volume, low latency, and continuous data updates. From authentication to uptime guarantees, everything is engineered to integrate cleanly and scale with your business.
Response Format
JSON
Authentication
API key (provided at onboarding)
Rate Limits
Configured per retailer at contract level
Hosting
Prodx-managed cloud infrastructure
Latency
Sub-200ms typical response times
Availability
99.9% + uptime SLA
Data Refresh
Continuous. Product data updates propagate within minutes of catalog changes.
Integration
RESTful API. Standard HTTPS. No SDKs required.
Onboarding
Three weeks typical. Send us your product feed, we handle the rest.
Support
Dedicated account team. Direct engineering access for integration questions.
GET /v1/quantities?catalogId=GEN_CATALOG &productIds=960038380
{
  "quantitiesProducts": {
    "960038380": {
      "productId": "960038380",
      "quantities": [
        { "number": 27, "unit": { "id": "OUNCE", "name": "Ounce" },
          "primary": true },
        { "number": 1, "unit": { "id": "COUNT", "name": "Count" },
          "primary": false }
      ]
    }
  },
  "quantitiesRequest": {
    "catalogId": "GEN_CATALOG",
    "productIds": "960038380"
  }
}

Ready to see what the Quantities API can do with your catalog?

Send us your product feed and we'll show you results in weeks.
The data infrastructure everything runs on.
Product data infrastructure for America's leading grocery retailers.
hello@prodx.com
© 2026 Prodx. All rights reserved.