Introduction
This web API provides access to road traffic estimates for Great Britain.
Authenticating requests
This API is not authenticated.
Average Annual Daily Flow
List of Average Annual Daily Flow statistics
Get Average Annual Daily Flow statistics
List of Average Annual Daily Flow statistics
Example request:
curl --request GET \
--get "https://roadtraffic.dft.gov.uk/api/average-annual-daily-flow?page%5Bsize%5D=5" \
--header "Content-Type: application/json" \
--header "Accept: application/json"import requests
import json
url = 'https://roadtraffic.dft.gov.uk/api/average-annual-daily-flow'
params = {
'page[size]': '5',
}
headers = {
'Content-Type': 'application/json',
'Accept': 'application/json'
}
response = requests.request('GET', url, headers=headers, params=params)
response.json()Example response (200):
{
"current_page": 1,
"data": [
{
"id": 1,
"count_point_id": 51,
"year": 2000,
"region_id": 1,
"local_authority_id": 1,
"road_name": "A3111",
"road_category": "PA",
"road_type": "Major",
"start_junction_road_name": "Pierhead, Hugh Town",
"end_junction_road_name": "A3112",
"easting": 90200,
"northing": 10585,
"latitude": "49.91501492",
"longitude": "-6.31713812",
"link_length_km": "0.30",
"link_length_miles": "0.19",
"estimation_method": "Estimated",
"estimation_method_detailed": "Estimated using AADF from previous year on this link",
"pedal_cycles": 105,
"two_wheeled_motor_vehicles": 87,
"cars_and_taxis": 837,
"buses_and_coaches": 25,
"lgvs": 451,
"hgvs_2_rigid_axle": 30,
"hgvs_3_rigid_axle": 0,
"hgvs_4_or_more_rigid_axle": 0,
"hgvs_3_or_4_articulated_axle": 0,
"hgvs_5_articulated_axle": 0,
"hgvs_6_articulated_axle": 0,
"all_hgvs": 30,
"all_motor_vehicles": 1430
},
{
"id": 2,
"count_point_id": 51,
"year": 2001,
"region_id": 1,
"local_authority_id": 1,
"road_name": "A3111",
"road_category": "PA",
"road_type": "Major",
"start_junction_road_name": "Pierhead, Hugh Town",
"end_junction_road_name": "A3112",
"easting": 90200,
"northing": 10585,
"latitude": "49.91501492",
"longitude": "-6.31713812",
"link_length_km": "0.30",
"link_length_miles": "0.19",
"estimation_method": "Estimated",
"estimation_method_detailed": "Estimated using AADF from previous year on this link",
"pedal_cycles": 93,
"two_wheeled_motor_vehicles": 83,
"cars_and_taxis": 857,
"buses_and_coaches": 27,
"lgvs": 451,
"hgvs_2_rigid_axle": 28,
"hgvs_3_rigid_axle": 0,
"hgvs_4_or_more_rigid_axle": 0,
"hgvs_3_or_4_articulated_axle": 0,
"hgvs_5_articulated_axle": 0,
"hgvs_6_articulated_axle": 0,
"all_hgvs": 28,
"all_motor_vehicles": 1446
},
{
"id": 3,
"count_point_id": 51,
"year": 2002,
"region_id": 1,
"local_authority_id": 1,
"road_name": "A3111",
"road_category": "PA",
"road_type": "Major",
"start_junction_road_name": "Pierhead, Hugh Town",
"end_junction_road_name": "A3112",
"easting": 90200,
"northing": 10585,
"latitude": "49.91501492",
"longitude": "-6.31713812",
"link_length_km": "0.30",
"link_length_miles": "0.19",
"estimation_method": "Estimated",
"estimation_method_detailed": "Estimated using AADF from previous year on this link",
"pedal_cycles": 99,
"two_wheeled_motor_vehicles": 102,
"cars_and_taxis": 893,
"buses_and_coaches": 28,
"lgvs": 467,
"hgvs_2_rigid_axle": 28,
"hgvs_3_rigid_axle": 0,
"hgvs_4_or_more_rigid_axle": 0,
"hgvs_3_or_4_articulated_axle": 0,
"hgvs_5_articulated_axle": 0,
"hgvs_6_articulated_axle": 0,
"all_hgvs": 28,
"all_motor_vehicles": 1518
},
{
"id": 4,
"count_point_id": 51,
"year": 2003,
"region_id": 1,
"local_authority_id": 1,
"road_name": "A3111",
"road_category": "PA",
"road_type": "Major",
"start_junction_road_name": "Pierhead, Hugh Town",
"end_junction_road_name": "A3112",
"easting": 90200,
"northing": 10585,
"latitude": "49.91501492",
"longitude": "-6.31713812",
"link_length_km": "0.30",
"link_length_miles": "0.19",
"estimation_method": "Estimated",
"estimation_method_detailed": "Estimated using AADF from previous year on this link",
"pedal_cycles": 83,
"two_wheeled_motor_vehicles": 131,
"cars_and_taxis": 926,
"buses_and_coaches": 29,
"lgvs": 509,
"hgvs_2_rigid_axle": 27,
"hgvs_3_rigid_axle": 0,
"hgvs_4_or_more_rigid_axle": 0,
"hgvs_3_or_4_articulated_axle": 0,
"hgvs_5_articulated_axle": 0,
"hgvs_6_articulated_axle": 0,
"all_hgvs": 27,
"all_motor_vehicles": 1622
},
{
"id": 5,
"count_point_id": 51,
"year": 2004,
"region_id": 1,
"local_authority_id": 1,
"road_name": "A3111",
"road_category": "PA",
"road_type": "Major",
"start_junction_road_name": "Pierhead, Hugh Town",
"end_junction_road_name": "A3112",
"easting": 90200,
"northing": 10585,
"latitude": "49.91501492",
"longitude": "-6.31713812",
"link_length_km": "0.30",
"link_length_miles": "0.19",
"estimation_method": "Counted",
"estimation_method_detailed": "Manual count",
"pedal_cycles": 196,
"two_wheeled_motor_vehicles": 37,
"cars_and_taxis": 476,
"buses_and_coaches": 35,
"lgvs": 296,
"hgvs_2_rigid_axle": 77,
"hgvs_3_rigid_axle": 6,
"hgvs_4_or_more_rigid_axle": 0,
"hgvs_3_or_4_articulated_axle": 1,
"hgvs_5_articulated_axle": 0,
"hgvs_6_articulated_axle": 0,
"all_hgvs": 84,
"all_motor_vehicles": 928
}
],
"first_page_url": "https://roadtraffic.dft.gov.uk/api/average-annual-daily-flow?page%5Bsize%5D=5&page%5Bnumber%5D=1",
"from": 1,
"last_page": 4703,
"last_page_url": "https://roadtraffic.dft.gov.uk/api/average-annual-daily-flow?page%5Bsize%5D=5&page%5Bnumber%5D=4703",
"links": [
{
"url": null,
"label": "« Previous",
"active": false
},
{
"url": "https://roadtraffic.dft.gov.uk/api/average-annual-daily-flow?page%5Bsize%5D=5&page%5Bnumber%5D=1",
"label": "1",
"active": true
},
{
"url": "https://roadtraffic.dft.gov.uk/api/average-annual-daily-flow?page%5Bsize%5D=5&page%5Bnumber%5D=2",
"label": "2",
"active": false
},
{
"url": "https://roadtraffic.dft.gov.uk/api/average-annual-daily-flow?page%5Bsize%5D=5&page%5Bnumber%5D=3",
"label": "3",
"active": false
},
{
"url": "https://roadtraffic.dft.gov.uk/api/average-annual-daily-flow?page%5Bsize%5D=5&page%5Bnumber%5D=4",
"label": "4",
"active": false
},
{
"url": "https://roadtraffic.dft.gov.uk/api/average-annual-daily-flow?page%5Bsize%5D=5&page%5Bnumber%5D=5",
"label": "5",
"active": false
},
{
"url": "https://roadtraffic.dft.gov.uk/api/average-annual-daily-flow?page%5Bsize%5D=5&page%5Bnumber%5D=6",
"label": "6",
"active": false
},
{
"url": "https://roadtraffic.dft.gov.uk/api/average-annual-daily-flow?page%5Bsize%5D=5&page%5Bnumber%5D=7",
"label": "7",
"active": false
},
{
"url": "https://roadtraffic.dft.gov.uk/api/average-annual-daily-flow?page%5Bsize%5D=5&page%5Bnumber%5D=8",
"label": "8",
"active": false
},
{
"url": "https://roadtraffic.dft.gov.uk/api/average-annual-daily-flow?page%5Bsize%5D=5&page%5Bnumber%5D=9",
"label": "9",
"active": false
},
{
"url": "https://roadtraffic.dft.gov.uk/api/average-annual-daily-flow?page%5Bsize%5D=5&page%5Bnumber%5D=10",
"label": "10",
"active": false
},
{
"url": null,
"label": "...",
"active": false
},
{
"url": "https://roadtraffic.dft.gov.uk/api/average-annual-daily-flow?page%5Bsize%5D=5&page%5Bnumber%5D=4702",
"label": "4702",
"active": false
},
{
"url": "https://roadtraffic.dft.gov.uk/api/average-annual-daily-flow?page%5Bsize%5D=5&page%5Bnumber%5D=4703",
"label": "4703",
"active": false
},
{
"url": "https://roadtraffic.dft.gov.uk/api/average-annual-daily-flow?page%5Bsize%5D=5&page%5Bnumber%5D=2",
"label": "Next »",
"active": false
}
],
"next_page_url": "https://roadtraffic.dft.gov.uk/api/average-annual-daily-flow?page%5Bsize%5D=5&page%5Bnumber%5D=2",
"path": "https://roadtraffic.dft.gov.uk/api/average-annual-daily-flow",
"per_page": 5,
"prev_page_url": null,
"to": 5,
"total": 23515
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Average Annual Daily Flow By Direction
List of Average Annual Daily Flow By Direction statistics
Get Average Annual Daily Flow By Direction statistics
List of Average Annual Daily Flow By Direction statistics
Example request:
curl --request GET \
--get "https://roadtraffic.dft.gov.uk/api/average-annual-daily-flow-by-direction?page%5Bsize%5D=5" \
--header "Content-Type: application/json" \
--header "Accept: application/json"import requests
import json
url = 'https://roadtraffic.dft.gov.uk/api/average-annual-daily-flow-by-direction'
params = {
'page[size]': '5',
}
headers = {
'Content-Type': 'application/json',
'Accept': 'application/json'
}
response = requests.request('GET', url, headers=headers, params=params)
response.json()Example response (200):
{
"current_page": 1,
"data": [
{
"id": 1,
"count_point_id": 51,
"year": 2000,
"region_id": 1,
"local_authority_id": 1,
"road_name": "A3111",
"road_category": "PA",
"road_type": "Major",
"start_junction_road_name": "Pierhead, Hugh Town",
"end_junction_road_name": "A3112",
"easting": 90200,
"northing": 10585,
"latitude": "49.91501492",
"longitude": "-6.31713812",
"link_length_km": "0.30",
"link_length_miles": "0.19",
"estimation_method": "Estimated",
"estimation_method_detailed": "Estimated using AADF from previous year on this link",
"direction_of_travel": "C",
"pedal_cycles": 105,
"two_wheeled_motor_vehicles": 87,
"cars_and_taxis": 837,
"buses_and_coaches": 25,
"lgvs": 451,
"hgvs_2_rigid_axle": 30,
"hgvs_3_rigid_axle": 0,
"hgvs_4_or_more_rigid_axle": 0,
"hgvs_3_or_4_articulated_axle": 0,
"hgvs_5_articulated_axle": 0,
"hgvs_6_articulated_axle": 0,
"all_hgvs": 30,
"all_motor_vehicles": 1430
},
{
"id": 2,
"count_point_id": 51,
"year": 2001,
"region_id": 1,
"local_authority_id": 1,
"road_name": "A3111",
"road_category": "PA",
"road_type": "Major",
"start_junction_road_name": "Pierhead, Hugh Town",
"end_junction_road_name": "A3112",
"easting": 90200,
"northing": 10585,
"latitude": "49.91501492",
"longitude": "-6.31713812",
"link_length_km": "0.30",
"link_length_miles": "0.19",
"estimation_method": "Estimated",
"estimation_method_detailed": "Estimated using AADF from previous year on this link",
"direction_of_travel": "C",
"pedal_cycles": 93,
"two_wheeled_motor_vehicles": 83,
"cars_and_taxis": 857,
"buses_and_coaches": 27,
"lgvs": 451,
"hgvs_2_rigid_axle": 28,
"hgvs_3_rigid_axle": 0,
"hgvs_4_or_more_rigid_axle": 0,
"hgvs_3_or_4_articulated_axle": 0,
"hgvs_5_articulated_axle": 0,
"hgvs_6_articulated_axle": 0,
"all_hgvs": 28,
"all_motor_vehicles": 1446
},
{
"id": 3,
"count_point_id": 51,
"year": 2002,
"region_id": 1,
"local_authority_id": 1,
"road_name": "A3111",
"road_category": "PA",
"road_type": "Major",
"start_junction_road_name": "Pierhead, Hugh Town",
"end_junction_road_name": "A3112",
"easting": 90200,
"northing": 10585,
"latitude": "49.91501492",
"longitude": "-6.31713812",
"link_length_km": "0.30",
"link_length_miles": "0.19",
"estimation_method": "Estimated",
"estimation_method_detailed": "Estimated using AADF from previous year on this link",
"direction_of_travel": "C",
"pedal_cycles": 99,
"two_wheeled_motor_vehicles": 102,
"cars_and_taxis": 893,
"buses_and_coaches": 28,
"lgvs": 467,
"hgvs_2_rigid_axle": 28,
"hgvs_3_rigid_axle": 0,
"hgvs_4_or_more_rigid_axle": 0,
"hgvs_3_or_4_articulated_axle": 0,
"hgvs_5_articulated_axle": 0,
"hgvs_6_articulated_axle": 0,
"all_hgvs": 28,
"all_motor_vehicles": 1518
},
{
"id": 4,
"count_point_id": 51,
"year": 2003,
"region_id": 1,
"local_authority_id": 1,
"road_name": "A3111",
"road_category": "PA",
"road_type": "Major",
"start_junction_road_name": "Pierhead, Hugh Town",
"end_junction_road_name": "A3112",
"easting": 90200,
"northing": 10585,
"latitude": "49.91501492",
"longitude": "-6.31713812",
"link_length_km": "0.30",
"link_length_miles": "0.19",
"estimation_method": "Estimated",
"estimation_method_detailed": "Estimated using AADF from previous year on this link",
"direction_of_travel": "C",
"pedal_cycles": 83,
"two_wheeled_motor_vehicles": 131,
"cars_and_taxis": 926,
"buses_and_coaches": 29,
"lgvs": 509,
"hgvs_2_rigid_axle": 27,
"hgvs_3_rigid_axle": 0,
"hgvs_4_or_more_rigid_axle": 0,
"hgvs_3_or_4_articulated_axle": 0,
"hgvs_5_articulated_axle": 0,
"hgvs_6_articulated_axle": 0,
"all_hgvs": 27,
"all_motor_vehicles": 1622
},
{
"id": 5,
"count_point_id": 51,
"year": 2004,
"region_id": 1,
"local_authority_id": 1,
"road_name": "A3111",
"road_category": "PA",
"road_type": "Major",
"start_junction_road_name": "Pierhead, Hugh Town",
"end_junction_road_name": "A3112",
"easting": 90200,
"northing": 10585,
"latitude": "49.91501492",
"longitude": "-6.31713812",
"link_length_km": "0.30",
"link_length_miles": "0.19",
"estimation_method": "Counted",
"estimation_method_detailed": "Manual count",
"direction_of_travel": "N",
"pedal_cycles": 103,
"two_wheeled_motor_vehicles": 19,
"cars_and_taxis": 208,
"buses_and_coaches": 20,
"lgvs": 128,
"hgvs_2_rigid_axle": 37,
"hgvs_3_rigid_axle": 6,
"hgvs_4_or_more_rigid_axle": 0,
"hgvs_3_or_4_articulated_axle": 1,
"hgvs_5_articulated_axle": 0,
"hgvs_6_articulated_axle": 0,
"all_hgvs": 44,
"all_motor_vehicles": 419
}
],
"first_page_url": "https://roadtraffic.dft.gov.uk/api/average-annual-daily-flow-by-direction?page%5Bsize%5D=5&page%5Bnumber%5D=1",
"from": 1,
"last_page": 9213,
"last_page_url": "https://roadtraffic.dft.gov.uk/api/average-annual-daily-flow-by-direction?page%5Bsize%5D=5&page%5Bnumber%5D=9213",
"links": [
{
"url": null,
"label": "« Previous",
"active": false
},
{
"url": "https://roadtraffic.dft.gov.uk/api/average-annual-daily-flow-by-direction?page%5Bsize%5D=5&page%5Bnumber%5D=1",
"label": "1",
"active": true
},
{
"url": "https://roadtraffic.dft.gov.uk/api/average-annual-daily-flow-by-direction?page%5Bsize%5D=5&page%5Bnumber%5D=2",
"label": "2",
"active": false
},
{
"url": "https://roadtraffic.dft.gov.uk/api/average-annual-daily-flow-by-direction?page%5Bsize%5D=5&page%5Bnumber%5D=3",
"label": "3",
"active": false
},
{
"url": "https://roadtraffic.dft.gov.uk/api/average-annual-daily-flow-by-direction?page%5Bsize%5D=5&page%5Bnumber%5D=4",
"label": "4",
"active": false
},
{
"url": "https://roadtraffic.dft.gov.uk/api/average-annual-daily-flow-by-direction?page%5Bsize%5D=5&page%5Bnumber%5D=5",
"label": "5",
"active": false
},
{
"url": "https://roadtraffic.dft.gov.uk/api/average-annual-daily-flow-by-direction?page%5Bsize%5D=5&page%5Bnumber%5D=6",
"label": "6",
"active": false
},
{
"url": "https://roadtraffic.dft.gov.uk/api/average-annual-daily-flow-by-direction?page%5Bsize%5D=5&page%5Bnumber%5D=7",
"label": "7",
"active": false
},
{
"url": "https://roadtraffic.dft.gov.uk/api/average-annual-daily-flow-by-direction?page%5Bsize%5D=5&page%5Bnumber%5D=8",
"label": "8",
"active": false
},
{
"url": "https://roadtraffic.dft.gov.uk/api/average-annual-daily-flow-by-direction?page%5Bsize%5D=5&page%5Bnumber%5D=9",
"label": "9",
"active": false
},
{
"url": "https://roadtraffic.dft.gov.uk/api/average-annual-daily-flow-by-direction?page%5Bsize%5D=5&page%5Bnumber%5D=10",
"label": "10",
"active": false
},
{
"url": null,
"label": "...",
"active": false
},
{
"url": "https://roadtraffic.dft.gov.uk/api/average-annual-daily-flow-by-direction?page%5Bsize%5D=5&page%5Bnumber%5D=9212",
"label": "9212",
"active": false
},
{
"url": "https://roadtraffic.dft.gov.uk/api/average-annual-daily-flow-by-direction?page%5Bsize%5D=5&page%5Bnumber%5D=9213",
"label": "9213",
"active": false
},
{
"url": "https://roadtraffic.dft.gov.uk/api/average-annual-daily-flow-by-direction?page%5Bsize%5D=5&page%5Bnumber%5D=2",
"label": "Next »",
"active": false
}
],
"next_page_url": "https://roadtraffic.dft.gov.uk/api/average-annual-daily-flow-by-direction?page%5Bsize%5D=5&page%5Bnumber%5D=2",
"path": "https://roadtraffic.dft.gov.uk/api/average-annual-daily-flow-by-direction",
"per_page": 5,
"prev_page_url": null,
"to": 5,
"total": 46062
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Count Points
List of Count Points
Get Count Points
List of Count Points
Example request:
curl --request GET \
--get "https://roadtraffic.dft.gov.uk/api/count-points?page%5Bsize%5D=5" \
--header "Content-Type: application/json" \
--header "Accept: application/json"import requests
import json
url = 'https://roadtraffic.dft.gov.uk/api/count-points'
params = {
'page[size]': '5',
}
headers = {
'Content-Type': 'application/json',
'Accept': 'application/json'
}
response = requests.request('GET', url, headers=headers, params=params)
response.json()Example response (200):
{
"current_page": 1,
"data": [
{
"id": 51,
"count_point_id": 51,
"aadf_year": 2024,
"region_id": 1,
"local_authority_id": 1,
"road_name": "A3111",
"road_category": "PA",
"road_type": "Major",
"start_junction_road_name": "Pierhead, Hugh Town",
"end_junction_road_name": "A3112",
"easting": 90173,
"northing": 10641,
"latitude": "49.91550316",
"longitude": "-6.31755805",
"link_length_km": "0.30",
"link_length_miles": "0.19"
},
{
"id": 52,
"count_point_id": 52,
"aadf_year": 2024,
"region_id": 1,
"local_authority_id": 1,
"road_name": "A3112",
"road_category": "PA",
"road_type": "Major",
"start_junction_road_name": "A3111",
"end_junction_road_name": "A3110",
"easting": 91203,
"northing": 10217,
"latitude": "49.91223308",
"longitude": "-6.30291304",
"link_length_km": "2.00",
"link_length_miles": "1.24"
},
{
"id": 53,
"count_point_id": 53,
"aadf_year": 2024,
"region_id": 1,
"local_authority_id": 1,
"road_name": "A3111",
"road_category": "PA",
"road_type": "Major",
"start_junction_road_name": "A3112",
"end_junction_road_name": "A3110",
"easting": 90782,
"northing": 10687,
"latitude": "49.91623084",
"longitude": "-6.30913635",
"link_length_km": "1.20",
"link_length_miles": "0.75"
},
{
"id": 54,
"count_point_id": 54,
"aadf_year": 2024,
"region_id": 1,
"local_authority_id": 1,
"road_name": "A3110",
"road_category": "PA",
"road_type": "Major",
"start_junction_road_name": "A3111",
"end_junction_road_name": "A3112",
"easting": 91515,
"northing": 10820,
"latitude": "49.91780213",
"longitude": "-6.29906151",
"link_length_km": "0.30",
"link_length_miles": "0.19"
},
{
"id": 55,
"count_point_id": 55,
"aadf_year": 2024,
"region_id": 1,
"local_authority_id": 1,
"road_name": "A3110",
"road_category": "PA",
"road_type": "Major",
"start_junction_road_name": "A3111",
"end_junction_road_name": "A3112",
"easting": 91664,
"northing": 10833,
"latitude": "49.91799555",
"longitude": "-6.29700225",
"link_length_km": "4.00",
"link_length_miles": "2.49"
}
],
"first_page_url": "https://roadtraffic.dft.gov.uk/api/count-points?page%5Bsize%5D=5&page%5Bnumber%5D=1",
"from": 1,
"last_page": 200,
"last_page_url": "https://roadtraffic.dft.gov.uk/api/count-points?page%5Bsize%5D=5&page%5Bnumber%5D=200",
"links": [
{
"url": null,
"label": "« Previous",
"active": false
},
{
"url": "https://roadtraffic.dft.gov.uk/api/count-points?page%5Bsize%5D=5&page%5Bnumber%5D=1",
"label": "1",
"active": true
},
{
"url": "https://roadtraffic.dft.gov.uk/api/count-points?page%5Bsize%5D=5&page%5Bnumber%5D=2",
"label": "2",
"active": false
},
{
"url": "https://roadtraffic.dft.gov.uk/api/count-points?page%5Bsize%5D=5&page%5Bnumber%5D=3",
"label": "3",
"active": false
},
{
"url": "https://roadtraffic.dft.gov.uk/api/count-points?page%5Bsize%5D=5&page%5Bnumber%5D=4",
"label": "4",
"active": false
},
{
"url": "https://roadtraffic.dft.gov.uk/api/count-points?page%5Bsize%5D=5&page%5Bnumber%5D=5",
"label": "5",
"active": false
},
{
"url": "https://roadtraffic.dft.gov.uk/api/count-points?page%5Bsize%5D=5&page%5Bnumber%5D=6",
"label": "6",
"active": false
},
{
"url": "https://roadtraffic.dft.gov.uk/api/count-points?page%5Bsize%5D=5&page%5Bnumber%5D=7",
"label": "7",
"active": false
},
{
"url": "https://roadtraffic.dft.gov.uk/api/count-points?page%5Bsize%5D=5&page%5Bnumber%5D=8",
"label": "8",
"active": false
},
{
"url": "https://roadtraffic.dft.gov.uk/api/count-points?page%5Bsize%5D=5&page%5Bnumber%5D=9",
"label": "9",
"active": false
},
{
"url": "https://roadtraffic.dft.gov.uk/api/count-points?page%5Bsize%5D=5&page%5Bnumber%5D=10",
"label": "10",
"active": false
},
{
"url": null,
"label": "...",
"active": false
},
{
"url": "https://roadtraffic.dft.gov.uk/api/count-points?page%5Bsize%5D=5&page%5Bnumber%5D=199",
"label": "199",
"active": false
},
{
"url": "https://roadtraffic.dft.gov.uk/api/count-points?page%5Bsize%5D=5&page%5Bnumber%5D=200",
"label": "200",
"active": false
},
{
"url": "https://roadtraffic.dft.gov.uk/api/count-points?page%5Bsize%5D=5&page%5Bnumber%5D=2",
"label": "Next »",
"active": false
}
],
"next_page_url": "https://roadtraffic.dft.gov.uk/api/count-points?page%5Bsize%5D=5&page%5Bnumber%5D=2",
"path": "https://roadtraffic.dft.gov.uk/api/count-points",
"per_page": 5,
"prev_page_url": null,
"to": 5,
"total": 1000
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Countries
List of countries used across road traffic statistics
Get Countries
List of Countries and attributes.
Example request:
curl --request GET \
--get "https://roadtraffic.dft.gov.uk/api/countries" \
--header "Content-Type: application/json" \
--header "Accept: application/json"import requests
import json
url = 'https://roadtraffic.dft.gov.uk/api/countries'
headers = {
'Content-Type': 'application/json',
'Accept': 'application/json'
}
response = requests.request('GET', url, headers=headers)
response.json()Example response (200):
Show headers
cache-control: no-cache, private
content-type: application/json
x-ratelimit-limit: 60
x-ratelimit-remaining: 59
content-security-policy: base-uri 'self';connect-src 'self' https://region1.google-analytics.com https://maps.googleapis.com https://places.googleapis.com;font-src 'self' https://fonts.gstatic.com;default-src 'self';form-action 'self';media-src 'self';object-src 'none';script-src 'self' https://www.googletagmanager.com https://region1.google-analytics.com 'nonce-k7eH1W0mEuS2yrphBQVDtzSZefAmVWr3';style-src 'self' 'unsafe-inline' https://fonts.googleapis.com;img-src 'self' data: https://maps.gstatic.com https://www.googletagmanager.com https://streetviewpixels-pa.googleapis.com https://maps.googleapis.com https://mapsresources-pa.googleapis.com https://khmdb0.google.com https://khmdb0.googleapis.com https://khmdb1.google.com https://khmdb1.googleapis.com https://khm.google.com https://khm.googleapis.com https://khm0.google.com https://khm0.googleapis.com https://khm1.google.com https://khm1.googleapis.com https://khms0.google.com https://khms0.googleapis.com https://khms1.google.com https://khms1.googleapis.com https://khms2.google.com https://khms2.googleapis.com https://khms3.google.com https://khms3.googleapis.com https://keyhole-pa.googleapis.com https://googleapis.l.google.com https://clients.l.google.com https://maps.l.google.com https://mt.l.google.com https://khm.l.google.com https://csi.gstatic.com https://geo0.ggpht.com https://geo1.ggpht.com https://geo2.ggpht.com https://geo3.ggpht.com https://lh3.ggpht.com https://lh4.ggpht.com https://lh5.ggpht.com https://lh6.ggpht.com https://cbks0.google.com https://cbks0.googleapis.com https://cbks1.google.com https://cbks1.googleapis.com https://cbks2.google.com https://cbks2.googleapis.com https://cbks3.google.com https://cbks3.googleapis.com https://lh3.googleusercontent.com https://lh4.googleusercontent.com https://lh5.googleusercontent.com https://lh6.googleusercontent.com https://fonts.googleapis.com
x-frame-options: Deny
x-content-type-options: nosniff
access-control-allow-origin: *
[
{
"id": 1,
"name": "England",
"ons_code": "E92000001"
},
{
"id": 6,
"name": "Scotland",
"ons_code": "S92000003"
},
{
"id": 7,
"name": "Wales",
"ons_code": "W92000004"
}
]
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Local authorities
List of local authorities
Local authorities
List of local authorities and their attributes
Local authority traffic
List of local authority traffic statistics
Local authority traffic
List of local authority traffic statistics and attributes
Raw Counts
List of Raw Counts statistics
Get Raw Counts statistics
List of Raw Counts statistics
Example request:
curl --request GET \
--get "https://roadtraffic.dft.gov.uk/api/raw-counts?page%5Bsize%5D=5" \
--header "Content-Type: application/json" \
--header "Accept: application/json"import requests
import json
url = 'https://roadtraffic.dft.gov.uk/api/raw-counts'
params = {
'page[size]': '5',
}
headers = {
'Content-Type': 'application/json',
'Accept': 'application/json'
}
response = requests.request('GET', url, headers=headers, params=params)
response.json()Example response (200):
{
"current_page": 1,
"data": [
{
"id": 1,
"count_point_id": 51,
"direction_of_travel": "S",
"year": 2004,
"count_date": "2004-05-21",
"hour": 11,
"region_id": 1,
"local_authority_id": 1,
"road_name": "A3111",
"road_category": "PA",
"road_type": "Major",
"start_junction_road_name": "Pierhead, Hugh Town",
"end_junction_road_name": "A3112",
"easting": 90200,
"northing": 10585,
"latitude": "49.91501492",
"longitude": "-6.31713812",
"link_length_km": "0.30",
"link_length_miles": "0.19",
"pedal_cycles": 12,
"two_wheeled_motor_vehicles": 2,
"cars_and_taxis": 27,
"buses_and_coaches": 2,
"lgvs": 16,
"hgvs_2_rigid_axle": 2,
"hgvs_3_rigid_axle": 0,
"hgvs_4_or_more_rigid_axle": 0,
"hgvs_3_or_4_articulated_axle": 0,
"hgvs_5_articulated_axle": 0,
"hgvs_6_articulated_axle": 0,
"all_hgvs": 2,
"all_motor_vehicles": 49
},
{
"id": 2,
"count_point_id": 51,
"direction_of_travel": "S",
"year": 2004,
"count_date": "2004-05-21",
"hour": 15,
"region_id": 1,
"local_authority_id": 1,
"road_name": "A3111",
"road_category": "PA",
"road_type": "Major",
"start_junction_road_name": "Pierhead, Hugh Town",
"end_junction_road_name": "A3112",
"easting": 90200,
"northing": 10585,
"latitude": "49.91501492",
"longitude": "-6.31713812",
"link_length_km": "0.30",
"link_length_miles": "0.19",
"pedal_cycles": 10,
"two_wheeled_motor_vehicles": 1,
"cars_and_taxis": 29,
"buses_and_coaches": 1,
"lgvs": 13,
"hgvs_2_rigid_axle": 2,
"hgvs_3_rigid_axle": 0,
"hgvs_4_or_more_rigid_axle": 0,
"hgvs_3_or_4_articulated_axle": 0,
"hgvs_5_articulated_axle": 0,
"hgvs_6_articulated_axle": 0,
"all_hgvs": 2,
"all_motor_vehicles": 46
},
{
"id": 3,
"count_point_id": 51,
"direction_of_travel": "S",
"year": 2004,
"count_date": "2004-05-21",
"hour": 13,
"region_id": 1,
"local_authority_id": 1,
"road_name": "A3111",
"road_category": "PA",
"road_type": "Major",
"start_junction_road_name": "Pierhead, Hugh Town",
"end_junction_road_name": "A3112",
"easting": 90200,
"northing": 10585,
"latitude": "49.91501492",
"longitude": "-6.31713812",
"link_length_km": "0.30",
"link_length_miles": "0.19",
"pedal_cycles": 7,
"two_wheeled_motor_vehicles": 0,
"cars_and_taxis": 21,
"buses_and_coaches": 2,
"lgvs": 23,
"hgvs_2_rigid_axle": 5,
"hgvs_3_rigid_axle": 0,
"hgvs_4_or_more_rigid_axle": 0,
"hgvs_3_or_4_articulated_axle": 0,
"hgvs_5_articulated_axle": 0,
"hgvs_6_articulated_axle": 0,
"all_hgvs": 5,
"all_motor_vehicles": 51
},
{
"id": 4,
"count_point_id": 51,
"direction_of_travel": "N",
"year": 2004,
"count_date": "2004-05-21",
"hour": 7,
"region_id": 1,
"local_authority_id": 1,
"road_name": "A3111",
"road_category": "PA",
"road_type": "Major",
"start_junction_road_name": "Pierhead, Hugh Town",
"end_junction_road_name": "A3112",
"easting": 90200,
"northing": 10585,
"latitude": "49.91501492",
"longitude": "-6.31713812",
"link_length_km": "0.30",
"link_length_miles": "0.19",
"pedal_cycles": 5,
"two_wheeled_motor_vehicles": 2,
"cars_and_taxis": 3,
"buses_and_coaches": 1,
"lgvs": 13,
"hgvs_2_rigid_axle": 0,
"hgvs_3_rigid_axle": 0,
"hgvs_4_or_more_rigid_axle": 0,
"hgvs_3_or_4_articulated_axle": 0,
"hgvs_5_articulated_axle": 0,
"hgvs_6_articulated_axle": 0,
"all_hgvs": 0,
"all_motor_vehicles": 19
},
{
"id": 5,
"count_point_id": 51,
"direction_of_travel": "N",
"year": 2004,
"count_date": "2004-05-21",
"hour": 10,
"region_id": 1,
"local_authority_id": 1,
"road_name": "A3111",
"road_category": "PA",
"road_type": "Major",
"start_junction_road_name": "Pierhead, Hugh Town",
"end_junction_road_name": "A3112",
"easting": 90200,
"northing": 10585,
"latitude": "49.91501492",
"longitude": "-6.31713812",
"link_length_km": "0.30",
"link_length_miles": "0.19",
"pedal_cycles": 5,
"two_wheeled_motor_vehicles": 1,
"cars_and_taxis": 28,
"buses_and_coaches": 4,
"lgvs": 4,
"hgvs_2_rigid_axle": 4,
"hgvs_3_rigid_axle": 0,
"hgvs_4_or_more_rigid_axle": 0,
"hgvs_3_or_4_articulated_axle": 0,
"hgvs_5_articulated_axle": 0,
"hgvs_6_articulated_axle": 0,
"all_hgvs": 4,
"all_motor_vehicles": 41
}
],
"first_page_url": "https://roadtraffic.dft.gov.uk/api/raw-counts?page%5Bsize%5D=5&page%5Bnumber%5D=1",
"from": 1,
"last_page": 29278,
"last_page_url": "https://roadtraffic.dft.gov.uk/api/raw-counts?page%5Bsize%5D=5&page%5Bnumber%5D=29278",
"links": [
{
"url": null,
"label": "« Previous",
"active": false
},
{
"url": "https://roadtraffic.dft.gov.uk/api/raw-counts?page%5Bsize%5D=5&page%5Bnumber%5D=1",
"label": "1",
"active": true
},
{
"url": "https://roadtraffic.dft.gov.uk/api/raw-counts?page%5Bsize%5D=5&page%5Bnumber%5D=2",
"label": "2",
"active": false
},
{
"url": "https://roadtraffic.dft.gov.uk/api/raw-counts?page%5Bsize%5D=5&page%5Bnumber%5D=3",
"label": "3",
"active": false
},
{
"url": "https://roadtraffic.dft.gov.uk/api/raw-counts?page%5Bsize%5D=5&page%5Bnumber%5D=4",
"label": "4",
"active": false
},
{
"url": "https://roadtraffic.dft.gov.uk/api/raw-counts?page%5Bsize%5D=5&page%5Bnumber%5D=5",
"label": "5",
"active": false
},
{
"url": "https://roadtraffic.dft.gov.uk/api/raw-counts?page%5Bsize%5D=5&page%5Bnumber%5D=6",
"label": "6",
"active": false
},
{
"url": "https://roadtraffic.dft.gov.uk/api/raw-counts?page%5Bsize%5D=5&page%5Bnumber%5D=7",
"label": "7",
"active": false
},
{
"url": "https://roadtraffic.dft.gov.uk/api/raw-counts?page%5Bsize%5D=5&page%5Bnumber%5D=8",
"label": "8",
"active": false
},
{
"url": "https://roadtraffic.dft.gov.uk/api/raw-counts?page%5Bsize%5D=5&page%5Bnumber%5D=9",
"label": "9",
"active": false
},
{
"url": "https://roadtraffic.dft.gov.uk/api/raw-counts?page%5Bsize%5D=5&page%5Bnumber%5D=10",
"label": "10",
"active": false
},
{
"url": null,
"label": "...",
"active": false
},
{
"url": "https://roadtraffic.dft.gov.uk/api/raw-counts?page%5Bsize%5D=5&page%5Bnumber%5D=29277",
"label": "29277",
"active": false
},
{
"url": "https://roadtraffic.dft.gov.uk/api/raw-counts?page%5Bsize%5D=5&page%5Bnumber%5D=29278",
"label": "29278",
"active": false
},
{
"url": "https://roadtraffic.dft.gov.uk/api/raw-counts?page%5Bsize%5D=5&page%5Bnumber%5D=2",
"label": "Next »",
"active": false
}
],
"next_page_url": "https://roadtraffic.dft.gov.uk/api/raw-counts?page%5Bsize%5D=5&page%5Bnumber%5D=2",
"path": "https://roadtraffic.dft.gov.uk/api/raw-counts",
"per_page": 5,
"prev_page_url": null,
"to": 5,
"total": 146388
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Regions
List of regions
Get regions
List of regions and attributes
Example request:
curl --request GET \
--get "https://roadtraffic.dft.gov.uk/api/regions" \
--header "Content-Type: application/json" \
--header "Accept: application/json"import requests
import json
url = 'https://roadtraffic.dft.gov.uk/api/regions'
headers = {
'Content-Type': 'application/json',
'Accept': 'application/json'
}
response = requests.request('GET', url, headers=headers)
response.json()Example response (200):
Show headers
cache-control: no-cache, private
content-type: application/json
x-ratelimit-limit: 60
x-ratelimit-remaining: 58
content-security-policy: base-uri 'self';connect-src 'self' https://region1.google-analytics.com https://maps.googleapis.com https://places.googleapis.com;font-src 'self' https://fonts.gstatic.com;default-src 'self';form-action 'self';media-src 'self';object-src 'none';script-src 'self' https://www.googletagmanager.com https://region1.google-analytics.com 'nonce-k7eH1W0mEuS2yrphBQVDtzSZefAmVWr3';style-src 'self' 'unsafe-inline' https://fonts.googleapis.com;img-src 'self' data: https://maps.gstatic.com https://www.googletagmanager.com https://streetviewpixels-pa.googleapis.com https://maps.googleapis.com https://mapsresources-pa.googleapis.com https://khmdb0.google.com https://khmdb0.googleapis.com https://khmdb1.google.com https://khmdb1.googleapis.com https://khm.google.com https://khm.googleapis.com https://khm0.google.com https://khm0.googleapis.com https://khm1.google.com https://khm1.googleapis.com https://khms0.google.com https://khms0.googleapis.com https://khms1.google.com https://khms1.googleapis.com https://khms2.google.com https://khms2.googleapis.com https://khms3.google.com https://khms3.googleapis.com https://keyhole-pa.googleapis.com https://googleapis.l.google.com https://clients.l.google.com https://maps.l.google.com https://mt.l.google.com https://khm.l.google.com https://csi.gstatic.com https://geo0.ggpht.com https://geo1.ggpht.com https://geo2.ggpht.com https://geo3.ggpht.com https://lh3.ggpht.com https://lh4.ggpht.com https://lh5.ggpht.com https://lh6.ggpht.com https://cbks0.google.com https://cbks0.googleapis.com https://cbks1.google.com https://cbks1.googleapis.com https://cbks2.google.com https://cbks2.googleapis.com https://cbks3.google.com https://cbks3.googleapis.com https://lh3.googleusercontent.com https://lh4.googleusercontent.com https://lh5.googleusercontent.com https://lh6.googleusercontent.com https://fonts.googleapis.com
x-frame-options: Deny
x-content-type-options: nosniff
access-control-allow-origin: *
[
{
"id": 1,
"name": "South West",
"ons_code": "E12000009",
"country_id": 1
},
{
"id": 2,
"name": "East Midlands",
"ons_code": "E12000004",
"country_id": 1
},
{
"id": 3,
"name": "Scotland",
"ons_code": "S92000003",
"country_id": 6
},
{
"id": 4,
"name": "Wales",
"ons_code": "W92000004",
"country_id": 7
},
{
"id": 5,
"name": "North West",
"ons_code": "E12000002",
"country_id": 1
},
{
"id": 6,
"name": "London",
"ons_code": "E12000007",
"country_id": 1
},
{
"id": 7,
"name": "East of England",
"ons_code": "E12000006",
"country_id": 1
},
{
"id": 8,
"name": "Yorkshire and The Humber",
"ons_code": "E12000003",
"country_id": 1
},
{
"id": 9,
"name": "South East",
"ons_code": "E12000008",
"country_id": 1
},
{
"id": 10,
"name": "West Midlands",
"ons_code": "E12000005",
"country_id": 1
},
{
"id": 11,
"name": "North East",
"ons_code": "E12000001",
"country_id": 1
}
]
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Region traffic by road type
List of region traffic by road type statistics
Get region traffic by road type
List of region traffic by road type statistics
Example request:
curl --request GET \
--get "https://roadtraffic.dft.gov.uk/api/region-traffic-by-road-type?page%5Bsize%5D=5" \
--header "Content-Type: application/json" \
--header "Accept: application/json"import requests
import json
url = 'https://roadtraffic.dft.gov.uk/api/region-traffic-by-road-type'
params = {
'page[size]': '5',
}
headers = {
'Content-Type': 'application/json',
'Accept': 'application/json'
}
response = requests.request('GET', url, headers=headers, params=params)
response.json()Example response (200):
{
"current_page": 1,
"data": [
{
"id": 1,
"year": 1993,
"region_id": 1,
"road_category": "TM",
"total_link_length_km": 301.34,
"total_link_length_miles": 187.24,
"all_motor_vehicles": 3465800000
},
{
"id": 2,
"year": 1993,
"region_id": 1,
"road_category": "TA",
"total_link_length_km": 993.59,
"total_link_length_miles": 617.39,
"all_motor_vehicles": 3484700000
},
{
"id": 3,
"year": 1993,
"region_id": 1,
"road_category": "PA",
"total_link_length_km": 3874.92,
"total_link_length_miles": 2407.76,
"all_motor_vehicles": 7794000000
},
{
"id": 4,
"year": 1993,
"region_id": 1,
"road_category": "M",
"total_link_length_km": 43581.7,
"total_link_length_miles": 27080.41,
"all_motor_vehicles": 9112000000
},
{
"id": 5,
"year": 1993,
"region_id": 2,
"road_category": "TM",
"total_link_length_km": 178.61,
"total_link_length_miles": 110.98,
"all_motor_vehicles": 2736700000
}
],
"first_page_url": "https://roadtraffic.dft.gov.uk/api/region-traffic-by-road-type?page%5Bsize%5D=5&page%5Bnumber%5D=1",
"from": 1,
"last_page": 325,
"last_page_url": "https://roadtraffic.dft.gov.uk/api/region-traffic-by-road-type?page%5Bsize%5D=5&page%5Bnumber%5D=325",
"links": [
{
"url": null,
"label": "« Previous",
"active": false
},
{
"url": "https://roadtraffic.dft.gov.uk/api/region-traffic-by-road-type?page%5Bsize%5D=5&page%5Bnumber%5D=1",
"label": "1",
"active": true
},
{
"url": "https://roadtraffic.dft.gov.uk/api/region-traffic-by-road-type?page%5Bsize%5D=5&page%5Bnumber%5D=2",
"label": "2",
"active": false
},
{
"url": "https://roadtraffic.dft.gov.uk/api/region-traffic-by-road-type?page%5Bsize%5D=5&page%5Bnumber%5D=3",
"label": "3",
"active": false
},
{
"url": "https://roadtraffic.dft.gov.uk/api/region-traffic-by-road-type?page%5Bsize%5D=5&page%5Bnumber%5D=4",
"label": "4",
"active": false
},
{
"url": "https://roadtraffic.dft.gov.uk/api/region-traffic-by-road-type?page%5Bsize%5D=5&page%5Bnumber%5D=5",
"label": "5",
"active": false
},
{
"url": "https://roadtraffic.dft.gov.uk/api/region-traffic-by-road-type?page%5Bsize%5D=5&page%5Bnumber%5D=6",
"label": "6",
"active": false
},
{
"url": "https://roadtraffic.dft.gov.uk/api/region-traffic-by-road-type?page%5Bsize%5D=5&page%5Bnumber%5D=7",
"label": "7",
"active": false
},
{
"url": "https://roadtraffic.dft.gov.uk/api/region-traffic-by-road-type?page%5Bsize%5D=5&page%5Bnumber%5D=8",
"label": "8",
"active": false
},
{
"url": "https://roadtraffic.dft.gov.uk/api/region-traffic-by-road-type?page%5Bsize%5D=5&page%5Bnumber%5D=9",
"label": "9",
"active": false
},
{
"url": "https://roadtraffic.dft.gov.uk/api/region-traffic-by-road-type?page%5Bsize%5D=5&page%5Bnumber%5D=10",
"label": "10",
"active": false
},
{
"url": null,
"label": "...",
"active": false
},
{
"url": "https://roadtraffic.dft.gov.uk/api/region-traffic-by-road-type?page%5Bsize%5D=5&page%5Bnumber%5D=324",
"label": "324",
"active": false
},
{
"url": "https://roadtraffic.dft.gov.uk/api/region-traffic-by-road-type?page%5Bsize%5D=5&page%5Bnumber%5D=325",
"label": "325",
"active": false
},
{
"url": "https://roadtraffic.dft.gov.uk/api/region-traffic-by-road-type?page%5Bsize%5D=5&page%5Bnumber%5D=2",
"label": "Next »",
"active": false
}
],
"next_page_url": "https://roadtraffic.dft.gov.uk/api/region-traffic-by-road-type?page%5Bsize%5D=5&page%5Bnumber%5D=2",
"path": "https://roadtraffic.dft.gov.uk/api/region-traffic-by-road-type",
"per_page": 5,
"prev_page_url": null,
"to": 5,
"total": 1623
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Region traffic by vehicle type
List of region traffic by vehicle type statistics
Get region traffic by vehicle type
List of region traffic by vehicle type statistics
Example request:
curl --request GET \
--get "https://roadtraffic.dft.gov.uk/api/region-traffic-by-vehicle-type?page%5Bsize%5D=5" \
--header "Content-Type: application/json" \
--header "Accept: application/json"import requests
import json
url = 'https://roadtraffic.dft.gov.uk/api/region-traffic-by-vehicle-type'
params = {
'page[size]': '5',
}
headers = {
'Content-Type': 'application/json',
'Accept': 'application/json'
}
response = requests.request('GET', url, headers=headers, params=params)
response.json()Example response (200):
{
"current_page": 1,
"data": [
{
"id": 1,
"year": 1993,
"region_id": 1,
"total_link_length_km": 48751.55,
"total_link_length_miles": 30292.81,
"pedal_cycles": 228000000,
"two_wheeled_motor_vehicles": 289900000,
"cars_and_taxis": 19674300000,
"buses_and_coaches": 245000000,
"lgvs": 2351700000,
"all_hgvs": 1295600000,
"all_motor_vehicles": 23856600000
},
{
"id": 2,
"year": 1993,
"region_id": 2,
"total_link_length_km": 30681.75,
"total_link_length_miles": 19064.76,
"pedal_cycles": 199700000,
"two_wheeled_motor_vehicles": 172800000,
"cars_and_taxis": 16200200000,
"buses_and_coaches": 190100000,
"lgvs": 2082200000,
"all_hgvs": 1647100000,
"all_motor_vehicles": 20292400000
},
{
"id": 3,
"year": 1993,
"region_id": 3,
"total_link_length_km": 58532.65,
"total_link_length_miles": 36370.5,
"pedal_cycles": 147300000,
"two_wheeled_motor_vehicles": 126400000,
"cars_and_taxis": 17677600000,
"buses_and_coaches": 334300000,
"lgvs": 2231000000,
"all_hgvs": 1339900000,
"all_motor_vehicles": 21709300000
},
{
"id": 4,
"year": 1993,
"region_id": 4,
"total_link_length_km": 32543.5,
"total_link_length_miles": 20221.59,
"pedal_cycles": 81700000,
"two_wheeled_motor_vehicles": 104600000,
"cars_and_taxis": 11278800000,
"buses_and_coaches": 156300000,
"lgvs": 1452700000,
"all_hgvs": 735200000,
"all_motor_vehicles": 13727600000
},
{
"id": 5,
"year": 1993,
"region_id": 5,
"total_link_length_km": 35952.6,
"total_link_length_miles": 22339.91,
"pedal_cycles": 251400000,
"two_wheeled_motor_vehicles": 199200000,
"cars_and_taxis": 23730000000,
"buses_and_coaches": 339800000,
"lgvs": 2801800000,
"all_hgvs": 1834400000,
"all_motor_vehicles": 28905200000
}
],
"first_page_url": "https://roadtraffic.dft.gov.uk/api/region-traffic-by-vehicle-type?page%5Bsize%5D=5&page%5Bnumber%5D=1",
"from": 1,
"last_page": 71,
"last_page_url": "https://roadtraffic.dft.gov.uk/api/region-traffic-by-vehicle-type?page%5Bsize%5D=5&page%5Bnumber%5D=71",
"links": [
{
"url": null,
"label": "« Previous",
"active": false
},
{
"url": "https://roadtraffic.dft.gov.uk/api/region-traffic-by-vehicle-type?page%5Bsize%5D=5&page%5Bnumber%5D=1",
"label": "1",
"active": true
},
{
"url": "https://roadtraffic.dft.gov.uk/api/region-traffic-by-vehicle-type?page%5Bsize%5D=5&page%5Bnumber%5D=2",
"label": "2",
"active": false
},
{
"url": "https://roadtraffic.dft.gov.uk/api/region-traffic-by-vehicle-type?page%5Bsize%5D=5&page%5Bnumber%5D=3",
"label": "3",
"active": false
},
{
"url": "https://roadtraffic.dft.gov.uk/api/region-traffic-by-vehicle-type?page%5Bsize%5D=5&page%5Bnumber%5D=4",
"label": "4",
"active": false
},
{
"url": "https://roadtraffic.dft.gov.uk/api/region-traffic-by-vehicle-type?page%5Bsize%5D=5&page%5Bnumber%5D=5",
"label": "5",
"active": false
},
{
"url": "https://roadtraffic.dft.gov.uk/api/region-traffic-by-vehicle-type?page%5Bsize%5D=5&page%5Bnumber%5D=6",
"label": "6",
"active": false
},
{
"url": "https://roadtraffic.dft.gov.uk/api/region-traffic-by-vehicle-type?page%5Bsize%5D=5&page%5Bnumber%5D=7",
"label": "7",
"active": false
},
{
"url": "https://roadtraffic.dft.gov.uk/api/region-traffic-by-vehicle-type?page%5Bsize%5D=5&page%5Bnumber%5D=8",
"label": "8",
"active": false
},
{
"url": "https://roadtraffic.dft.gov.uk/api/region-traffic-by-vehicle-type?page%5Bsize%5D=5&page%5Bnumber%5D=9",
"label": "9",
"active": false
},
{
"url": "https://roadtraffic.dft.gov.uk/api/region-traffic-by-vehicle-type?page%5Bsize%5D=5&page%5Bnumber%5D=10",
"label": "10",
"active": false
},
{
"url": null,
"label": "...",
"active": false
},
{
"url": "https://roadtraffic.dft.gov.uk/api/region-traffic-by-vehicle-type?page%5Bsize%5D=5&page%5Bnumber%5D=70",
"label": "70",
"active": false
},
{
"url": "https://roadtraffic.dft.gov.uk/api/region-traffic-by-vehicle-type?page%5Bsize%5D=5&page%5Bnumber%5D=71",
"label": "71",
"active": false
},
{
"url": "https://roadtraffic.dft.gov.uk/api/region-traffic-by-vehicle-type?page%5Bsize%5D=5&page%5Bnumber%5D=2",
"label": "Next »",
"active": false
}
],
"next_page_url": "https://roadtraffic.dft.gov.uk/api/region-traffic-by-vehicle-type?page%5Bsize%5D=5&page%5Bnumber%5D=2",
"path": "https://roadtraffic.dft.gov.uk/api/region-traffic-by-vehicle-type",
"per_page": 5,
"prev_page_url": null,
"to": 5,
"total": 352
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.