Highwaysengland

Highways England API

Highways England API endpoints from Highwaysengland

Data & analytics#openapi#open-data

Fork copies the collection into your workspace, without the publisher's secrets, so you can add your own key and send requests. Star saves it to your starred APIs (Account › Marketplace) and helps others find it.

Overview

Highways England API endpoints from Highwaysengland

Endpoints 10

Areas

  • GETReturns list of areas/v:version/areas
  • GETReturns details of selected area/v:version/areas/:area_Ids

Quality

  • GETGet Site DailyQuality/v:version/quality/daily?siteId=string&start_date=string&end_date=string
  • GETGet Site OverallQuality/v:version/quality/overall?sites=string&start_date=string&end_date=string

Reports

  • GETGets the daily report./v:version/reports/:report_type?sites=string&start_date=string&end_date=string&page=0&page_size=0&reportSubTypeId=0Get's the report.
  • GETGets the daily report./v:version/reports/:start_date/to/:end_date/:report_type?sites=string&page=0&page_size=0&reportSubTypeId=0Get's the report.

Sites

  • GETGet a list of sites/v:version/sites
  • GETGet selected sites/v:version/sites/:site_Ids

SiteTypes

  • GETReturn list of site types/v:version/sitetypes
  • GETReturns the layer metadata for the LayerId specified./v:version/sitetypes/:siteType_Id/sites

API details

Base URL
https://webtris.highwaysengland.co.uk/api
Authentication
None declared in the description
Operations
10 operations on 10 pathsGET 10
Main resources
Areas 2Quality 2Reports 2SiteTypes 2Sites 2
Response formats
application/json
Description format
OpenAPI 3.0.0, API version v1
Listed from
APIs.guru OpenAPI Directory (CC0-1.0)
Source updated

How to test the Highways England API in Swastik Codes

  1. Open the APISelect “Fork & run in Swastik Codes” on this page. Sign in or create a free account if asked.
  2. Fork it into your workspaceChoose a workspace. You get your own copy of the Highways England API collection, without the publisher's secrets.
  3. Add your credentialsOpen the collection's variables or an environment and enter your API key or token, if the API needs one.
  4. Send a requestPick an endpoint, for example “Returns list of areas” (GET /v:version/areas), and press Send. Check the response, add tests and run the whole collection with the runner.

Frequently asked questions

What is the Highways England API?

Highways England API endpoints from Highwaysengland It is listed under Data & analytics and has 10 endpoints.

Who publishes the Highways England API?

It is listed from Highwaysengland's public API description (an OpenAPI document), not published by Highwaysengland on Swastik Codes. Anyone who controls highwaysengland.co.uk can claim the profile by adding a DNS TXT record.

What is the base URL of the Highways England API?

Requests go to https://webtris.highwaysengland.co.uk/api. Endpoint paths are added to this base URL.

How do I authenticate with the Highways England API?

Its OpenAPI description does not declare an authentication scheme. Some endpoints may be open; check the provider's documentation before relying on that.

How many endpoints does the Highways England API have?

10 operations on 10 paths (10 GET). The largest groups are Areas, Quality, Reports, SiteTypes.

Is forking the Highways England API free?

Yes. Forking copies the collection into your workspace for free. It has been starred 0 times and forked 0 times.

Suggest an API

Tell us which public API is missing. We check it, then add it here with its endpoints when it has an OpenAPI (Swagger) description.