These endpoints tell you what data the API has in each country, and return the category tree for building pickers. The catalog is read from the data build itself, so it only changes when a country is rebuilt, and it says when that was. The category tree counts the places in the same build, including places that come from a single source. This means its counts are higher than the catalog's records, which count what the places endpoints return by default.
This page answers questions such as:
Required authentication header. Use the same application id as for the TravelTime API.
Required authentication header.
GET /v1/catalogReturns every country the API serves in one response. The response is read from the live data and rebuilt within five minutes of a data deploy. This endpoint is older than the response format that the other endpoints share, so it differs from them in the following ways:
- Country codes are upper case (
GB) - Layers are keyed by name
- There is no
resultsornext_cursor
This endpoint takes no parameters.
The response has a countries list, with one entry per country, sorted by name: {code, name, tier, bbox, last_refreshed, verified, layers}. In each entry:
tieris A for places and an environment layer, B for places only, and C for no placesbboxis[min_lng, min_lat, max_lng, max_lat]last_refreshedis when the places index was built, where that can be readlayersholdsplaces,gov_registers,land_cover,divisions,population,census,transportandenvironment, each as{available, sources, records, not_deployed}, whererecordscounts the records that carry each live sourceverifiedis false when the live read of the country failed. In that case, its tier and layers are what the country is registered for, which may include data that is not deployed
At the top level, generated_at is when the response was built, and sources is keyed by id, with each source as {name, publisher, licence, vintage, homepage, match_accuracy}. For a register, match_accuracy is {correct, lo, hi, sample, checked}: the share of a random sample of its matches that were judged to be the same place, with a 95% interval.
This example shows the entry for one country, at tier A and read from the live data. Its places come from Foursquare, OpenStreetMap and Overture. The response lists every source, including the government registers with their checked match accuracy.
Request
curl -H "X-Application-Id: YOUR_APP_ID" -H "X-Api-Key: YOUR_APP_KEY" \
"https://data.traveltimeapp.com/v1/catalog"| Namename | Codecode | Tiertier | Bboxbbox |
|---|---|---|---|
| United Kingdom | GB | A | -8.65, 49.84, 1.77 +1 |
All 1 shown
Response
{
"generated_at": "2026-10-17T10:38:19Z",
"countries": [
{
"code": "GB",
"name": "United Kingdom",
"tier": "A",
"bbox": [
-8.65,
49.84,
1.77,
60.86
],
"last_refreshed": "2026-10-18T13:59:41+00:00",
"verified": true,
"layers": {
"places": {
"available": true,
"sources": [
"fsq",
"osm",
"overture"
],
"records": {
"fsq": 3519909,
"osm": 983883,
"overture": 1892999
},
"not_deployed": []
},
"gov_registers": {
"available": true,
"sources": [
"fhrs",
"cqc",
"nhs",
"gias",
"gb_care_inspectorate",
"… 25 more"
],
"records": {
"fhrs": 302262,
"cqc": 41320,
"nhs": 47407,
"gias": 26173,
"gb_care_inspectorate": 2444,
"gb_scotland_schools": 2413,
"gb_wales_schools": 1328,
"ni_de_schools": 1034,
"gb_active_places": 37712,
"gb_courts": 382,
"gb_fire_stations": 1904,
"gb_police_stations": 319,
"gb_libraries": 3800,
"gb_sport_wales_leisure_centres": 95,
"gb_sport_wales_agp": 110,
"gb_sport_wales_grass_pitches": 106,
"gb_cadw_listed_buildings": 474,
"gb_spatial_hub": 8550,
"ni_bso_gp": 146,
"ni_bso_dental": 46,
"ni_bso_pharmacy": 247,
"ni_rqia": 488,
"gb_dvsa_mot": 15417,
"gb_ofsted_childcare": 11914,
"ni_bso_ophthalmic": 187,
"gb_os_greenspace": 21343,
"gb_companies_house": 55714,
"gb_hmrc_supervised": 5113,
"gb_council_rates": 535,
"gb_gro_worship": 768
},
"not_deployed": []
},
"land_cover": {
"available": true,
"sources": [
"overture"
],
"records": {
"overture": 120958
},
"not_deployed": []
},
"divisions": {
"available": true,
"sources": [
"osm",
"gb_ons_wards"
],
"records": {
"osm": 21798,
"gb_ons_wards": 8413
},
"not_deployed": []
},
"population": {
"available": true,
"sources": [
"worldpop"
],
"records": {
"worldpop": 548759
},
"not_deployed": [
"kontur"
]
},
"census": {
"available": true,
"sources": [
"census_gb"
],
"records": {
"census_gb": 542398
},
"not_deployed": []
},
"transport": {
"available": true,
"sources": [
"traveltime_pt"
],
"records": {
"traveltime_pt": 326290
},
"not_deployed": []
},
"environment": {
"available": true,
"sources": [
"env_gb_imd",
"env_gb_crime",
"env_gb_air",
"env_gb_broadband",
"env_gb_flood",
"… 1 more"
],
"records": {
"env_gb_imd": 507264,
"env_gb_crime": 536252,
"env_gb_air": 548698,
"env_gb_broadband": 543619,
"env_gb_flood": 1103490,
"env_gb_noise": 518217
},
"not_deployed": []
}
}
}
],
"sources": {
"fsq": {
"name": "Foursquare OS Places",
"publisher": "Foursquare Labs",
"licence": "Apache 2.0",
"vintage": "current Places Portal release",
"homepage": "https://places.foursquare.com/",
"match_accuracy": null
},
"osm": {
"name": "OpenStreetMap",
"publisher": "OpenStreetMap contributors",
"licence": "ODbL 1.0",
"vintage": "current Geofabrik country extract",
"homepage": "https://www.openstreetmap.org/",
"match_accuracy": null
},
"overture": {
"name": "Overture Maps",
"publisher": "Overture Maps Foundation",
"licence": "ODbL 1.0 (base theme); places by contributor: CDLA-Permissive 2.0, Apache 2.0, CC0",
"vintage": "2026-08-19.0",
"homepage": "https://overturemaps.org/",
"match_accuracy": null
},
"fhrs": {
"name": "Food Hygiene Rating Scheme (FHRS)",
"publisher": "Food Standards Agency",
"licence": "unverified",
"vintage": "continuous (live API)",
"homepage": "https://ratings.food.gov.uk/",
"match_accuracy": {
"correct": 0.98,
"lo": 0.93,
"hi": 0.9945,
"sample": 100,
"checked": 100
}
},
"cqc": {
"name": "Care Quality Commission (CQC)",
"publisher": "Care Quality Commission",
"licence": "unverified",
"vintage": "monthly care directory",
"homepage": "https://www.cqc.org.uk/about-us/transparency/using-cqc-data",
"match_accuracy": {
"correct": 0.96,
"lo": 0.9016,
"hi": 0.9843,
"sample": 100,
"checked": 100
}
},
"nhs": {
"name": "NHS Organisation Data Service (ODS)",
"publisher": "NHS England",
"licence": "unverified",
"vintage": "current ODS bulk export",
"homepage": "https://digital.nhs.uk/services/organisation-data-service",
"match_accuracy": {
"correct": 0.9286,
"lo": 0.8598,
"hi": 0.965,
"sample": 100,
"checked": 98
}
},
"gias": {
"name": "Get Information About Schools (GIAS)",
"publisher": "Department for Education",
"licence": "unverified",
"vintage": "daily bulk export",
"homepage": "https://get-information-schools.service.gov.uk/",
"match_accuracy": {
"correct": 0.9899,
"lo": 0.945,
"hi": 0.9982,
"sample": 100,
"checked": 99
}
},
"gb_care_inspectorate": {
"name": "Care Inspectorate datastore",
"publisher": "Care Inspectorate",
"licence": "unverified",
"vintage": "monthly edition",
"homepage": "https://www.careinspectorate.scot/resources-data/data-and-statistics/datastore",
"match_accuracy": {
"correct": 0.88,
"lo": 0.8019,
"hi": 0.93,
"sample": 100,
"checked": 100
}
},
"gb_scotland_schools": {
"name": "Scottish Government school contact list",
"publisher": "Scottish Government",
"licence": "Open Government Licence v3.0",
"vintage": "current edition; placed by OS Open UPRN",
"homepage": "https://www.gov.scot/publications/school-contact-details/",
"match_accuracy": {
"correct": 1,
"lo": 0.9626,
"hi": 1,
"sample": 100,
"checked": 99
}
},
"gb_wales_schools": {
"name": "Welsh Government maintained schools (DataMapWales)",
"publisher": "Welsh Government",
"licence": "Open Government Licence v3.0",
"vintage": "current WFS snapshot",
"homepage": "https://datamap.gov.wales/layers/geonode:maintained_schools_wg",
"match_accuracy": {
"correct": 1,
"lo": 0.963,
"hi": 1,
"sample": 100,
"checked": 100
}
},
"ni_de_schools": {
"name": "DE Northern Ireland school enrolment — school level data",
"publisher": "Department of Education (Northern Ireland)",
"licence": "unverified",
"vintage": "2025/26 school census",
"homepage": "https://www.education-ni.gov.uk/publications/school-enrolment-school-level-data-20252026",
"match_accuracy": {
"correct": 0.94,
"lo": 0.8752,
"hi": 0.9722,
"sample": 100,
"checked": 100
}
},
"gb_active_places": {
"name": "Sport England Active Places Power",
"publisher": "Sport England",
"licence": "CC BY 4.0",
"vintage": "current FeatureServer snapshot",
"homepage": "https://www.activeplacespower.com/",
"match_accuracy": {
"correct": 0.9596,
"lo": 0.9007,
"hi": 0.9842,
"sample": 100,
"checked": 99
}
},
"gb_courts": {
"name": "HMCTS Courts and Tribunals Finder",
"publisher": "HM Courts and Tribunals Service",
"licence": "unverified",
"vintage": "current export",
"homepage": "https://www.find-court-tribunal.service.gov.uk/",
"match_accuracy": {
"correct": 0.9293,
"lo": 0.8612,
"hi": 0.9653,
"sample": 100,
"checked": 99
}
},
"gb_fire_stations": {
"name": "Fire Station Locations (Home Office / StatsWales / SFRS)",
"publisher": "Home Office, StatsWales and Scottish Fire and Rescue Service",
"licence": "unverified",
"vintage": "current published editions",
"homepage": "https://www.gov.uk/government/collections/fire-statistics",
"match_accuracy": {
"correct": 0.97,
"lo": 0.9155,
"hi": 0.9897,
"sample": 100,
"checked": 100
}
},
"gb_police_stations": {
"name": "Police Station Directory (data.police.uk)",
"publisher": "Home Office",
"licence": "unverified",
"vintage": "current API crawl",
"homepage": "https://data.police.uk/",
"match_accuracy": {
"correct": 0.8557,
"lo": 0.7722,
"hi": 0.912,
"sample": 100,
"checked": 97
}
},
"gb_libraries": {
"name": "Basic dataset of public libraries (Arts Council England / SLIC / Welsh Government / Libraries NI)",
"publisher": "Arts Council England, SLIC, Welsh Government and Libraries NI",
"licence": "unverified",
"vintage": "current published editions",
"homepage": "https://www.artscouncil.org.uk/basic-dataset-public-libraries-england",
"match_accuracy": {
"correct": 0.9697,
"lo": 0.9147,
"hi": 0.9896,
"sample": 100,
"checked": 99
}
},
"gb_sport_wales_leisure_centres": {
"name": "Sport Wales leisure centres",
"publisher": "Sport Wales",
"licence": "Open Government Licence v3.0",
"vintage": "current WFS snapshot",
"homepage": "https://datamap.gov.wales/layers/geonode:leisure_centres_wales",
"match_accuracy": {
"correct": 0.9775,
"lo": 0.9217,
"hi": 0.9938,
"sample": 89,
"checked": 89
}
},
"gb_sport_wales_agp": {
"name": "Sport Wales artificial grass pitches",
"publisher": "Sport Wales",
"licence": "Open Government Licence v3.0",
"vintage": "current WFS snapshot",
"homepage": "https://datamap.gov.wales/layers/geonode:sw_agp",
"match_accuracy": {
"correct": 0.8878,
"lo": 0.8101,
"hi": 0.9362,
"sample": 100,
"checked": 98
}
},
"gb_sport_wales_grass_pitches": {
"name": "Sport Wales grass football pitches",
"publisher": "Sport Wales",
"licence": "Open Government Licence v3.0",
"vintage": "current WFS snapshot",
"homepage": "https://datamap.gov.wales/layers/geonode:sportwales_grass_football_pitches",
"match_accuracy": {
"correct": 0.9091,
"lo": 0.8362,
"hi": 0.9514,
"sample": 100,
"checked": 99
}
},
"gb_cadw_listed_buildings": {
"name": "Cadw listed buildings",
"publisher": "Cadw, Welsh Government",
"licence": "Open Government Licence v3.0",
"vintage": "current WFS snapshot",
"homepage": "https://datamap.gov.wales/layers/inspire-wg:Cadw_ListedBuildings",
"match_accuracy": {
"correct": 0.96,
"lo": 0.9016,
"hi": 0.9843,
"sample": 100,
"checked": 100
}
},
"gb_spatial_hub": {
"name": "Improvement Service Spatial Hub",
"publisher": "Improvement Service",
"licence": "Open Government Licence v3.0",
"vintage": "current WFS snapshot",
"homepage": "https://data.spatialhub.scot/",
"match_accuracy": {
"correct": 0.9394,
"lo": 0.874,
"hi": 0.9719,
"sample": 100,
"checked": 99
}
},
"ni_bso_gp": {
"name": "BSO GP Practice Reference File (Northern Ireland)",
"publisher": "Business Services Organisation",
"licence": "Open Government Licence v3.0",
"vintage": "current publication",
"homepage": "https://www.opendatani.gov.uk/@business-services-organisation/gp-practice-list-sizes",
"match_accuracy": {
"correct": 0.96,
"lo": 0.9016,
"hi": 0.9843,
"sample": 100,
"checked": 100
}
},
"ni_bso_dental": {
"name": "BSO Dental Surgery List (Northern Ireland)",
"publisher": "Business Services Organisation",
"licence": "Open Government Licence v3.0",
"vintage": "current publication",
"homepage": "https://www.opendatani.gov.uk/@business-services-organisation/general-dental-services-statistics",
"match_accuracy": {
"correct": 0.973,
"lo": 0.8618,
"hi": 0.9952,
"sample": 37,
"checked": 37
}
},
"ni_bso_pharmacy": {
"name": "BSO Dispensing by Contractor (Northern Ireland)",
"publisher": "Business Services Organisation",
"licence": "Open Government Licence v3.0",
"vintage": "monthly publication",
"homepage": "https://www.opendatani.gov.uk/@business-services-organisation/dispensing-by-contractor",
"match_accuracy": {
"correct": 0.89,
"lo": 0.8137,
"hi": 0.9375,
"sample": 100,
"checked": 100
}
},
"ni_rqia": {
"name": "RQIA Registered Services (Northern Ireland)",
"publisher": "Regulation and Quality Improvement Authority",
"licence": "Open Government Licence v3.0",
"vintage": "current register",
"homepage": "https://www.opendatani.gov.uk/@rqia/rqia-regulated-services",
"match_accuracy": {
"correct": 1,
"lo": 0.9623,
"hi": 1,
"sample": 100,
"checked": 98
}
},
"gb_dvsa_mot": {
"name": "DVSA active MOT testing stations",
"publisher": "Driver and Vehicle Standards Agency",
"licence": "Open Government Licence v3.0",
"vintage": "current publication",
"homepage": "https://www.gov.uk/government/publications/active-mot-test-stations",
"match_accuracy": {
"correct": 0.9694,
"lo": 0.9138,
"hi": 0.9895,
"sample": 100,
"checked": 98
}
},
"gb_ofsted_childcare": {
"name": "Ofsted childcare providers and inspections",
"publisher": "Ofsted",
"licence": "Open Government Licence v3.0",
"vintage": "current edition",
"homepage": "https://www.gov.uk/government/statistical-data-sets/childcare-providers-and-inspections-management-information",
"match_accuracy": {
"correct": 0.9091,
"lo": 0.8362,
"hi": 0.9514,
"sample": 100,
"checked": 99
}
},
"ni_bso_ophthalmic": {
"name": "BSO Ophthalmic Surgery List (Northern Ireland)",
"publisher": "Business Services Organisation",
"licence": "Open Government Licence v3.0",
"vintage": "quarterly publication",
"homepage": "https://www.opendatani.gov.uk/@business-services-organisation/ophthalmic-surgery-list",
"match_accuracy": {
"correct": 0.99,
"lo": 0.9455,
"hi": 0.9982,
"sample": 100,
"checked": 100
}
},
"gb_os_greenspace": {
"name": "OS Open Greenspace",
"publisher": "Ordnance Survey",
"licence": "Open Government Licence v3.0 (OS OpenData)",
"vintage": "six-monthly release",
"homepage": "https://www.ordnancesurvey.co.uk/products/os-open-greenspace",
"match_accuracy": {
"correct": 0.99,
"lo": 0.9455,
"hi": 0.9982,
"sample": 100,
"checked": 100
}
},
"gb_companies_house": {
"name": "Companies House Free Company Data Product",
"publisher": "Companies House",
"licence": "Free Company Data Product (Companies House), free to use",
"vintage": "monthly snapshot",
"homepage": "https://download.companieshouse.gov.uk/en_output.html",
"match_accuracy": {
"correct": 1,
"lo": 0.9623,
"hi": 1,
"sample": 100,
"checked": 98
}
},
"gb_hmrc_supervised": {
"name": "Supervised Business Register (HMRC)",
"publisher": "HM Revenue & Customs",
"licence": "Open Government Licence v3.0",
"vintage": "periodic gov.uk publication",
"homepage": "https://www.gov.uk/guidance/money-laundering-regulations-supervised-business-register",
"match_accuracy": {
"correct": 1,
"lo": 0.963,
"hi": 1,
"sample": 100,
"checked": 100
}
},
"gb_council_rates": {
"name": "Business rates list (Wakefield Council)",
"publisher": "Wakefield Metropolitan District Council",
"licence": "Open Government Licence v3.0",
"vintage": "monthly extract",
"homepage": "https://datamillnorth.org/dataset/vdwyo/business-rates",
"match_accuracy": {
"correct": 0.9495,
"lo": 0.8872,
"hi": 0.9782,
"sample": 100,
"checked": 99
}
},
"gb_gro_worship": {
"name": "Places of worship registered for marriage",
"publisher": "HM Passport Office (General Register Office)",
"licence": "Open Government Licence v3.0",
"vintage": "periodic gov.uk publication",
"homepage": "https://www.gov.uk/government/publications/places-of-worship-registered-for-marriage",
"match_accuracy": {
"correct": 0.99,
"lo": 0.9455,
"hi": 0.9982,
"sample": 100,
"checked": 100
}
},
"gb_ons_wards": {
"name": "ONS Wards (May 2026) Boundaries UK BGC",
"publisher": "Office for National Statistics",
"licence": "Open Government Licence v3.0",
"vintage": "May 2026",
"homepage": "https://geoportal.statistics.gov.uk/",
"match_accuracy": null
},
"worldpop": {
"name": "WorldPop population raster",
"publisher": "WorldPop, University of Southampton",
"licence": "unverified",
"vintage": "2020",
"homepage": "https://www.worldpop.org/",
"match_accuracy": null
},
"kontur": {
"name": "Kontur Population Dataset",
"publisher": "Kontur",
"licence": "unverified",
"vintage": "2023-11",
"homepage": "https://data.humdata.org/dataset/kontur-population-dataset",
"match_accuracy": null
},
"census_gb": {
"name": "ONS, NRS and NISRA census with ONS small-area income",
"publisher": "Office for National Statistics, National Records of Scotland and NISRA",
"licence": "unverified",
"vintage": "2021 (England, Wales, Northern Ireland), 2022 (Scotland)",
"homepage": "https://www.ons.gov.uk/census",
"match_accuracy": null
},
"traveltime_pt": {
"name": "TravelTime public transport network",
"publisher": "TravelTime",
"licence": "proprietary",
"vintage": "per bundle rebuild",
"homepage": "https://traveltime.com/",
"match_accuracy": null
},
"env_gb_imd": {
"name": "Indices of Deprivation for Great Britain",
"publisher": "MHCLG, Welsh Government and Scottish Government",
"licence": "Open Government Licence v3.0",
"vintage": "IoD2025 England, WIMD 2025 Wales, SIMD 2020v2 Scotland",
"homepage": "https://www.gov.uk/government/collections/english-indices-of-deprivation",
"match_accuracy": null
},
"env_gb_crime": {
"name": "data.police.uk and Police Scotland recorded crime",
"publisher": "Home Office and Police Scotland",
"licence": "unverified",
"vintage": "rolling 12 months",
"homepage": "https://data.police.uk/",
"match_accuracy": null
},
"env_gb_air": {
"name": "Defra PCM modelled background air quality",
"publisher": "Department for Environment, Food and Rural Affairs",
"licence": "Open Government Licence v3.0",
"vintage": "2024",
"homepage": "https://uk-air.defra.gov.uk/data/pcm-data",
"match_accuracy": null
},
"env_gb_broadband": {
"name": "Ofcom Connected Nations fixed broadband",
"publisher": "Ofcom",
"licence": "Open Government Licence v3.0",
"vintage": "coverage 2026-01, performance 2025-07",
"homepage": "https://www.ofcom.org.uk/research-and-data/multi-sector-research/infrastructure-research",
"match_accuracy": null
},
"env_gb_flood": {
"name": "EA, NRW and SEPA flood maps",
"publisher": "Environment Agency, Natural Resources Wales and SEPA",
"licence": "OGL (Wales, Scotland); England (Environment Agency) unverified",
"vintage": "current published editions",
"homepage": "https://www.gov.uk/government/organisations/environment-agency",
"match_accuracy": null
},
"env_gb_noise": {
"name": "Strategic noise maps for the United Kingdom",
"publisher": "Defra, Welsh Government, Scottish Government and DAERA",
"licence": "unverified",
"vintage": "2022 (round 4; Scotland 2021), Northern Ireland 2017 (round 3)",
"homepage": "https://www.gov.uk/government/organisations/department-for-environment-food-rural-affairs",
"match_accuracy": null
},
"overture_land_cover": {
"name": "Overture land cover",
"publisher": "Overture Maps Foundation",
"licence": "unverified",
"vintage": "the Overture Maps release in use",
"homepage": "https://docs.overturemaps.org/guides/base/",
"match_accuracy": null
},
"traveltime": {
"name": "TravelTime",
"publisher": "TravelTime",
"licence": "proprietary",
"vintage": "per bundle rebuild",
"homepage": "https://traveltime.com/",
"match_accuracy": null
}
}
}GET /v1/catalog/{country}Lists what the API has in one country, so that front ends can build their pickers from it.
| Parameter | Type · default | What it does | Example |
|---|---|---|---|
country | path · — | A country id. GET /v1/boundaries?type=country lists the countries. | /catalog/gb |
This endpoint takes no other parameters. The response is a single object, and next_cursor is always null.
The response has the following fields:
country {id, name, boundary_types, modes, operators [{id, name, line_count}]}.boundary_typeslists the values thattypetakes (andgroup_by, except the National Parks and National Landscapes).modesandoperatorslist the values thatmodeandoperatortake, both biggest firstresults, one per dataset, as{id, routes, resolutions, fields [{name, unit, rollup, meaning}], countries}.roadsandroad-accesshave noresolutions.countries.<country>is{available, source_ids, not_deployed, updated_at, records}, whererecordscounts what the dataset's endpoints return andnot_deployedlists the sources with no live records. Onplaces, it also hasverified_by_count. Some datasets have extra fields:neighbourhoodaddslayers [{id, fields, countries}],open-spacesaddsdefinitions(what counts as green cover, open space and a designation), andproximityaddstargets, the values thatwithin,beyondandcovered_bytake, each as an id or{id, meaning}custom_scores.fields, every field that a custom-score check can readdownloads [{name, size_bytes, rows, url}], country-wide files for data that is too big to page through. None are published yet, so the list is empty
| Code | HTTP | When |
|---|---|---|
not_found | 404 | There is no country with that id. |
The catalog for a country lists its datasets, its transport operators and the fields that a custom-score check can read. For each dataset it gives the number of records and the date the data was updated, and for places, the government registers verifying them.
Request
curl -H "X-Application-Id: YOUR_APP_ID" -H "X-Api-Key: YOUR_APP_KEY" \
"https://data.traveltimeapp.com/v1/catalog/gb"| Routesroutes | Resolutionsresolutions | Fieldsfields | Countries gb availablecountries.gb.available |
|---|---|---|---|
| /places, /places/{id}, /places/cells | 6, 7, 8 +2 | id, name, category +21 | available |
| /transport/transit/stations, /transport/transit/stations/{id}, /transport/transit/stations/cells | 6, 7, 8 +2 | id, name, modes +11 | available |
| /transport/transit/lines, /transport/transit/lines/{id}, /transport/transit/lines/cells | 6, 7, 8 +2 | id, name, operator.id +9 | available |
| /transport/roads, /transport/roads/{id} | — | id, name, ref +3 | available |
| /transport/roads/access, /transport/roads/access/{id} | — | id, type, road.id +7 | available |
5 of 10 shown · the other 5 are in the response
Response
{
"country": {
"id": "gb",
"name": "United Kingdom",
"boundary_types": [
"country",
"nation",
"region",
"county",
"borough",
"… 3 more"
],
"modes": [
"bus",
"cable_car",
"coach",
"ferry",
"overground",
"… 2 more"
],
"operators": [
{
"id": "bee_network",
"name": "Bee Network",
"line_count": 562
},
"… 896 more rows"
]
},
"results": [
{
"id": "places",
"routes": [
"/places",
"/places/{id}",
"/places/cells"
],
"resolutions": [
6,
7,
8,
9,
10
],
"fields": [
{
"name": "id"
},
"… 23 more rows"
],
"countries": {
"gb": {
"available": true,
"source_ids": [
"fsq",
"osm",
"overture"
],
"not_deployed": [],
"updated_at": "2026-10-18",
"records": 4710961,
"verified_by_count": 30
}
}
},
"… 9 more rows"
],
"custom_scores": {
"fields": [
"proximity.ratings.walk",
"proximity.ratings.transit",
"proximity.ratings.drive",
"proximity.bands.walk.300.category_counts.supermarket",
"proximity.bands.walk.300.category_counts.cafe",
"… 669 more"
]
},
"downloads": [],
"next_cursor": null
}GET /v1/categoriesReturns the category tree with counts, for building pickers. The tree has three levels: group, category and detail. Counts are the places at the lowest level, added up through the levels above it, so a place with three details adds 3 to its group.
You can use an id from any level in category on the places endpoints. If an id exists at two levels (for example, cafe is a category and also one of its own details), it means the broader one. Use detail:cafe to select only the detail.
This endpoint is older than the response format that the other endpoints share, so it differs from them in the following ways:
- The tree is in
groupsrather thanresults - Names are in
display_name - Errors have no
paramordoc_url
| Parameter | Type · default | What it does | Example |
|---|---|---|---|
country | country id · — | The country to return counts for. | country=gb |
This endpoint takes no other parameters. Responses are cached, with a Cache-Control header that keeps them fresh for an hour and allows stale-while-revalidate for 24 hours.
The response has groups, each as {id, display_name, count, categories}. Each category is {id, display_name, count, detail}, and each detail is {id, display_name, count}. At the top level, total_pois is the number of places in the country.
| Code | HTTP | When |
|---|---|---|
country_required | 422 | The request has no country. |
| — | 400 | There is no country with that id. The response is {"detail": "Unknown country code: XX"}. |
The full category tree, with its 16 groups.
Request
curl -H "X-Application-Id: YOUR_APP_ID" -H "X-Api-Key: YOUR_APP_KEY" \
"https://data.traveltimeapp.com/v1/categories?country=gb"| Display namedisplay_name | Countcount | Categoriescategories | Idid |
|---|---|---|---|
| Automotive | 247,665 | 5 items | automotive |
| Business & Services | 1,172,038 | 10 items | business_and_services |
| Culture | 141,218 | 8 items | culture |
| Education | 115,286 | 4 items | education |
| Entertainment | 65,537 | 10 items | entertainment_and_recreation |
5 of 16 shown · the other 11 are in the response
Response
{
"groups": [
{
"id": "automotive",
"display_name": "Automotive",
"count": 247665,
"categories": [
{
"id": "car_dealer",
"display_name": "Car & Truck Dealer",
"count": 49151,
"detail": [
{
"id": "car_dealer",
"display_name": "Car Dealer",
"count": 47174
},
"… 1 more row"
]
},
"… 4 more rows"
]
},
"… 15 more rows"
],
"total_pois": 4710961
}GET /v1/categories/{group}Returns one branch of the tree, for pickers that drill down. The response is the group and everything under it, as the object itself rather than wrapped in an envelope.
| Parameter | Type · default | What it does | Example |
|---|---|---|---|
group | path · — | A group id from the tree. | /food_and_drink |
country | country id · — | The country to return counts for. | country=gb |
This endpoint takes no other parameters. Responses are cached in the same way as the full tree.
The response is the group, {id, display_name, count, categories}, as described above.
| Code | HTTP | When |
|---|---|---|
| — | 404 | There is no group with that id. The response is {"detail": "Category group 'nope' not found"}. |
country_required | 422 | The request has no country. |
| — | 400 | There is no country with that id. The response is {"detail": "Unknown country code: XX"}. |
The food and drink group, with its 11 categories.
Request
curl -H "X-Application-Id: YOUR_APP_ID" -H "X-Api-Key: YOUR_APP_KEY" \
"https://data.traveltimeapp.com/v1/categories/food_and_drink?country=gb"| Display namedisplay_name | Countcount | Detaildetail | Idid |
|---|---|---|---|
| Bakery | 32,665 | 4 items | bakery |
| Bar | 105,320 | 6 items | bar |
| Brewery & Winery | 7,300 | 3 items | brewery_winery |
| Cafe & Coffee | 135,691 | 8 items | cafe |
| Desserts & Sweets | 21,955 | 5 items | dessert |
5 of 11 shown · the other 6 are in the response
Response
{
"id": "food_and_drink",
"display_name": "Food & Drink",
"count": 976302,
"categories": [
{
"id": "bakery",
"display_name": "Bakery",
"count": 32665,
"detail": [
{
"id": "bagel_shop",
"display_name": "Bagel Shop",
"count": 571
},
"… 3 more rows"
]
},
"… 10 more rows"
]
}