{"openapi":"3.1.0","info":{"title":"Stadia Maps (BYOK) API","version":"0.1.0","description":"Stadia Maps (BYOK) lets an AI assistant read your own Stadia Maps data through the Stadia Maps API with a key you supply (Stadia Maps API key). Read-only: 6 tools (search_places, search_address_parts, reverse_geocode, autocomplete_places, get_place_details, lookup_time_zone). The BYOK key travels with each request, is used for that one call only and is never stored, logged or cached; it is only...\n\nEvery operation is read-only or compute-only. The same tools are available over MCP (streamable HTTP) at https://byok-stadiamaps.connectorbay.com/mcp.","contact":{"name":"Unify Dynamics LLC","email":"agent@connectorbay.com","url":"https://connectorbay.com/byok-stadiamaps/docs"},"termsOfService":"https://connectorbay.com/byok-stadiamaps/terms"},"servers":[{"url":"https://byok-stadiamaps.connectorbay.com"}],"externalDocs":{"url":"https://connectorbay.com/byok-stadiamaps/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_places":{"post":{"operationId":"search_places","summary":"Forward geocoding: turn an address, venue or place name into coordinates and structured address parts, optionally biased","description":"Forward geocoding: turn an address, venue or place name into coordinates and structured address parts, optionally biased toward a point or limited to countries, layers and sources. Use for \"Where is 1600 Pennsylvania Avenue NW, Washington, DC\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"text":{"description":"Address, venue or place name to look up, for example 'Union Square' or '1600 Pennsylvania Ave NW, Washington DC'.","maxLength":300,"title":"Text","type":"string"},"focus_point_lat":{"anyOf":[{"maximum":90,"minimum":-90,"type":"number"},{"type":"null"}],"default":null,"description":"Latitude of a point to bias results toward (give together with focus_point_lon).","title":"Focus Point Lat"},"focus_point_lon":{"anyOf":[{"maximum":180,"minimum":-180,"type":"number"},{"type":"null"}],"default":null,"description":"Longitude of a point to bias results toward (give together with focus_point_lat).","title":"Focus Point Lon"},"boundary_country":{"anyOf":[{"maxLength":60,"type":"string"},{"type":"null"}],"default":null,"description":"Limit results to these countries: ISO 3166 two- or three-letter codes, comma separated, for example 'GBR,FRA'.","title":"Boundary Country"},"layers":{"anyOf":[{"maxLength":100,"type":"string"},{"type":"null"}],"default":null,"description":"Limit results to these layers, comma separated, for example 'address,venue' or 'coarse' (city, region and country level only).","title":"Layers"},"sources":{"anyOf":[{"maxLength":100,"type":"string"},{"type":"null"}],"default":null,"description":"Limit results to these data sources, comma separated, for example 'openstreetmap,whosonfirst'.","title":"Sources"},"size":{"anyOf":[{"maximum":50,"minimum":1,"type":"integer"},{"type":"null"}],"default":10,"description":"Maximum number of results (default 10; this connector allows up to 50).","title":"Size"},"lang":{"anyOf":[{"maxLength":12,"type":"string"},{"type":"null"}],"default":null,"description":"BCP 47 language tag for the language of place names, for example 'en' or 'ko'.","title":"Lang"}},"required":["text"],"title":"search_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/search_address_parts":{"post":{"operationId":"search_address_parts","summary":"Structured forward geocoding: look up a postal address given as separate parts (street, locality, region, postal code, c","description":"Structured forward geocoding: look up a postal address given as separate parts (street, locality, region, postal code, country), which is more exact than free text. Use for \"Find 11 Wall Street, New York, NY 10005 in the United States\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"address":{"anyOf":[{"maxLength":200,"type":"string"},{"type":"null"}],"default":null,"description":"Street name with optional house number, for example '11 Wall Street'. Do not combine with street or house_number.","title":"Address"},"neighbourhood":{"anyOf":[{"maxLength":100,"type":"string"},{"type":"null"}],"default":null,"description":"Neighbourhood name.","title":"Neighbourhood"},"borough":{"anyOf":[{"maxLength":100,"type":"string"},{"type":"null"}],"default":null,"description":"Borough within a city (used in places such as New York City).","title":"Borough"},"locality":{"anyOf":[{"maxLength":100,"type":"string"},{"type":"null"}],"default":null,"description":"City, town or village.","title":"Locality"},"county":{"anyOf":[{"maxLength":100,"type":"string"},{"type":"null"}],"default":null,"description":"County or similar division.","title":"County"},"region":{"anyOf":[{"maxLength":100,"type":"string"},{"type":"null"}],"default":null,"description":"State, province or similar first-level division.","title":"Region"},"postalcode":{"anyOf":[{"maxLength":20,"type":"string"},{"type":"null"}],"default":null,"description":"Postal or ZIP code.","title":"Postalcode"},"country":{"anyOf":[{"maxLength":60,"type":"string"},{"type":"null"}],"default":null,"description":"Country name or ISO 3166 two- or three-letter code (codes work best).","title":"Country"},"boundary_country":{"anyOf":[{"maxLength":60,"type":"string"},{"type":"null"}],"default":null,"description":"Limit results to these countries: ISO 3166 two- or three-letter codes, comma separated, for example 'GBR,FRA'.","title":"Boundary Country"},"layers":{"anyOf":[{"maxLength":100,"type":"string"},{"type":"null"}],"default":null,"description":"Limit results to these layers, comma separated, for example 'address,venue' or 'coarse' (city, region and country level only).","title":"Layers"},"sources":{"anyOf":[{"maxLength":100,"type":"string"},{"type":"null"}],"default":null,"description":"Limit results to these data sources, comma separated, for example 'openstreetmap,whosonfirst'.","title":"Sources"},"size":{"anyOf":[{"maximum":50,"minimum":1,"type":"integer"},{"type":"null"}],"default":10,"description":"Maximum number of results (default 10; this connector allows up to 50).","title":"Size"},"lang":{"anyOf":[{"maxLength":12,"type":"string"},{"type":"null"}],"default":null,"description":"BCP 47 language tag for the language of place names, for example 'en' or 'ko'.","title":"Lang"}},"title":"search_address_partsArguments","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":"Reverse geocoding: turn a latitude and longitude into the nearest addresses or places, or into the cities, regions and c","description":"Reverse geocoding: turn a latitude and longitude into the nearest addresses or places, or into the cities, regions and countries that contain the point (with layers=coarse). Use for \"What address is at latitude 59.444351, longitude 24.750645\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"point_lat":{"description":"Latitude of the point.","maximum":90,"minimum":-90,"title":"Point Lat","type":"number"},"point_lon":{"description":"Longitude of the point.","maximum":180,"minimum":-180,"title":"Point Lon","type":"number"},"boundary_circle_radius":{"anyOf":[{"maximum":1000,"minimum":0,"type":"number"},{"type":"null"}],"default":null,"description":"Search radius in kilometres (provider default 1; this connector allows up to 1000).","title":"Boundary Circle Radius"},"layers":{"anyOf":[{"maxLength":100,"type":"string"},{"type":"null"}],"default":null,"description":"Limit results to these layers, comma separated, for example 'address,venue' or 'coarse' (city, region and country level only).","title":"Layers"},"sources":{"anyOf":[{"maxLength":100,"type":"string"},{"type":"null"}],"default":null,"description":"Limit results to these data sources, comma separated, for example 'openstreetmap,whosonfirst'.","title":"Sources"},"boundary_country":{"anyOf":[{"maxLength":60,"type":"string"},{"type":"null"}],"default":null,"description":"Limit results to these countries: ISO 3166 two- or three-letter codes, comma separated, for example 'GBR,FRA'.","title":"Boundary Country"},"size":{"anyOf":[{"maximum":50,"minimum":1,"type":"integer"},{"type":"null"}],"default":10,"description":"Maximum number of results (default 10; this connector allows up to 50).","title":"Size"},"lang":{"anyOf":[{"maxLength":12,"type":"string"},{"type":"null"}],"default":null,"description":"BCP 47 language tag for the language of place names, for example 'en' or 'ko'.","title":"Lang"}},"required":["point_lat","point_lon"],"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/autocomplete_places":{"post":{"operationId":"autocomplete_places","summary":"Autocomplete as-you-type search: suggest places and addresses that start with the typed text, with name, coarse location","description":"Autocomplete as-you-type search: suggest places and addresses that start with the typed text, with name, coarse location and distance from a focus point. Wait for 2 to 3 characters before searching. Use for \"Suggest places that start with 'Põhja pst 2'\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"text":{"description":"Partial text typed so far, for example 'Union Squ'.","maxLength":200,"title":"Text","type":"string"},"focus_point_lat":{"anyOf":[{"maximum":90,"minimum":-90,"type":"number"},{"type":"null"}],"default":null,"description":"Latitude of a point to bias results toward (give together with focus_point_lon).","title":"Focus Point Lat"},"focus_point_lon":{"anyOf":[{"maximum":180,"minimum":-180,"type":"number"},{"type":"null"}],"default":null,"description":"Longitude of a point to bias results toward (give together with focus_point_lat).","title":"Focus Point Lon"},"boundary_country":{"anyOf":[{"maxLength":60,"type":"string"},{"type":"null"}],"default":null,"description":"Limit results to these countries: ISO 3166 two- or three-letter codes, comma separated, for example 'GBR,FRA'.","title":"Boundary Country"},"layers":{"anyOf":[{"maxLength":100,"type":"string"},{"type":"null"}],"default":null,"description":"Limit results to these layers, comma separated, for example 'address,venue' or 'coarse' (city, region and country level only).","title":"Layers"},"sources":{"anyOf":[{"maxLength":100,"type":"string"},{"type":"null"}],"default":null,"description":"Limit results to these data sources, comma separated, for example 'openstreetmap,whosonfirst'.","title":"Sources"},"size":{"anyOf":[{"maximum":50,"minimum":1,"type":"integer"},{"type":"null"}],"default":10,"description":"Maximum number of results (default 10; this connector allows up to 50).","title":"Size"},"lang":{"anyOf":[{"maxLength":12,"type":"string"},{"type":"null"}],"default":null,"description":"BCP 47 language tag for the language of place names, for example 'en' or 'ko'.","title":"Lang"}},"required":["text"],"title":"autocomplete_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/get_place_details":{"post":{"operationId":"get_place_details","summary":"Get full details of places by their GIDs (identifiers returned by search, reverse and autocomplete). GIDs of OpenStreetM","description":"Get full details of places by their GIDs (identifiers returned by search, reverse and autocomplete). GIDs of OpenStreetMap and OpenAddresses data are not guaranteed to stay stable. Use for \"Give me the details of place openstreetmap:address:way/109867749\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"ids":{"description":"One or more GIDs, comma separated, for example 'openstreetmap:address:way/109867749'.","maxLength":500,"title":"Ids","type":"string"},"lang":{"anyOf":[{"maxLength":12,"type":"string"},{"type":"null"}],"default":null,"description":"BCP 47 language tag for the language of place names, for example 'en' or 'ko'.","title":"Lang"}},"required":["ids"],"title":"get_place_detailsArguments","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_time_zone":{"post":{"operationId":"lookup_time_zone","summary":"Find the IANA time zone of a coordinate with its base UTC offset, daylight-saving offset and local time, optionally at a","description":"Find the IANA time zone of a coordinate with its base UTC offset, daylight-saving offset and local time, optionally at a given Unix timestamp. Use for \"What time zone is at latitude 47.37 and longitude 8.54\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"lat":{"description":"Latitude of the location.","maximum":90,"minimum":-90,"title":"Lat","type":"number"},"lng":{"description":"Longitude of the location.","maximum":180,"minimum":-180,"title":"Lng","type":"number"},"timestamp":{"anyOf":[{"minimum":0,"type":"integer"},{"type":"null"}],"default":null,"description":"Unix timestamp (seconds) at which offsets are computed; default is now.","title":"Timestamp"}},"required":["lat","lng"],"title":"lookup_time_zoneArguments","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}}}}