WooCommerce · JSON Structure

Woocommerce Store Api Product Collection Data Structure

Aggregate data about a filtered product collection.

Type: object Properties: 3
E-CommerceOpen-SourceOrderProductWordPress

ProductCollectionData is a JSON Structure definition published by WooCommerce, describing 3 properties. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

price_range attribute_counts rating_counts

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/woocommerce/refs/heads/main/json-structure/woocommerce-store-api-product-collection-data-structure.json",
  "name": "ProductCollectionData",
  "description": "Aggregate data about a filtered product collection.",
  "type": "object",
  "properties": {
    "price_range": {
      "type": "object",
      "description": "Minimum and maximum prices in the collection.",
      "nullable": true,
      "properties": {
        "min_price": {
          "type": "string",
          "description": "Minimum product price."
        },
        "max_price": {
          "type": "string",
          "description": "Maximum product price."
        }
      },
      "example": {
        "min_price": "string-value",
        "max_price": "string-value"
      }
    },
    "attribute_counts": {
      "type": "array",
      "description": "Term counts for requested attributes.",
      "items": {
        "type": "object",
        "properties": {
          "term": {
            "type": "int32",
            "description": "Term ID."
          },
          "count": {
            "type": "int32",
            "description": "Number of products with this term."
          }
        }
      },
      "example": [
        {
          "term": 1,
          "count": 1
        }
      ]
    },
    "rating_counts": {
      "type": "array",
      "description": "Product counts by star rating.",
      "items": {
        "type": "object",
        "properties": {
          "rating": {
            "type": "int32",
            "description": "Star rating value."
          },
          "count": {
            "type": "int32",
            "description": "Number of products with this rating."
          }
        }
      },
      "example": [
        {
          "rating": 1,
          "count": 1
        }
      ]
    }
  }
}

Work with this as data

Every JSON Structure here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for json structure

4 MCP tools reach this
  • find_json_structuresBrowse and filter every JSON Structure in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Structure
curl "https://apis.io/api/v1/json-structures/woocommerce-store-api-product-collection-data-structure"
All json structure
curl "https://apis.io/api/v1/json-structures?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.