{"source":"nve","operation":"get_power_plant","description":"Get one hydro or wind power plant with owners, licences and technical\ndetails. Signature: get_power_plant(plant_id: integer, required; technology: string, required; limit: integer, items, optional, default 25; offset: integer, items, optional, default 0).","signature":"get_power_plant(plant_id: integer, required; technology: string, required; limit: integer, items, optional, default 25; offset: integer, items, optional, default 0)","parameters":[{"name":"plant_id","type":"integer","schema":{"type":"integer"},"required":true,"default":null,"description":"Plant id from find_power_plants() (VannKraftverkID for hydro, VindkraftAnleggId for wind).","unit":null},{"name":"technology","type":"string","schema":{"type":"string"},"required":true,"default":null,"description":"\"hydro\" or \"wind\".","unit":null},{"name":"limit","type":"integer","schema":{"type":"integer","minimum":1,"maximum":100,"default":25},"display_type":"integer","required":false,"default":25,"description":"Maximum list items returned by the gateway (default 25, maximum 100).","unit":"items"},{"name":"offset","type":"integer","schema":{"type":"integer","minimum":0,"default":0},"display_type":"integer","required":false,"default":0,"description":"Number of list items to skip before returning the page.","unit":"items"}],"json_get_url_template":"https://allemannsdata.com/wiki/api/v1/kilder/nve/get_power_plant?plant_id={plant_id}&technology={technology}&limit=25&offset=0","schema_scope":"#/data in the successful operation envelope","response_schema":{"anyOf":[{"type":"object","properties":{"id":{"type":"integer"},"technology":{"type":"string","enum":["hydro","wind"]},"name":{"type":["string","null"]},"plant_type":{"type":["string","null"]},"status":{"type":["string","null"]},"owner":{"type":["string","null"]},"owner_org_nr":{"type":["string","null"]},"county":{"type":["string","null"]},"municipality":{"type":["string","null"]},"municipality_code":{"type":["string","null"]},"price_area":{"type":["string","null"]},"capacity_mw":{"type":["number","null"]},"mean_annual_production_gwh":{"type":["number","null"]},"first_operation_year":{"type":["integer","null"]},"river_system":{"type":["string","null"]},"turbines":{"type":["integer","null"]},"owners":{"type":"array","items":{"type":"object","properties":{"name":{"type":["string","null"]},"organization_id":{"type":["string","null"]},"share_percent":{"type":["number","null"]},"operator":{"type":["boolean","null"]}},"additionalProperties":false}},"licences":{"type":"array","items":{"type":"object","properties":{"id":{"type":["integer","null"]},"title":{"type":["string","null"]}},"additionalProperties":false}},"head_m":{"type":["number","null"]},"max_flow_m3s":{"type":["number","null"]},"regine_no":{"type":["string","null"]},"in_operation_since":{"type":["string","null"],"format":"date"},"closed_year":{"type":["integer","null"]}},"additionalProperties":false,"required":["id","technology","name","status","owners","licences"]},{"type":"object","properties":{"id":{"type":"integer"},"technology":{"type":"string","enum":["hydro","wind"]},"name":{"type":["string","null"]},"plant_type":{"type":["string","null"]},"status":{"type":["string","null"]},"owner":{"type":["string","null"]},"owner_org_nr":{"type":["string","null"]},"county":{"type":["string","null"]},"municipality":{"type":["string","null"]},"municipality_code":{"type":["string","null"]},"price_area":{"type":["string","null"]},"capacity_mw":{"type":["number","null"]},"mean_annual_production_gwh":{"type":["number","null"]},"first_operation_year":{"type":["integer","null"]},"river_system":{"type":["string","null"]},"turbines":{"type":["integer","null"]},"turbine_groups":{"type":"array","items":{"type":"object","properties":{"manufacturer":{"type":["string","null"]},"type":{"type":["string","null"]},"count":{"type":["integer","null"]},"size_kw":{"type":["number","null"]},"commissioned":{"type":["string","null"],"format":"date"},"decommissioned":{"type":["string","null"],"format":"date"}},"additionalProperties":false}},"hub_height_m":{"type":["number","null"]},"rotor_diameter_m":{"type":["number","null"]},"facility_no":{"type":["integer","null"]}},"additionalProperties":false,"required":["id","technology","name","status","turbine_groups"]}]},"response_schema_status":{"status":"declared","codegen_safe":true,"description":"Maintained response contract."},"entity_projection":{"status":"projected","entity_types":["hydrology_station"],"description":"Recognized records and stable operation identifiers are projected; an empty array means the successful payload contained no recognizable entity."},"error_contract":{"scope":"top-level HTTP error response; never part of a success payload","schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"retryable":{"type":"boolean"},"details":{"type":"object"}},"additionalProperties":false,"required":["code","message","retryable"]},"suggestion":{"type":"string"},"_meta":{"type":"object","properties":{"retrieved_at":{"type":"string","format":"date-time"},"language":{"type":"string","const":"en"},"content_languages":{"type":"array","items":{"type":"string"}},"sources":{"type":"array","items":{"type":"object"}}},"required":["retrieved_at","language","content_languages","sources"]},"_links":{"type":"object","properties":{"self":{"type":"string","format":"uri"},"api_index":{"type":"string","format":"uri"},"feedback":{"type":"string","format":"uri"}},"required":["self","api_index","feedback"],"additionalProperties":false}},"additionalProperties":false,"required":["error","suggestion","_meta","_links"]},"statuses":{"400":{"codes":["MISSING_PARAMETER","INVALID_PARAMETER","INVALID_REQUEST"],"retryable":false},"404":{"codes":["SOURCE_NOT_FOUND","OPERATION_NOT_FOUND","ENTITY_NOT_FOUND"],"retryable":false},"429":{"codes":["RATE_LIMITED","GATEWAY_RATE_LIMITED"],"retryable":true},"502":{"codes":["SOURCE_UNAVAILABLE"],"retryable":true},"500":{"codes":["INTERNAL_ERROR"],"retryable":true}}},"_links":{"self":"https://allemannsdata.com/wiki/api/v1/kilder/nve/get_power_plant/schema","operation":"https://allemannsdata.com/wiki/api/v1/kilder/nve/get_power_plant","source":"https://allemannsdata.com/wiki/api/v1/kilder/nve","feedback":"https://allemannsdata.com/wiki/api/v1/feedback"},"output_fields":["id","technology","name","plant_type","status","owner","owner_org_nr","county","municipality","municipality_code","price_area","capacity_mw","mean_annual_production_gwh","first_operation_year","river_system","turbines","owners","owners[].name","owners[].organization_id","owners[].share_percent","owners[].operator","licences","licences[].id","licences[].title","head_m","max_flow_m3s","regine_no","in_operation_since","closed_year","turbine_groups"],"output_fields_truncated":true,"canonical_field_aliases":{"identifier":["id","licences[].id"],"name":["name","owners[].name","licences[].title"]},"response_example":{"source":"nve","operation":"get_power_plant","parameters":{"plant_id":1,"technology":"example value"},"data":{"id":1,"technology":"hydro","name":"Example","plant_type":"example value","status":"example value","owner":"example value","owner_org_nr":"example value","county":"example value","municipality":"example value","municipality_code":"example value","price_area":"example value","capacity_mw":1.0,"mean_annual_production_gwh":1.0,"first_operation_year":1,"river_system":"example value","turbines":1,"owners":[{"name":"Example","organization_id":"example-id","share_percent":1.0,"operator":true}],"licences":[{"id":1,"title":"Example"}],"head_m":1.0,"max_flow_m3s":1.0,"regine_no":"example value","in_operation_since":"2026-01-15","closed_year":1},"entities":[],"_meta":{"retrieved_at":"2026-01-15T12:00:00Z","language":"en","content_languages":["en"],"sources":[{"id":"nve","name":"NVE HydAPI","description":"Hydrological stations and observations for water level, discharge, temperature, snow and groundwater, plus every hydro and wind power plant with owner, capacity and production.","cache_ttl_seconds":60,"documentation":"https://hydapi.nve.no/UserDocumentation/"}]},"_provenance":{"data":{"source":"nve","source_api":"https://allemannsdata.com/wiki/api/v1/kilder/nve"},"entities":{"source":"nve","source_api":"https://allemannsdata.com/wiki/api/v1/kilder/nve","derived_from":"#/data","description":"Normalized projection of data."}},"_links":{"self":"https://allemannsdata.com/wiki/api/v1/kilder/nve/get_power_plant","source":"https://allemannsdata.com/wiki/api/v1/kilder/nve","wiki":"https://allemannsdata.com/wiki/kilder/nve/get_power_plant/","feedback":"https://allemannsdata.com/wiki/api/v1/feedback"}}}
