shelfatlas-com · Schema

TermHistoryWeek

One ISO week (Monday, Europe/Copenhagen) in the /offers/term-history window. A week with no matching offer still appears, with offer_count/campaign_count/chain_count 0 and every other field null.

CompanyGroceryAPIDenmarkRetail

Properties

Name Type Description
week_start string The week's Monday, Europe/Copenhagen calendar.
min_price numbernull Lowest shelf price (DKK) across both price_kinds that week — across pack sizes (a 33 cl can and a 1.5 l bottle compete), so not a like-for-like "cheapest"; use cheapest_unit_price for that.
min_unit_price numbernull The cheapest offer's unit price (DKK), same row as min_price.
unit_price_unit stringnull
offer_count integer Distinct matching offers that week, both price kinds.
campaign_count integer Of offer_count, how many were price_kind campaign.
chain_count integer Distinct chains carrying a matching offer that week.
cheapest_chain_slug stringnull The min_price offer's chain.
cheapest_chain_name stringnull
cheapest_unit_price numbernull SA-0230: the week's cheapest unit price (DKK per summary.unit), comparing only offers in that unit (unit prices under 2 DKK per l/kg are treated as parse errors and skipped). Null when no offer that w
cheapest_unit_price_chain_slug stringnull The chain of the cheapest_unit_price offer.
cheapest_unit_price_chain_name stringnull
View JSON Schema on GitHub

JSON Schema

shelfatlas-com-term-history-week-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/shelfatlas-com/json-schema/shelfatlas-com-term-history-week-schema.json",
  "title": "TermHistoryWeek",
  "description": "One ISO week (Monday, Europe/Copenhagen) in the /offers/term-history window. A week with no matching offer still appears, with offer_count/campaign_count/chain_count 0 and every other field null.",
  "x-generated": "2026-10-31",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/shelfatlas-com-openapi.json#/components/schemas/TermHistoryWeek",
  "type": "object",
  "additionalProperties": false,
  "required": [
    "week_start",
    "min_price",
    "min_unit_price",
    "unit_price_unit",
    "offer_count",
    "campaign_count",
    "chain_count",
    "cheapest_chain_slug",
    "cheapest_chain_name",
    "cheapest_unit_price",
    "cheapest_unit_price_chain_slug",
    "cheapest_unit_price_chain_name"
  ],
  "properties": {
    "week_start": {
      "type": "string",
      "format": "date",
      "description": "The week's Monday, Europe/Copenhagen calendar."
    },
    "min_price": {
      "type": [
        "number",
        "null"
      ],
      "description": "Lowest shelf price (DKK) across both price_kinds that week — across pack sizes (a 33 cl can and a 1.5 l bottle compete), so not a like-for-like \"cheapest\"; use cheapest_unit_price for that."
    },
    "min_unit_price": {
      "type": [
        "number",
        "null"
      ],
      "description": "The cheapest offer's unit price (DKK), same row as min_price."
    },
    "unit_price_unit": {
      "type": [
        "string",
        "null"
      ],
      "enum": [
        "l",
        "kg",
        "stk",
        null
      ]
    },
    "offer_count": {
      "type": "integer",
      "description": "Distinct matching offers that week, both price kinds."
    },
    "campaign_count": {
      "type": "integer",
      "description": "Of offer_count, how many were price_kind campaign."
    },
    "chain_count": {
      "type": "integer",
      "description": "Distinct chains carrying a matching offer that week."
    },
    "cheapest_chain_slug": {
      "type": [
        "string",
        "null"
      ],
      "description": "The min_price offer's chain."
    },
    "cheapest_chain_name": {
      "type": [
        "string",
        "null"
      ]
    },
    "cheapest_unit_price": {
      "type": [
        "number",
        "null"
      ],
      "description": "SA-0230: the week's cheapest unit price (DKK per summary.unit), comparing only offers in that unit (unit prices under 2 DKK per l/kg are treated as parse errors and skipped). Null when no offer that week carried the unit, or summary.unit is null."
    },
    "cheapest_unit_price_chain_slug": {
      "type": [
        "string",
        "null"
      ],
      "description": "The chain of the cheapest_unit_price offer."
    },
    "cheapest_unit_price_chain_name": {
      "type": [
        "string",
        "null"
      ]
    }
  }
}

Work with this as data

Every JSON Schema 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 schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema 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 Schema
curl "https://apis.io/api/v1/json-schemas/shelfatlas-com-term-history-week"
All schemas
curl "https://apis.io/api/v1/json-schemas?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.