# PC6 average WOZ value

## Find the average and median WOZ value for a zipcode

<mark style="color:green;">`GET`</mark>api.altum.ai`/woz/pc6`

**Headers**

| Name         | Value                     |
| ------------ | ------------------------- |
| Content-Type | `application/json`        |
| x-api-key    | `unique Altum AI API key` |

**String**

| Name       | Type   | Description                                                       |
| ---------- | ------ | ----------------------------------------------------------------- |
| `postcode` | string | Zipcode PC6 e.g. 1234AB                                           |
| `limit`    | number | Number of WOZ value's part of the calculation min = 10, max = 100 |

**Response**

{% tabs %}
{% tab title="200" %}

```json
{
	"average_woz_value": 410700.0,
	"median_woz_value": 406500.0
}
```

{% endtab %}

{% tab title="400" %}

```json
{
	"detail": {
		"Output": "The given Postcode does not exist or has no WOZ Value."
	}
}
```

{% endtab %}

{% tab title="422" %}

```
{
	"detail": [
		{
			"loc": [
				"query",
				"postcode"
			],
			"msg": "ensure this value has at least 6 characters",
			"type": "value_error.any_str.min_length",
			"ctx": {
				"limit_value": 6
			}
		}
	]
}
```

{% endtab %}
{% endtabs %}
