{"openapi":"3.1.0","info":{"title":"Maps.co (BYOK) API","version":"0.1.0","description":"Maps.co (BYOK) lets an AI assistant read your own Maps.co data through the Maps.co API with a key you supply (Maps.co geocoding API key). Read-only: 5 tools (geocode_address, geocode_structured, find_amenity, reverse_geocode, lookup_osm_objects). 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.maps.co....\n\nEvery operation is read-only or compute-only. The same tools are available over MCP (streamable HTTP) at https://byok-mapsco.connectorbay.com/mcp.","contact":{"name":"Unify Dynamics LLC","email":"agent@connectorbay.com","url":"https://connectorbay.com/byok-mapsco/docs"},"termsOfService":"https://connectorbay.com/byok-mapsco/terms"},"servers":[{"url":"https://byok-mapsco.connectorbay.com"}],"externalDocs":{"url":"https://connectorbay.com/byok-mapsco/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":"Convert a free-form address or place name to coordinates, with display name, type, importance and structured address par","description":"Convert a free-form address or place name to coordinates, with display name, type, importance and structured address parts. Use for \"What are the coordinates of 1600 Amphitheatre Parkway, Mountain View\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"q":{"description":"Free-form address or place name, for example '1600 Amphitheatre Parkway, Mountain View'.","maxLength":300,"title":"Q","type":"string"},"limit":{"anyOf":[{"maximum":40,"minimum":1,"type":"integer"},{"type":"null"}],"default":10,"description":"How many results to return (1 to 40).","title":"Limit"},"countrycodes":{"anyOf":[{"maxLength":40,"type":"string"},{"type":"null"}],"default":null,"description":"Only results in these countries, as comma-separated two-letter codes, for example 'us,ca'.","title":"Countrycodes"},"accept_language":{"anyOf":[{"maxLength":20,"type":"string"},{"type":"null"}],"default":null,"description":"Language code for the result names, for example en, fr or it; detected automatically when left out.","title":"Accept Language"}},"required":["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/geocode_structured":{"post":{"operationId":"geocode_structured","summary":"Convert an address given as separate fields (street, city, state, country, postal code) to coordinates; give at least on","description":"Convert an address given as separate fields (street, city, state, country, postal code) to coordinates; give at least one field. Use for \"Find the coordinates of postal code 560001 in Bengaluru, India\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"street":{"anyOf":[{"maxLength":150,"type":"string"},{"type":"null"}],"default":null,"description":"House number and street name.","title":"Street"},"city":{"anyOf":[{"maxLength":100,"type":"string"},{"type":"null"}],"default":null,"description":"City name.","title":"City"},"county":{"anyOf":[{"maxLength":100,"type":"string"},{"type":"null"}],"default":null,"description":"County or district.","title":"County"},"state":{"anyOf":[{"maxLength":100,"type":"string"},{"type":"null"}],"default":null,"description":"State or region.","title":"State"},"country":{"anyOf":[{"maxLength":100,"type":"string"},{"type":"null"}],"default":null,"description":"Country name.","title":"Country"},"postalcode":{"anyOf":[{"maxLength":20,"type":"string"},{"type":"null"}],"default":null,"description":"Postal code.","title":"Postalcode"},"limit":{"anyOf":[{"maximum":40,"minimum":1,"type":"integer"},{"type":"null"}],"default":10,"description":"How many results to return (1 to 40).","title":"Limit"},"accept_language":{"anyOf":[{"maxLength":20,"type":"string"},{"type":"null"}],"default":null,"description":"Language code for the result names, for example en, fr or it; detected automatically when left out.","title":"Accept Language"}},"title":"geocode_structuredArguments","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/find_amenity":{"post":{"operationId":"find_amenity","summary":"Find a place of interest (for example a pharmacy, school or named business) in a city or country and return its coordina","description":"Find a place of interest (for example a pharmacy, school or named business) in a city or country and return its coordinates. Use for \"Find pharmacies in Pune, India\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"amenity":{"description":"Kind of place or business name, for example 'pharmacy' or 'Blue Bottle Coffee'.","maxLength":100,"title":"Amenity","type":"string"},"city":{"anyOf":[{"maxLength":100,"type":"string"},{"type":"null"}],"default":null,"description":"City to search in.","title":"City"},"country":{"anyOf":[{"maxLength":100,"type":"string"},{"type":"null"}],"default":null,"description":"Country name to search in.","title":"Country"},"limit":{"anyOf":[{"maximum":40,"minimum":1,"type":"integer"},{"type":"null"}],"default":10,"description":"How many results to return (1 to 40).","title":"Limit"},"accept_language":{"anyOf":[{"maxLength":20,"type":"string"},{"type":"null"}],"default":null,"description":"Language code for the result names, for example en, fr or it; detected automatically when left out.","title":"Accept Language"}},"required":["amenity"],"title":"find_amenityArguments","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":"Convert latitude and longitude to the nearest address or place (one result) with structured address parts. Use for \"What","description":"Convert latitude and longitude to the nearest address or place (one result) with structured address parts. Use for \"What address is at latitude 40.7033, longitude -74.0105\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"lat":{"description":"Latitude in decimal degrees, -90 to 90.","maximum":90,"minimum":-90,"title":"Lat","type":"number"},"lon":{"description":"Longitude in decimal degrees, -180 to 180.","maximum":180,"minimum":-180,"title":"Lon","type":"number"},"zoom":{"anyOf":[{"maximum":18,"minimum":3,"type":"integer"},{"type":"null"}],"default":null,"description":"Level of detail from 3 (country) to 18 (building).","title":"Zoom"},"accept_language":{"anyOf":[{"maxLength":20,"type":"string"},{"type":"null"}],"default":null,"description":"Language code for the result names, for example en, fr or it; detected automatically when left out.","title":"Accept Language"}},"required":["lat","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/lookup_osm_objects":{"post":{"operationId":"lookup_osm_objects","summary":"Get details of one or more OpenStreetMap objects by id, each prefixed with N (node), W (way) or R (relation). Use for \"S","description":"Get details of one or more OpenStreetMap objects by id, each prefixed with N (node), W (way) or R (relation). Use for \"Show details of OpenStreetMap relation R175905\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"osm_ids":{"description":"Comma-separated OSM ids with type prefix, for example 'R175905,W50637691'.","maxLength":200,"title":"Osm Ids","type":"string"},"accept_language":{"anyOf":[{"maxLength":20,"type":"string"},{"type":"null"}],"default":null,"description":"Language code for the result names, for example en, fr or it; detected automatically when left out.","title":"Accept Language"}},"required":["osm_ids"],"title":"lookup_osm_objectsArguments","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}}}}