---
title: "ConsumerGoodPriceHistoryResponse"
url: "https://developer.argaam.com/apis/macroeconomic-layer-api-production-v1/versions/eeada0b4-178b-4972-8713-f497c9940530/schemas/ConsumerGoodPriceHistoryResponse"
---

> Full API specification: https://developer.argaam.com/apis/macroeconomic-layer-api-production-v1/versions/eeada0b4-178b-4972-8713-f497c9940530.md

# ConsumerGoodPriceHistoryResponse

Price history for a single material.

## OpenAPI definition

```yaml
openapi: 3.0.1
info:
  title: Macroeconomic Layer API
  version: v1.1
servers:
  - url: https://api.argaam.com
    description: Argaam API Gateway (Production)
components:
  schemas:
    ConsumerGoodPriceEntry:
      type: object
      properties:
        forDate:
          type: string
          description: Observation date (`yyyy-MM-dd`).
          nullable: true
        price:
          type: number
          format: double
      additionalProperties: false
      description: A single date-price observation in a history series.
    ConsumerGoodPriceHistoryResponse:
      type: object
      properties:
        materialID:
          type: integer
          format: int32
        materialNameAr:
          type: string
          nullable: true
        materialNameEn:
          type: string
          nullable: true
        prices:
          type: array
          items:
            $ref: "#/components/schemas/ConsumerGoodPriceEntry"
          nullable: true
      additionalProperties: false
      description: Price history for a single material.
```
