{
  "info": {
    "name": "Valtaic Evaluation Starter",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
    "description": "Discovery and series requests only. No valuation POSTs. Requests consume account resources and require enabled access. Keep the API key in a private local environment; do not sync or export secrets."
  },
  "auth": {
    "type": "bearer",
    "bearer": [
      {
        "key": "token",
        "value": "{{apiKey}}",
        "type": "string"
      }
    ]
  },
  "variable": [
    {
      "key": "baseUrl",
      "value": "https://api.valtaic.io"
    },
    {
      "key": "apiKey",
      "value": ""
    },
    {
      "key": "area",
      "value": "E08000025"
    }
  ],
  "item": [
    {
      "name": "Current valuation release",
      "request": {
        "method": "GET",
        "header": [
          {
            "key": "Accept",
            "value": "application/json"
          }
        ],
        "url": "{{baseUrl}}/v3/releases/current"
      }
    },
    {
      "name": "Available market datasets",
      "request": {
        "method": "GET",
        "header": [
          {
            "key": "Accept",
            "value": "application/json"
          }
        ],
        "url": "{{baseUrl}}/v1/markets/datasets"
      }
    },
    {
      "name": "Available rates datasets",
      "request": {
        "method": "GET",
        "header": [
          {
            "key": "Accept",
            "value": "application/json"
          }
        ],
        "url": "{{baseUrl}}/v1/rates/datasets"
      }
    },
    {
      "name": "Supported market areas",
      "request": {
        "method": "GET",
        "header": [
          {
            "key": "Accept",
            "value": "application/json"
          }
        ],
        "url": "{{baseUrl}}/v1/markets/areas"
      }
    },
    {
      "name": "Current market release",
      "request": {
        "method": "GET",
        "header": [
          {
            "key": "Accept",
            "value": "application/json"
          }
        ],
        "url": "{{baseUrl}}/v1/markets/releases/current"
      }
    },
    {
      "name": "Current rates release",
      "request": {
        "method": "GET",
        "header": [
          {
            "key": "Accept",
            "value": "application/json"
          }
        ],
        "url": "{{baseUrl}}/v1/rates/releases/current"
      }
    },
    {
      "name": "Latest flat sales count (example area)",
      "request": {
        "method": "GET",
        "url": "{{baseUrl}}/v1/markets/series?dataset=market_activity&area={{area}}&property_type=flat&metrics=sales_count",
        "description": "Inspect your catalogue and area list first. Latest means latest available observation, not all history."
      }
    },
    {
      "name": "Latest Bank Rate",
      "request": {
        "method": "GET",
        "url": "{{baseUrl}}/v1/rates/series?dataset=bank_rate",
        "description": "Requires account entitlement. Preserve observation dates and units."
      }
    }
  ]
}
