{"openapi":"3.1.0","info":{"title":"HERE Location Services (BYOK) API","version":"0.1.0","description":"HERE Location Services (BYOK) lets an AI assistant read your own HERE data through the HERE API with a key you supply (HERE API key). Read-only: 5 tools (geocode_address, reverse_geocode, discover_places, browse_places, lookup_place). 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 geocode.search.hereapi.com,...\n\nEvery operation is read-only or compute-only. The same tools are available over MCP (streamable HTTP) at https://byok-here.connectorbay.com/mcp.","contact":{"name":"Unify Dynamics LLC","email":"agent@connectorbay.com","url":"https://connectorbay.com/byok-here/docs"},"termsOfService":"https://connectorbay.com/byok-here/terms"},"servers":[{"url":"https://byok-here.connectorbay.com"}],"externalDocs":{"url":"https://connectorbay.com/byok-here/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_address":{"post":{"operationId":"geocode_address","summary":"Turn a free-text address or place name into coordinates: up to 100 matches in the provider's JSON (title, address, posit","description":"Turn a free-text address or place name into coordinates: up to 100 matches in the provider's JSON (title, address, position and more). Use for \"What are the coordinates of Invalidenstrasse 116, Berlin\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"service":{"const":"geocode","description":"HERE service host label; always 'geocode' for this tool.","title":"Service","type":"string"},"q":{"description":"Free-text address or place, for example 'Invalidenstrasse 116, 10115 Berlin'.","maxLength":300,"title":"Q","type":"string"},"at":{"anyOf":[{"maxLength":40,"type":"string"},{"type":"null"}],"default":null,"description":"Search center as 'latitude,longitude' used to rank results.","title":"At"},"in_filter":{"anyOf":[{"maxLength":100,"type":"string"},{"type":"null"}],"default":null,"description":"Hard filter, for example 'countryCode:USA' or 'countryCode:CAN,MEX,USA' (uppercase ISO 3166-1 alpha-3 codes).","title":"In Filter"},"types":{"anyOf":[{"maxLength":100,"type":"string"},{"type":"null"}],"default":null,"description":"Comma-separated result types: address, area, city, houseNumber, place, postalCode, street.","title":"Types"},"lang":{"anyOf":[{"maxLength":40,"type":"string"},{"type":"null"}],"default":null,"description":"Comma-separated BCP 47 language codes for the result text, for example 'en' or 'de,en'.","title":"Lang"},"limit":{"anyOf":[{"maximum":100,"minimum":1,"type":"integer"},{"type":"null"}],"default":20,"description":"How many results to return (1 to 100, default 20).","title":"Limit"}},"required":["service","q"],"title":"geocode_addressArguments","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 nearest address or place to a latitude and longitude, or inside a circle; up to 100 results in the provider's J","description":"Find the nearest address or place to a latitude and longitude, or inside a circle; up to 100 results in the provider's JSON. Use for \"What address is at latitude 52.5309, longitude 13.3847\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"service":{"const":"revgeocode","description":"HERE service host label; always 'revgeocode' for this tool.","title":"Service","type":"string"},"at":{"anyOf":[{"maxLength":40,"type":"string"},{"type":"null"}],"default":null,"description":"Point as 'latitude,longitude', for example '52.5309,13.3847' (use this or in_filter).","title":"At"},"in_filter":{"anyOf":[{"maxLength":60,"type":"string"},{"type":"null"}],"default":null,"description":"Circle as 'circle:latitude,longitude;r=meters', for example 'circle:52.53,13.38;r=10000' (use this or at).","title":"In Filter"},"types":{"anyOf":[{"maxLength":100,"type":"string"},{"type":"null"}],"default":null,"description":"Comma-separated result types: address, area, city, houseNumber, place, street.","title":"Types"},"lang":{"anyOf":[{"maxLength":40,"type":"string"},{"type":"null"}],"default":null,"description":"Comma-separated BCP 47 language codes for the result text, for example 'en' or 'de,en'.","title":"Lang"},"limit":{"anyOf":[{"maximum":100,"minimum":1,"type":"integer"},{"type":"null"}],"default":1,"description":"How many results to return (1 to 100, default 1).","title":"Limit"}},"required":["service"],"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/discover_places":{"post":{"operationId":"discover_places","summary":"Search addresses and places (businesses, points of interest) by free text around a point or inside a country, bounding b","description":"Search addresses and places (businesses, points of interest) by free text around a point or inside a country, bounding box or circle; returns title, id, type, coordinates, address and distance. Use for \"Find vegetarian restaurants near latitude 52.52, longitude 13.405\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"service":{"const":"discover","description":"HERE service host label; always 'discover' for this tool.","title":"Service","type":"string"},"q":{"description":"What to search for, for example 'vegetarian restaurant'.","maxLength":200,"title":"Q","type":"string"},"at":{"anyOf":[{"maxLength":40,"type":"string"},{"type":"null"}],"default":null,"description":"Search center as 'latitude,longitude' (required unless in is a country, circle or box).","title":"At"},"in_filter":{"anyOf":[{"maxLength":100,"type":"string"},{"type":"null"}],"default":null,"description":"Hard filter: 'countryCode:DEU', 'circle:lat,lng;r=meters' or 'bbox:west,south,east,north'.","title":"In Filter"},"lang":{"anyOf":[{"maxLength":40,"type":"string"},{"type":"null"}],"default":null,"description":"Comma-separated BCP 47 language codes for the result text, for example 'en' or 'de,en'.","title":"Lang"},"limit":{"anyOf":[{"maximum":100,"minimum":1,"type":"integer"},{"type":"null"}],"default":20,"description":"How many results to return (1 to 100, default 20).","title":"Limit"}},"required":["service","q"],"title":"discover_placesArguments","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/browse_places":{"post":{"operationId":"browse_places","summary":"List places around a point ranked by distance, optionally by HERE category ids or a name filter. Use for \"What places na","description":"List places around a point ranked by distance, optionally by HERE category ids or a name filter. Use for \"What places named 'pharmacy' are within 1 km of latitude 52.52, longitude 13.405\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"service":{"const":"browse","description":"HERE service host label; always 'browse' for this tool.","title":"Service","type":"string"},"at":{"description":"Search center as 'latitude,longitude'.","maxLength":40,"title":"At","type":"string"},"categories":{"anyOf":[{"maxLength":200,"type":"string"},{"type":"null"}],"default":null,"description":"Comma-separated HERE category ids; prefix an id with ! to exclude it.","title":"Categories"},"name":{"anyOf":[{"maxLength":100,"type":"string"},{"type":"null"}],"default":null,"description":"Filter by place name (partial matches included).","title":"Name"},"in_filter":{"anyOf":[{"maxLength":100,"type":"string"},{"type":"null"}],"default":null,"description":"Hard filter: 'countryCode:DEU', 'circle:lat,lng;r=meters' or 'bbox:west,south,east,north'.","title":"In Filter"},"lang":{"anyOf":[{"maxLength":40,"type":"string"},{"type":"null"}],"default":null,"description":"Comma-separated BCP 47 language codes for the result text, for example 'en' or 'de,en'.","title":"Lang"},"limit":{"anyOf":[{"maximum":100,"minimum":1,"type":"integer"},{"type":"null"}],"default":20,"description":"How many results to return (1 to 100, default 20).","title":"Limit"}},"required":["service","at"],"title":"browse_placesArguments","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/lookup_place":{"post":{"operationId":"lookup_place","summary":"Get the full record of one place or address by its HERE id (as returned by discover, geocode or browse). Use for \"Give m","description":"Get the full record of one place or address by its HERE id (as returned by discover, geocode or browse). Use for \"Give me the details of HERE place here:pds:place:276u33db-8097f3194e4b411081b8dd39e7a7b7b1\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"service":{"const":"lookup","description":"HERE service host label; always 'lookup' for this tool.","title":"Service","type":"string"},"id":{"description":"HERE location id, for example 'here:pds:place:276u33db-8097f3194e4b411081b8dd39e7a7b7b1'.","maxLength":120,"title":"Id","type":"string"},"lang":{"anyOf":[{"maxLength":40,"type":"string"},{"type":"null"}],"default":null,"description":"Comma-separated BCP 47 language codes for the result text, for example 'en' or 'de,en'.","title":"Lang"}},"required":["service","id"],"title":"lookup_placeArguments","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}}}}