{"openapi":"3.1.0","info":{"title":"Open Route Service (BYOK) API","version":"0.1.0","description":"Open Route Service (BYOK) lets an AI assistant read your own Open Route Service data through the Open Route Service API with a key you supply (openrouteservice API key). Read-only: 6 tools (geocode_search, geocode_autocomplete, geocode_reverse, get_directions, get_isochrones, get_elevation_point). The BYOK key travels with each request, is used for that one call only and is never stored, logged...\n\nEvery operation is read-only or compute-only. The same tools are available over MCP (streamable HTTP) at https://byok-openrouteservice.connectorbay.com/mcp.","contact":{"name":"Unify Dynamics LLC","email":"agent@connectorbay.com","url":"https://connectorbay.com/byok-openrouteservice/docs"},"termsOfService":"https://connectorbay.com/byok-openrouteservice/terms"},"servers":[{"url":"https://byok-openrouteservice.connectorbay.com"}],"externalDocs":{"url":"https://connectorbay.com/byok-openrouteservice/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/geocode_search":{"post":{"operationId":"geocode_search","summary":"Turn an address or place name into coordinates and a structured address (up to 40 results, longitude first in the coordi","description":"Turn an address or place name into coordinates and a structured address (up to 40 results, longitude first in the coordinates). Use for \"Where is Heidelberg Castle\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"text":{"description":"Address or place text to look up, for example 'Heidelberg Castle'.","maxLength":300,"title":"Text","type":"string"},"country":{"anyOf":[{"maxLength":3,"type":"string"},{"type":"null"}],"default":null,"description":"Limit to one country, ISO 3166 alpha-2 or alpha-3 code such as DE or DEU.","title":"Country"},"size":{"anyOf":[{"maximum":40,"minimum":1,"type":"integer"},{"type":"null"}],"default":10,"description":"How many results to return (1 to 40).","title":"Size"}},"required":["text"],"title":"geocode_searchArguments","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/geocode_autocomplete":{"post":{"operationId":"geocode_autocomplete","summary":"Suggest places while a user is typing a partial address or name (type-ahead), up to 40 suggestions. Use for \"Suggest pla","description":"Suggest places while a user is typing a partial address or name (type-ahead), up to 40 suggestions. Use for \"Suggest places for 'Heidelb'\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"text":{"description":"Partial text typed so far, for example 'Heidelb'.","maxLength":300,"title":"Text","type":"string"},"country":{"anyOf":[{"maxLength":3,"type":"string"},{"type":"null"}],"default":null,"description":"Limit to one country, ISO 3166 alpha-2 or alpha-3 code such as DE or DEU.","title":"Country"},"size":{"anyOf":[{"maximum":40,"minimum":1,"type":"integer"},{"type":"null"}],"default":10,"description":"How many results to return (1 to 40).","title":"Size"}},"required":["text"],"title":"geocode_autocompleteArguments","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/geocode_reverse":{"post":{"operationId":"geocode_reverse","summary":"Find the places or addresses nearest to a coordinate (up to 40 results). Use for \"What is at longitude 8.681495 and lati","description":"Find the places or addresses nearest to a coordinate (up to 40 results). Use for \"What is at longitude 8.681495 and latitude 49.41461\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"lon":{"description":"Longitude, -180 to 180.","maximum":180,"minimum":-180,"title":"Lon","type":"number"},"lat":{"description":"Latitude, -90 to 90.","maximum":90,"minimum":-90,"title":"Lat","type":"number"},"radius_km":{"anyOf":[{"maximum":500,"minimum":0,"type":"number"},{"type":"null"}],"default":null,"description":"Search radius in kilometres.","title":"Radius Km"},"size":{"anyOf":[{"maximum":40,"minimum":1,"type":"integer"},{"type":"null"}],"default":10,"description":"How many results to return (1 to 40).","title":"Size"}},"required":["lon","lat"],"title":"geocode_reverseArguments","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_directions":{"post":{"operationId":"get_directions","summary":"Get a route between two coordinates for a transport mode: distance, duration and the route geometry, with turn-by-turn i","description":"Get a route between two coordinates for a transport mode: distance, duration and the route geometry, with turn-by-turn instructions only on request. Use for \"How long does it take to drive from Heidelberg to Mannheim\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"profile":{"description":"Transport mode: driving-car, driving-hgv, foot-walking, foot-hiking, cycling-regular, cycling-road, cycling-mountain or cycling-electric.","enum":["driving-car","driving-hgv","foot-walking","foot-hiking","cycling-regular","cycling-road","cycling-mountain","cycling-electric"],"title":"Profile","type":"string"},"start_lon":{"description":"Start longitude.","maximum":180,"minimum":-180,"title":"Start Lon","type":"number"},"start_lat":{"description":"Start latitude.","maximum":90,"minimum":-90,"title":"Start Lat","type":"number"},"end_lon":{"description":"End longitude.","maximum":180,"minimum":-180,"title":"End Lon","type":"number"},"end_lat":{"description":"End latitude.","maximum":90,"minimum":-90,"title":"End Lat","type":"number"},"units":{"anyOf":[{"enum":["m","km","mi"],"type":"string"},{"type":"null"}],"default":"km","description":"Distance unit: m, km or mi.","title":"Units"},"instructions":{"anyOf":[{"type":"boolean"},{"type":"null"}],"default":false,"description":"True to include turn-by-turn instructions (a much longer answer).","title":"Instructions"}},"required":["profile","start_lon","start_lat","end_lon","end_lat"],"title":"get_directionsArguments","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_isochrones":{"post":{"operationId":"get_isochrones","summary":"Get the area reachable from one coordinate within given travel times or distances (isochrone polygons). Use for \"What ar","description":"Get the area reachable from one coordinate within given travel times or distances (isochrone polygons). Use for \"What area can I reach within 10 minutes by car from Heidelberg\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"profile":{"description":"Transport mode: driving-car, driving-hgv, foot-walking, foot-hiking, cycling-regular, cycling-road, cycling-mountain or cycling-electric.","enum":["driving-car","driving-hgv","foot-walking","foot-hiking","cycling-regular","cycling-road","cycling-mountain","cycling-electric"],"title":"Profile","type":"string"},"lon":{"description":"Centre longitude.","maximum":180,"minimum":-180,"title":"Lon","type":"number"},"lat":{"description":"Centre latitude.","maximum":90,"minimum":-90,"title":"Lat","type":"number"},"range":{"description":"Reach limit: seconds when range_type is time, metres when it is distance (one value).","maximum":100000,"minimum":1,"title":"Range","type":"integer"},"range_type":{"anyOf":[{"enum":["time","distance"],"type":"string"},{"type":"null"}],"default":"time","description":"time (default) or distance.","title":"Range Type"}},"required":["profile","lon","lat","range"],"title":"get_isochronesArguments","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_elevation_point":{"post":{"operationId":"get_elevation_point","summary":"Get the elevation above sea level of one coordinate (SRTM data). Use for \"How high is the point at longitude 8.681495, l","description":"Get the elevation above sea level of one coordinate (SRTM data). Use for \"How high is the point at longitude 8.681495, latitude 49.41461\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"lon":{"description":"Longitude.","maximum":180,"minimum":-180,"title":"Lon","type":"number"},"lat":{"description":"Latitude.","maximum":90,"minimum":-90,"title":"Lat","type":"number"}},"required":["lon","lat"],"title":"get_elevation_pointArguments","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}}}}