{"openapi":"3.1.0","info":{"title":"TravelTime (BYOK) API","version":"0.1.0","description":"TravelTime (BYOK) lets an AI assistant read your own TravelTime data through the TravelTime API with a key you supply (API key). Read-only: 6 tools (search_geocode, reverse_geocode, list_supported_maps, check_location_support, get_travel_time, get_route). The BYOK key travels with each request, is used for that one call only and is never stored, logged or cached; it is only ever sent to...\n\nEvery operation is read-only or compute-only. The same tools are available over MCP (streamable HTTP) at https://byok-traveltime.connectorbay.com/mcp.","contact":{"name":"Unify Dynamics LLC","email":"agent@connectorbay.com","url":"https://connectorbay.com/byok-traveltime/docs"},"termsOfService":"https://connectorbay.com/byok-traveltime/terms"},"servers":[{"url":"https://byok-traveltime.connectorbay.com"}],"externalDocs":{"url":"https://connectorbay.com/byok-traveltime/docs"},"security":[{"upstreamKey":[]}],"components":{"securitySchemes":{"bearer":{"type":"http","scheme":"bearer","description":"Optional. A Pro API key raises rate limits; no credentials are required."},"upstreamKey":{"type":"apiKey","in":"header","name":"X-Upstream-Key","description":"Your own key for the service this connector wraps (bring your own key). Used for that one call only; never stored, logged or cached."}},"schemas":{"Error":{"type":"object","properties":{"ok":{"const":false},"error":{"type":"object"}}}}},"paths":{"/v1/tools/search_geocode":{"post":{"operationId":"search_geocode","summary":"Turn an address, postcode or venue into coordinates. Returns up to 50 GeoJSON features with label, type, score, city, co","description":"Turn an address, postcode or venue into coordinates. Returns up to 50 GeoJSON features with label, type, score, city, country and longitude/latitude. Use for \"Where is Victoria Street in London\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"query":{"description":"Address, postcode or venue; adding a city or country improves accuracy, for example 'Victoria street, London'.","maxLength":250,"title":"Query","type":"string"},"limit":{"anyOf":[{"maximum":50,"minimum":1,"type":"integer"},{"type":"null"}],"default":10,"description":"How many results to return (1 to 50).","title":"Limit"},"bounds":{"anyOf":[{"maxLength":120,"type":"string"},{"type":"null"}],"default":null,"description":"Limit results to a bounding box: 'min-latitude,min-longitude,max-latitude,max-longitude'.","title":"Bounds"}},"required":["query"],"title":"search_geocodeArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/reverse_geocode":{"post":{"operationId":"reverse_geocode","summary":"Find the address at a latitude and longitude on land (points far from land return an error). Returns GeoJSON features wi","description":"Find the address at a latitude and longitude on land (points far from land return an error). Returns GeoJSON features with label, type, city, country and postcode. Use for \"What address is at latitude 51.5074, longitude -0.1278\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"lat":{"description":"Latitude in decimal degrees.","maximum":90,"minimum":-90,"title":"Lat","type":"number"},"lng":{"description":"Longitude in decimal degrees.","maximum":180,"minimum":-180,"title":"Lng","type":"number"}},"required":["lat","lng"],"title":"reverse_geocodeArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/list_supported_maps":{"post":{"operationId":"list_supported_maps","summary":"List the countries and regions (map ids) the API covers and which features each supports. Use for \"Which countries does ","description":"List the countries and regions (map ids) the API covers and which features each supports. Use for \"Which countries does TravelTime support\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{},"title":"list_supported_mapsArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/check_location_support":{"post":{"operationId":"check_location_support","summary":"Check whether a coordinate is covered by the API and get the id of the map it belongs to. Use for \"Does TravelTime cover","description":"Check whether a coordinate is covered by the API and get the id of the map it belongs to. Use for \"Does TravelTime cover latitude 51.5074, longitude -0.1278\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"lat":{"description":"Latitude in decimal degrees.","maximum":90,"minimum":-90,"title":"Lat","type":"number"},"lng":{"description":"Longitude in decimal degrees.","maximum":180,"minimum":-180,"title":"Lng","type":"number"}},"required":["lat","lng"],"title":"check_location_supportArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/get_travel_time":{"post":{"operationId":"get_travel_time","summary":"Typical travel time in seconds from an origin to a destination on a weekday morning, with a maximum journey time (fast e","description":"Typical travel time in seconds from an origin to a destination on a weekday morning, with a maximum journey time (fast endpoint, uses typical traffic). If the destination cannot be reached within the limit it is listed as unreachable. Use for \"How long does it take to travel from King's Cross to the Tower of London by public transport\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"origin_lat":{"description":"Origin latitude.","maximum":90,"minimum":-90,"title":"Origin Lat","type":"number"},"origin_lng":{"description":"Origin longitude.","maximum":180,"minimum":-180,"title":"Origin Lng","type":"number"},"destination_lat":{"description":"Destination latitude.","maximum":90,"minimum":-90,"title":"Destination Lat","type":"number"},"destination_lng":{"description":"Destination longitude.","maximum":180,"minimum":-180,"title":"Destination Lng","type":"number"},"mode":{"description":"Mode: public_transport, walking+ferry, cycling+ferry, driving+ferry or driving+public_transport.","enum":["public_transport","walking+ferry","cycling+ferry","driving+ferry","driving+public_transport"],"title":"Mode","type":"string"},"max_travel_time":{"anyOf":[{"maximum":10800,"minimum":1,"type":"integer"},{"type":"null"}],"default":7200,"description":"Maximum journey time in seconds (1 to 10800).","title":"Max Travel Time"}},"required":["origin_lat","origin_lng","destination_lat","destination_lng","mode"],"title":"get_travel_timeArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/get_route":{"post":{"operationId":"get_route","summary":"Route from an origin to a destination for a departure time: travel time in seconds and distance in metres (no turn-by-tu","description":"Route from an origin to a destination for a departure time: travel time in seconds and distance in metres (no turn-by-turn steps). Public transport has the best coverage within two weeks of today. Use for \"How far and how long is the drive from King's Cross to the Tower of London leaving at 8am on 2026-10-20\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"origin_lat":{"description":"Origin latitude.","maximum":90,"minimum":-90,"title":"Origin Lat","type":"number"},"origin_lng":{"description":"Origin longitude.","maximum":180,"minimum":-180,"title":"Origin Lng","type":"number"},"destination_lat":{"description":"Destination latitude.","maximum":90,"minimum":-90,"title":"Destination Lat","type":"number"},"destination_lng":{"description":"Destination longitude.","maximum":180,"minimum":-180,"title":"Destination Lng","type":"number"},"mode":{"description":"Mode of travel: driving, public_transport, walking or cycling.","enum":["driving","public_transport","walking","cycling"],"title":"Mode","type":"string"},"departure_time":{"description":"Earliest departure as ISO 8601 with offset, for example 2026-10-20T08:00:00+01:00.","maxLength":40,"title":"Departure Time","type":"string"}},"required":["origin_lat","origin_lng","destination_lat","destination_lng","mode","departure_time"],"title":"get_routeArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}}}}