{"openapi":"3.1.0","info":{"title":"Open Charge Map (BYOK) API","version":"0.1.0","description":"Open Charge Map (BYOK) lets an AI assistant read your own Open Charge Map data through the Open Charge Map API with a key you supply (Open Charge Map API key). Read-only: 5 tools (find_charge_points_near, list_charge_points_in_country, get_charge_point, find_charge_points_in_box, list_recently_updated_charge_points). The BYOK key travels with each request, is used for that one call only and is...\n\nEvery operation is read-only or compute-only. The same tools are available over MCP (streamable HTTP) at https://byok-openchargemap.connectorbay.com/mcp.","contact":{"name":"Unify Dynamics LLC","email":"agent@connectorbay.com","url":"https://connectorbay.com/byok-openchargemap/docs"},"termsOfService":"https://connectorbay.com/byok-openchargemap/terms"},"servers":[{"url":"https://byok-openchargemap.connectorbay.com"}],"externalDocs":{"url":"https://connectorbay.com/byok-openchargemap/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/find_charge_points_near":{"post":{"operationId":"find_charge_points_near","summary":"Find EV charging locations within a distance of a point, nearest first, with address, operator, status, cost and connect","description":"Find EV charging locations within a distance of a point, nearest first, with address, operator, status, cost and connectors. Use for \"Which EV chargers are within 5 km of central Bristol\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"latitude":{"description":"Latitude in decimal degrees of the search centre.","maximum":90,"minimum":-90,"title":"Latitude","type":"number"},"longitude":{"description":"Longitude in decimal degrees of the search centre.","maximum":180,"minimum":-180,"title":"Longitude","type":"number"},"distance":{"anyOf":[{"maximum":500,"minimum":0,"type":"number"},{"type":"null"}],"default":10,"description":"Maximum distance from the point (default 10).","title":"Distance"},"distanceunit":{"anyOf":[{"enum":["km","miles"],"type":"string"},{"type":"null"}],"default":"km","description":"Unit of distance: km or miles.","title":"Distanceunit"},"levelid":{"anyOf":[{"maxLength":20,"type":"string"},{"type":"null"}],"default":null,"description":"Charging level ids (1 to 3), comma separated.","title":"Levelid"},"connectiontypeid":{"anyOf":[{"maxLength":60,"type":"string"},{"type":"null"}],"default":null,"description":"Connector type ids, comma separated, as listed in Open Charge Map reference data.","title":"Connectiontypeid"},"operatorid":{"anyOf":[{"maxLength":60,"type":"string"},{"type":"null"}],"default":null,"description":"Charging network operator ids, comma separated.","title":"Operatorid"},"statustypeid":{"anyOf":[{"maxLength":40,"type":"string"},{"type":"null"}],"default":null,"description":"Status type ids, comma separated, as listed in Open Charge Map reference data.","title":"Statustypeid"},"usagetypeid":{"anyOf":[{"maxLength":40,"type":"string"},{"type":"null"}],"default":null,"description":"Usage type ids, comma separated, as listed in Open Charge Map reference data.","title":"Usagetypeid"},"maxresults":{"anyOf":[{"maximum":50,"minimum":1,"type":"integer"},{"type":"null"}],"default":10,"description":"How many charge points to return (1 to 50).","title":"Maxresults"},"compact":{"anyOf":[{"type":"boolean"},{"type":"null"}],"default":false,"description":"True to return only ids for reference data (operator, connector types and so on) for a smaller answer.","title":"Compact"},"verbose":{"anyOf":[{"type":"boolean"},{"type":"null"}],"default":false,"description":"False (default) drops empty fields from the answer.","title":"Verbose"}},"required":["latitude","longitude"],"title":"find_charge_points_nearArguments","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_charge_points_in_country":{"post":{"operationId":"list_charge_points_in_country","summary":"List EV charging locations in one country by ISO code, optionally by charging level, connector type or operator. Use for","description":"List EV charging locations in one country by ISO code, optionally by charging level, connector type or operator. Use for \"List rapid EV chargers in Norway\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"countrycode":{"description":"Two-letter ISO country code, for example NO.","maxLength":2,"title":"Countrycode","type":"string"},"levelid":{"anyOf":[{"maxLength":20,"type":"string"},{"type":"null"}],"default":null,"description":"Charging level ids (1 to 3), comma separated.","title":"Levelid"},"connectiontypeid":{"anyOf":[{"maxLength":60,"type":"string"},{"type":"null"}],"default":null,"description":"Connector type ids, comma separated, as listed in Open Charge Map reference data.","title":"Connectiontypeid"},"operatorid":{"anyOf":[{"maxLength":60,"type":"string"},{"type":"null"}],"default":null,"description":"Charging network operator ids, comma separated.","title":"Operatorid"},"statustypeid":{"anyOf":[{"maxLength":40,"type":"string"},{"type":"null"}],"default":null,"description":"Status type ids, comma separated, as listed in Open Charge Map reference data.","title":"Statustypeid"},"usagetypeid":{"anyOf":[{"maxLength":40,"type":"string"},{"type":"null"}],"default":null,"description":"Usage type ids, comma separated, as listed in Open Charge Map reference data.","title":"Usagetypeid"},"sortby":{"anyOf":[{"enum":["modified_asc","id_asc"],"type":"string"},{"type":"null"}],"default":null,"description":"Order: modified_asc (oldest change first) or id_asc; default by spatial index.","title":"Sortby"},"maxresults":{"anyOf":[{"maximum":50,"minimum":1,"type":"integer"},{"type":"null"}],"default":10,"description":"How many charge points to return (1 to 50).","title":"Maxresults"},"compact":{"anyOf":[{"type":"boolean"},{"type":"null"}],"default":false,"description":"True to return only ids for reference data (operator, connector types and so on) for a smaller answer.","title":"Compact"},"verbose":{"anyOf":[{"type":"boolean"},{"type":"null"}],"default":false,"description":"False (default) drops empty fields from the answer.","title":"Verbose"}},"required":["countrycode"],"title":"list_charge_points_in_countryArguments","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_charge_point":{"post":{"operationId":"get_charge_point","summary":"Get one charging location by its Open Charge Map id, with full connector list, cost and operator. Use for \"Show Open Cha","description":"Get one charging location by its Open Charge Map id, with full connector list, cost and operator. Use for \"Show Open Charge Map location 100200\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"chargepointid":{"description":"Open Charge Map POI id (several may be comma separated).","maxLength":60,"title":"Chargepointid","type":"string"},"compact":{"anyOf":[{"type":"boolean"},{"type":"null"}],"default":false,"description":"True to return only ids for reference data (operator, connector types and so on) for a smaller answer.","title":"Compact"},"verbose":{"anyOf":[{"type":"boolean"},{"type":"null"}],"default":false,"description":"False (default) drops empty fields from the answer.","title":"Verbose"}},"required":["chargepointid"],"title":"get_charge_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}},"/v1/tools/find_charge_points_in_box":{"post":{"operationId":"find_charge_points_in_box","summary":"List EV charging locations inside a rectangular area given by two corners. Use for \"Which chargers are in the box from (","description":"List EV charging locations inside a rectangular area given by two corners. Use for \"Which chargers are in the box from (51.5,-2.7) to (51.4,-2.5)\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"boundingbox":{"description":"Top-left and bottom-right corners as (lat,lng),(lat,lng), for example (51.5,-2.7),(51.4,-2.5).","maxLength":80,"title":"Boundingbox","type":"string"},"levelid":{"anyOf":[{"maxLength":20,"type":"string"},{"type":"null"}],"default":null,"description":"Charging level ids (1 to 3), comma separated.","title":"Levelid"},"connectiontypeid":{"anyOf":[{"maxLength":60,"type":"string"},{"type":"null"}],"default":null,"description":"Connector type ids, comma separated, as listed in Open Charge Map reference data.","title":"Connectiontypeid"},"operatorid":{"anyOf":[{"maxLength":60,"type":"string"},{"type":"null"}],"default":null,"description":"Charging network operator ids, comma separated.","title":"Operatorid"},"statustypeid":{"anyOf":[{"maxLength":40,"type":"string"},{"type":"null"}],"default":null,"description":"Status type ids, comma separated, as listed in Open Charge Map reference data.","title":"Statustypeid"},"usagetypeid":{"anyOf":[{"maxLength":40,"type":"string"},{"type":"null"}],"default":null,"description":"Usage type ids, comma separated, as listed in Open Charge Map reference data.","title":"Usagetypeid"},"maxresults":{"anyOf":[{"maximum":50,"minimum":1,"type":"integer"},{"type":"null"}],"default":10,"description":"How many charge points to return (1 to 50).","title":"Maxresults"},"compact":{"anyOf":[{"type":"boolean"},{"type":"null"}],"default":false,"description":"True to return only ids for reference data (operator, connector types and so on) for a smaller answer.","title":"Compact"},"verbose":{"anyOf":[{"type":"boolean"},{"type":"null"}],"default":false,"description":"False (default) drops empty fields from the answer.","title":"Verbose"}},"required":["boundingbox"],"title":"find_charge_points_in_boxArguments","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_recently_updated_charge_points":{"post":{"operationId":"list_recently_updated_charge_points","summary":"List charging locations changed after a date, oldest change first or by id, optionally within one country. Use for \"Whic","description":"List charging locations changed after a date, oldest change first or by id, optionally within one country. Use for \"Which UK chargers were updated since 1 September 2026\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"modifiedsince":{"description":"Only locations modified after this date or time, for example 2026-09-01.","maxLength":30,"title":"Modifiedsince","type":"string"},"countrycode":{"anyOf":[{"maxLength":2,"type":"string"},{"type":"null"}],"default":null,"description":"Two-letter ISO country code to limit the search.","title":"Countrycode"},"sortby":{"anyOf":[{"enum":["modified_asc","id_asc"],"type":"string"},{"type":"null"}],"default":"modified_asc","description":"Order: modified_asc (oldest change first) or id_asc.","title":"Sortby"},"maxresults":{"anyOf":[{"maximum":50,"minimum":1,"type":"integer"},{"type":"null"}],"default":10,"description":"How many charge points to return (1 to 50).","title":"Maxresults"},"compact":{"anyOf":[{"type":"boolean"},{"type":"null"}],"default":false,"description":"True to return only ids for reference data (operator, connector types and so on) for a smaller answer.","title":"Compact"},"verbose":{"anyOf":[{"type":"boolean"},{"type":"null"}],"default":false,"description":"False (default) drops empty fields from the answer.","title":"Verbose"}},"required":["modifiedsince"],"title":"list_recently_updated_charge_pointsArguments","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}}}}