{"openapi":"3.1.0","info":{"title":"Driving Routes Agentic API","version":"1.0.0","description":"Read-only access to the catalog of UK and US driving test centres and the practice routes published for each. No auth required. Full turn-by-turn guidance for paid routes requires a Driving Routes subscription. Every endpoint also returns markdown when called with ?format=md or Accept: text/markdown. The same catalog is available over the Model Context Protocol at https://mcp.drivingroutes.co/mcp.","contact":{"email":"support@drivingroutes.co","url":"https://drivingroutes.co/for-agents"}},"servers":[{"url":"https://drivingroutes.co"}],"paths":{"/api/agentic/test-centers":{"get":{"operationId":"listTestCentres","summary":"Search driving test centres","parameters":[{"name":"q","in":"query","schema":{"type":"string"},"description":"Name search."},{"name":"market","in":"query","schema":{"type":"string"},"description":"Market filter, e.g. \"uk\" or \"us\"."},{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":200,"default":50}},{"name":"offset","in":"query","schema":{"type":"integer","minimum":0,"default":0},"description":"Number of results to skip, for paging through the full catalog."}],"responses":{"200":{"description":"Matching test centres."}}}},"/api/agentic/test-centers/{slug}":{"get":{"operationId":"getTestCentre","summary":"Get a test centre and its routes","parameters":[{"name":"slug","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"The test centre and its published routes."},"404":{"description":"Not found."}}}},"/api/agentic/routes":{"get":{"operationId":"listRoutes","summary":"Search driving test routes","parameters":[{"name":"q","in":"query","schema":{"type":"string"},"description":"Name search."},{"name":"centre","in":"query","schema":{"type":"string"},"description":"Test-centre slug to filter by."},{"name":"difficulty","in":"query","schema":{"type":"integer","minimum":1,"maximum":5}},{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":200,"default":50}},{"name":"offset","in":"query","schema":{"type":"integer","minimum":0,"default":0},"description":"Number of results to skip, for paging through the full catalog."}],"responses":{"200":{"description":"Matching routes."}}}},"/api/agentic/routes/{id}":{"get":{"operationId":"getRoute","summary":"Get a route's details","description":"Returns route metadata with a step count and a subscribe hint; turn-by-turn guidance requires a subscription.","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"The route."},"404":{"description":"Not found."}}}}}}