# Highways England API API

> Highways England API API on Apizie: 10 endpoints (Returns list of areas, Returns details of selected area, Get Site DailyQuality, Get Site OverallQuality, …) returned as clean JSON through one API key. 10 endpoints are live now. Call it over REST at https://zieapi.vercel.app/v1/open-data:highwaysengland-co-uk/{endpoint} or from Claude, ChatGPT and Cursor through the Apizie MCP server. Free plan: 1,000 requests a month.

- Project key: `open-data:highwaysengland-co-uk`
- Category: Open Data
- Status: live
- Source: https://highwaysengland.co.uk
- Page: https://zieapi.vercel.app/api/open-data/highwaysengland-co-uk
- OpenAPI: https://zieapi.vercel.app/api/open-data/highwaysengland-co-uk/openapi.json



## Endpoints

### Returns list of areas
`GET https://zieapi.vercel.app/v1/open-data:highwaysengland-co-uk/areas-get`

| Parameter | Type | Required | Description |
|---|---|---|---|
| version | string | yes |  |

### Returns details of selected area
`GET https://zieapi.vercel.app/v1/open-data:highwaysengland-co-uk/get-v-version-areas-area-ids`

| Parameter | Type | Required | Description |
|---|---|---|---|
| area_Ids | string | yes |  |
| version | string | yes |  |

### Get Site DailyQuality
`GET https://zieapi.vercel.app/v1/open-data:highwaysengland-co-uk/quality-get-daily-data-quality-for-site`

| Parameter | Type | Required | Description |
|---|---|---|---|
| siteId | string | yes |  |
| start_date | string | yes | The start date of the report in the format ddmmyyyy (i.e 31012016) |
| end_date | string | yes | The end date of the report in the format ddmmyyyy (i.e 31012016) |
| version | string | yes |  |

### Get Site OverallQuality
`GET https://zieapi.vercel.app/v1/open-data:highwaysengland-co-uk/quality-get-overall-data-quality-for-sites`

| Parameter | Type | Required | Description |
|---|---|---|---|
| sites | string | yes | Get site quality by site id delimited by , |
| start_date | string | yes | The start date of the report in the format ddmmyyyy (i.e 31012016) |
| end_date | string | yes | The end date of the report in the format ddmmyyyy (i.e 31012016) |
| version | string | yes |  |

### Gets the daily report.
`GET https://zieapi.vercel.app/v1/open-data:highwaysengland-co-uk/reports-index`

| Parameter | Type | Required | Description |
|---|---|---|---|
| report_type | string | yes | Report Type Id (i.e Daily, Monthly, Annual) |
| sites | string | yes | Comma separated list of site Ids. |
| start_date | string | yes | The start date of the report in the format ddmmyyyy (i.e 31012016) |
| end_date | string | yes | The end date of the report in the format ddmmyyyy (i.e 31012016) |
| page | integer | yes | The page offset to return. |
| page_size | integer | yes | The number of rows to return. |
| reportSubTypeId | integer | no |  |
| version | string | yes |  |

### Gets the daily report.
`GET https://zieapi.vercel.app/v1/open-data:highwaysengland-co-uk/get-v-version-reports-start-date-to-end-date-report-type`

| Parameter | Type | Required | Description |
|---|---|---|---|
| report_type | string | yes | Report Type Id (i.e Daily, Monthly, Annual) |
| sites | string | yes | Comma separated list of site Ids. |
| start_date | string | yes | The start date of the report in the format ddmmyyyy (i.e 31012016) |
| end_date | string | yes | The end date of the report in the format ddmmyyyy (i.e 31012016) |
| page | integer | yes | The page offset to return. |
| page_size | integer | yes | The number of rows to return. |
| reportSubTypeId | integer | no |  |
| version | string | yes |  |

### Get a list of sites
`GET https://zieapi.vercel.app/v1/open-data:highwaysengland-co-uk/sites-index`

| Parameter | Type | Required | Description |
|---|---|---|---|
| version | string | yes |  |

### Get selected sites
`GET https://zieapi.vercel.app/v1/open-data:highwaysengland-co-uk/get-v-version-sites-site-ids`

| Parameter | Type | Required | Description |
|---|---|---|---|
| site_Ids | string | yes | site id |
| version | string | yes |  |

### Return list of site types
`GET https://zieapi.vercel.app/v1/open-data:highwaysengland-co-uk/site-types-index`

| Parameter | Type | Required | Description |
|---|---|---|---|
| version | string | yes |  |

### Returns the layer metadata for the LayerId specified.
`GET https://zieapi.vercel.app/v1/open-data:highwaysengland-co-uk/site-types-get-sites-for-public-facing-api`

| Parameter | Type | Required | Description |
|---|---|---|---|
| siteType_Id | integer | yes | 1 = MIDAS, 2 = TAME, 3 = TMU, 4 = TRADS Legacy |
| version | string | yes |  |

## Example
```
curl "https://zieapi.vercel.app/v1/open-data:highwaysengland-co-uk/areas-get" \
  -H "x-api-key: $APIZIE_KEY"
```

## FAQ

### How do I call the Highways England API API?
Create a free Apizie key, then send GET https://zieapi.vercel.app/v1/open-data:highwaysengland-co-uk/areas-get with the header x-api-key. Every endpoint returns { project, data, timestamp }.

### Is the Highways England API API free on Apizie?
Yes. The Free plan includes 1,000 requests a month at 100 requests a minute, no credit card.

### Can AI agents use the Highways England API API?
Yes. Add the Apizie MCP server (https://zieapi.vercel.app/mcp) to Claude, ChatGPT, Cursor or VS Code, then ask in plain language. The agent calls run_scraper with project key open-data:highwaysengland-co-uk.

### What is the status of the Highways England API API?
Live: works with just an Apizie key
