{"openapi":"3.1.0","info":{"title":"NOBIL (BYOK) API","version":"0.1.0","description":"NOBIL (BYOK) lets an AI assistant read your own NOBIL data through the NOBIL API with a key you supply (NOBIL API key). Read-only: 11 tools (search_stations_in_area, get_station, find_nearest_stations, count_stations_by_county, count_stations_in_county, count_stations_by_municipality_in_county, count_stations_in_municipality, count_stations_by_zip_in_municipality, get_country_station_total,...\n\nEvery operation is read-only or compute-only. The same tools are available over MCP (streamable HTTP) at https://byok-nobil.connectorbay.com/mcp.","contact":{"name":"Unify Dynamics LLC","email":"agent@connectorbay.com","url":"https://connectorbay.com/byok-nobil/docs"},"termsOfService":"https://connectorbay.com/byok-nobil/terms"},"servers":[{"url":"https://byok-nobil.connectorbay.com"}],"externalDocs":{"url":"https://connectorbay.com/byok-nobil/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_stations_in_area":{"post":{"operationId":"search_stations_in_area","summary":"List charging stations inside a map rectangle (small areas such as a town), with address, owner, number of charging poin","description":"List charging stations inside a map rectangle (small areas such as a town), with address, owner, number of charging points, availability and connector attributes. Use for \"Which EV chargers are in the rectangle around central Oslo\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"northeast":{"description":"North-east corner as '(lat, lng)', for example '(59.943921, 10.826683)'.","maxLength":60,"title":"Northeast","type":"string"},"southwest":{"description":"South-west corner as '(lat, lng)', for example '(59.883683, 10.650901)'.","maxLength":60,"title":"Southwest","type":"string"},"apiversion":{"anyOf":[{"const":"3","type":"string"},{"type":"null"}],"default":"3","description":"NOBIL API version; fixed to 3.","title":"Apiversion"},"action":{"anyOf":[{"const":"search","type":"string"},{"type":"null"}],"default":"search","description":"Action; fixed to search.","title":"Action"},"type":{"anyOf":[{"const":"rectangle","type":"string"},{"type":"null"}],"default":"rectangle","description":"Search type; fixed to rectangle for this tool.","title":"Type"},"limit":{"anyOf":[{"maximum":2000,"minimum":1,"type":"integer"},{"type":"null"}],"default":50,"description":"Maximum stations to return (default 2000).","title":"Limit"},"format":{"anyOf":[{"const":"json","type":"string"},{"type":"null"}],"default":"json","description":"Response format; fixed to json.","title":"Format"}},"required":["northeast","southwest"],"title":"search_stations_in_areaArguments","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_station":{"post":{"operationId":"get_station","summary":"Get all data for one charging station by its international id (for example NOR_00171), including station and connector a","description":"Get all data for one charging station by its international id (for example NOR_00171), including station and connector attributes. Use for \"Show me everything about charging station NOR_00171\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"id":{"description":"International station id, for example NOR_00171 (Norway) or SWE_xxxxx.","maxLength":20,"title":"Id","type":"string"},"apiversion":{"anyOf":[{"const":"3","type":"string"},{"type":"null"}],"default":"3","description":"NOBIL API version; fixed to 3.","title":"Apiversion"},"action":{"anyOf":[{"const":"search","type":"string"},{"type":"null"}],"default":"search","description":"Action; fixed to search.","title":"Action"},"type":{"anyOf":[{"const":"id","type":"string"},{"type":"null"}],"default":"id","description":"Search type; fixed to id for this tool.","title":"Type"},"format":{"anyOf":[{"const":"json","type":"string"},{"type":"null"}],"default":"json","description":"Response format; fixed to json.","title":"Format"}},"required":["id"],"title":"get_stationArguments","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_nearest_stations":{"post":{"operationId":"find_nearest_stations","summary":"Find the closest charging stations to a point within a distance in metres, nearest first. Use for \"Where are the nearest","description":"Find the closest charging stations to a point within a distance in metres, nearest first. Use for \"Where are the nearest EV chargers to central Oslo\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"lat":{"description":"Latitude in decimal degrees.","maximum":90,"minimum":-90,"title":"Lat","type":"number"},"long":{"description":"Longitude in decimal degrees.","maximum":180,"minimum":-180,"title":"Long","type":"number"},"apiversion":{"anyOf":[{"const":"3","type":"string"},{"type":"null"}],"default":"3","description":"NOBIL API version; fixed to 3.","title":"Apiversion"},"action":{"anyOf":[{"const":"search","type":"string"},{"type":"null"}],"default":"search","description":"Action; fixed to search.","title":"Action"},"type":{"anyOf":[{"const":"near","type":"string"},{"type":"null"}],"default":"near","description":"Search type; fixed to near for this tool.","title":"Type"},"distance":{"anyOf":[{"maximum":50000,"minimum":1,"type":"integer"},{"type":"null"}],"default":2000,"description":"Search distance in metres.","title":"Distance"},"limit":{"anyOf":[{"maximum":100,"minimum":1,"type":"integer"},{"type":"null"}],"default":10,"description":"Maximum stations to return.","title":"Limit"},"format":{"anyOf":[{"const":"json","type":"string"},{"type":"null"}],"default":"json","description":"Response format; fixed to json.","title":"Format"}},"required":["lat","long"],"title":"find_nearest_stationsArguments","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/count_stations_by_county":{"post":{"operationId":"count_stations_by_county","summary":"Get the total count of active charging stations in each county of a country. Use for \"How many charging stations are the","description":"Get the total count of active charging stations in each county of a country. Use for \"How many charging stations are there in each Norwegian county\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"countrycode":{"description":"Country code in ISO 639-2 form: NOR for Norway or SWE for Sweden.","enum":["NOR","SWE"],"title":"Countrycode","type":"string"},"apiversion":{"anyOf":[{"const":"3","type":"string"},{"type":"null"}],"default":"3","description":"NOBIL API version; fixed to 3.","title":"Apiversion"},"action":{"anyOf":[{"const":"search","type":"string"},{"type":"null"}],"default":"search","description":"Action; fixed to search.","title":"Action"},"type":{"anyOf":[{"const":"stats_TotalsAllCounties","type":"string"},{"type":"null"}],"default":"stats_TotalsAllCounties","description":"Search type; fixed to stats_TotalsAllCounties for this tool.","title":"Type"},"format":{"anyOf":[{"const":"json","type":"string"},{"type":"null"}],"default":"json","description":"Response format; fixed to json.","title":"Format"}},"required":["countrycode"],"title":"count_stations_by_countyArguments","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/count_stations_in_county":{"post":{"operationId":"count_stations_in_county","summary":"Get the total count of active charging stations for one county (for example 11 is Rogaland). Use for \"How many charging ","description":"Get the total count of active charging stations for one county (for example 11 is Rogaland). Use for \"How many charging stations are in Rogaland\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"id":{"description":"County id, for example 11 for Rogaland.","maxLength":8,"title":"Id","type":"string"},"countrycode":{"description":"Country code in ISO 639-2 form: NOR for Norway or SWE for Sweden.","enum":["NOR","SWE"],"title":"Countrycode","type":"string"},"apiversion":{"anyOf":[{"const":"3","type":"string"},{"type":"null"}],"default":"3","description":"NOBIL API version; fixed to 3.","title":"Apiversion"},"action":{"anyOf":[{"const":"search","type":"string"},{"type":"null"}],"default":"search","description":"Action; fixed to search.","title":"Action"},"type":{"anyOf":[{"const":"stats_TotalsByCountyId","type":"string"},{"type":"null"}],"default":"stats_TotalsByCountyId","description":"Search type; fixed to stats_TotalsByCountyId for this tool.","title":"Type"},"format":{"anyOf":[{"const":"json","type":"string"},{"type":"null"}],"default":"json","description":"Response format; fixed to json.","title":"Format"}},"required":["id","countrycode"],"title":"count_stations_in_countyArguments","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/count_stations_by_municipality_in_county":{"post":{"operationId":"count_stations_by_municipality_in_county","summary":"Get the count of active charging stations in a county grouped by municipality. Use for \"Break down Rogaland's charging s","description":"Get the count of active charging stations in a county grouped by municipality. Use for \"Break down Rogaland's charging stations by municipality\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"id":{"description":"County id, for example 11 for Rogaland.","maxLength":8,"title":"Id","type":"string"},"countrycode":{"description":"Country code in ISO 639-2 form: NOR for Norway or SWE for Sweden.","enum":["NOR","SWE"],"title":"Countrycode","type":"string"},"apiversion":{"anyOf":[{"const":"3","type":"string"},{"type":"null"}],"default":"3","description":"NOBIL API version; fixed to 3.","title":"Apiversion"},"action":{"anyOf":[{"const":"search","type":"string"},{"type":"null"}],"default":"search","description":"Action; fixed to search.","title":"Action"},"type":{"anyOf":[{"const":"stats_DetailedTotalsByCountyId","type":"string"},{"type":"null"}],"default":"stats_DetailedTotalsByCountyId","description":"Search type; fixed to stats_DetailedTotalsByCountyId for this tool.","title":"Type"},"format":{"anyOf":[{"const":"json","type":"string"},{"type":"null"}],"default":"json","description":"Response format; fixed to json.","title":"Format"}},"required":["id","countrycode"],"title":"count_stations_by_municipality_in_countyArguments","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/count_stations_in_municipality":{"post":{"operationId":"count_stations_in_municipality","summary":"Get the total count of active charging stations for one municipality (for example 1103 is Stavanger). Use for \"How many ","description":"Get the total count of active charging stations for one municipality (for example 1103 is Stavanger). Use for \"How many charging stations are in Stavanger\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"id":{"description":"Municipality id, for example 1103 for Stavanger.","maxLength":8,"title":"Id","type":"string"},"countrycode":{"description":"Country code in ISO 639-2 form: NOR for Norway or SWE for Sweden.","enum":["NOR","SWE"],"title":"Countrycode","type":"string"},"apiversion":{"anyOf":[{"const":"3","type":"string"},{"type":"null"}],"default":"3","description":"NOBIL API version; fixed to 3.","title":"Apiversion"},"action":{"anyOf":[{"const":"search","type":"string"},{"type":"null"}],"default":"search","description":"Action; fixed to search.","title":"Action"},"type":{"anyOf":[{"const":"stats_TotalsByMunicipalId","type":"string"},{"type":"null"}],"default":"stats_TotalsByMunicipalId","description":"Search type; fixed to stats_TotalsByMunicipalId for this tool.","title":"Type"},"format":{"anyOf":[{"const":"json","type":"string"},{"type":"null"}],"default":"json","description":"Response format; fixed to json.","title":"Format"}},"required":["id","countrycode"],"title":"count_stations_in_municipalityArguments","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/count_stations_by_zip_in_municipality":{"post":{"operationId":"count_stations_by_zip_in_municipality","summary":"Get the count of active charging stations for each zip code in a municipality. Use for \"Break down Stavanger's charging ","description":"Get the count of active charging stations for each zip code in a municipality. Use for \"Break down Stavanger's charging stations by zip code\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"id":{"description":"Municipality id, for example 1103 for Stavanger.","maxLength":8,"title":"Id","type":"string"},"countrycode":{"description":"Country code in ISO 639-2 form: NOR for Norway or SWE for Sweden.","enum":["NOR","SWE"],"title":"Countrycode","type":"string"},"apiversion":{"anyOf":[{"const":"3","type":"string"},{"type":"null"}],"default":"3","description":"NOBIL API version; fixed to 3.","title":"Apiversion"},"action":{"anyOf":[{"const":"search","type":"string"},{"type":"null"}],"default":"search","description":"Action; fixed to search.","title":"Action"},"type":{"anyOf":[{"const":"stats_DetailTotalsByMunicipalId","type":"string"},{"type":"null"}],"default":"stats_DetailTotalsByMunicipalId","description":"Search type; fixed to stats_DetailTotalsByMunicipalId for this tool.","title":"Type"},"format":{"anyOf":[{"const":"json","type":"string"},{"type":"null"}],"default":"json","description":"Response format; fixed to json.","title":"Format"}},"required":["id","countrycode"],"title":"count_stations_by_zip_in_municipalityArguments","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_country_station_total":{"post":{"operationId":"get_country_station_total","summary":"Get the total number of charging stations in a country. Use for \"How many charging stations does Norway have in total\".","description":"Get the total number of charging stations in a country. Use for \"How many charging stations does Norway have in total\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"countrycode":{"description":"Country code in ISO 639-2 form: NOR for Norway or SWE for Sweden.","enum":["NOR","SWE"],"title":"Countrycode","type":"string"},"apiversion":{"anyOf":[{"const":"3","type":"string"},{"type":"null"}],"default":"3","description":"NOBIL API version; fixed to 3.","title":"Apiversion"},"action":{"anyOf":[{"const":"search","type":"string"},{"type":"null"}],"default":"search","description":"Action; fixed to search.","title":"Action"},"type":{"anyOf":[{"const":"stats_GetSumChargerstations","type":"string"},{"type":"null"}],"default":"stats_GetSumChargerstations","description":"Search type; fixed to stats_GetSumChargerstations for this tool.","title":"Type"},"format":{"anyOf":[{"const":"json","type":"string"},{"type":"null"}],"default":"json","description":"Response format; fixed to json.","title":"Format"}},"required":["countrycode"],"title":"get_country_station_totalArguments","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_connector_type_counts":{"post":{"operationId":"get_connector_type_counts","summary":"Get the number of charging connectors in a country by connector type. Use for \"How many connectors of each type does Swe","description":"Get the number of charging connectors in a country by connector type. Use for \"How many connectors of each type does Sweden have\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"countrycode":{"description":"Country code in ISO 639-2 form: NOR for Norway or SWE for Sweden.","enum":["NOR","SWE"],"title":"Countrycode","type":"string"},"apiversion":{"anyOf":[{"const":"3","type":"string"},{"type":"null"}],"default":"3","description":"NOBIL API version; fixed to 3.","title":"Apiversion"},"action":{"anyOf":[{"const":"search","type":"string"},{"type":"null"}],"default":"search","description":"Action; fixed to search.","title":"Action"},"type":{"anyOf":[{"const":"stats_GetCountChargerConnectorsTypes","type":"string"},{"type":"null"}],"default":"stats_GetCountChargerConnectorsTypes","description":"Search type; fixed to stats_GetCountChargerConnectorsTypes for this tool.","title":"Type"},"format":{"anyOf":[{"const":"json","type":"string"},{"type":"null"}],"default":"json","description":"Response format; fixed to json.","title":"Format"}},"required":["countrycode"],"title":"get_connector_type_countsArguments","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_recent_changelog":{"post":{"operationId":"get_recent_changelog","summary":"Get the changelog of human edits to the NOBIL database since a timestamp, at most 7 days back. Use for \"What charging st","description":"Get the changelog of human edits to the NOBIL database since a timestamp, at most 7 days back. Use for \"What charging stations changed in the NOBIL database in the last day\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"timestamp":{"description":"Start time as 'YYYY-MM-DD HH:MM:SS', at most 7 days before today.","maxLength":30,"title":"Timestamp","type":"string"}},"required":["timestamp"],"title":"get_recent_changelogArguments","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}}}}