Major update to Fishhealth API (2025-02-14)
To accomodate for changes in the disease data sent by aquaculture sites, the Fishhealth API has some updates.
In addition to Pancreas disease (PD) and Infectious salmon anemia (ISA), the API is now providing data about several other types of disease via new endpoints.
The outdated endpoints have now been marked as obsolete in the Fishhealth API, and will be removed after 25th of May 2025.
Affected endpoints
-
POST
/v2/geodata/fishhealth/{year}/{week}
Replaces
GET
/v1/geodata/fishhealth/{year}/{week}
year
,week
,totalNumberOfLocalities
,numberOfFilteredLocalities
andnumberOfReportingLocalities
- no longer availablediseaseOutbreaks
- replacesnewLocalitiesWithDisease
diseaseStatistics
- replacesnumberOfLocalitiesWithIla
andnumberOfLocalitiesWithPd
annualDiseaseStatistics
- replacesnewLocalitiesWithDiseaseAnnual
diseaseStatistics
- replacestotalNewIlaCases
andtotalNewPdCases
filteredDiseaseStatistics
- replacesincludedNewIlaCases
andincludedNewPdCases
weeklyDiseaseStatistics
- replacesnewDiseaseCases
farmedFishEscapes
- replacesescapes
annualEscapeStatistics
- replacesescapesAnnual
escapeStatistics
andfilteredEscapeStatistics
- new propertiesweeklyEscapeStatistics
- replacesescapes
liceStatistics
aboveThreshold
- replaceslocalitiesAboveThreshold
andpercentageOfLocalitiesAboveThreshold
belowThreshold
- replaceslocalitiesBelowThreshold
andpercentageOfLocalitiesBelowThreshold
belowMinimumThreshold
- replaceslocalitiesBelowMinimumThreshold
andpercentageOfLocalitiesBelowMinimumThreshold
annualLiceStatistics
- replaceslocalitiesAboveLiceLimitAnnual
liceStatistics
- replacestotalLocalitiesAboveLiceLimitCount
filteredLiceStatistics
- replacesincludedLocalitiesAboveLiceLimitCount
weeklyLiceStatistics
- replaceslocalitiesAboveLiceLimitCount
-
POST
/v2/geodata/fishhealth/locality/{year}/{week}
Replaces
GET
/v1/geodata/fishhealth/locality/{year}/{week}
year
andweek
- no longer availablediseases
- replaceshasIla
andhasPd
geometry
- replaceslat
andlon
liceReport
hasReported
- replaceshasReportedLice
isFallow
- replaces + relocatesisFallow
adultFemaleLice
average
- replacesavgAdultFemaleLice
averageOfPreviousWeek
- new property
mobileLice
- new propertystationaryLice
- new propertytotalLice
- new property
liceTreatments
- replaceshasCleanerfishDeployed
,hasMechanicalRemoval
andhasSubstanceTreatments
hasSalmonoidLicense
- replaceshasSalmonoids
locality
- replaceslocalityNo
,name
andisOnLand
municipality
- replacesmunicipalityNo
andmunicipality
-
GET
/v2/geodata/fishhealth/locality/{localityNo}/{year}/{week}
Replaces
GET
/v1/geodata/fishhealth/locality/{localityNo}/{year}/{week}
localityWeek
hasBathTreatment
,hasCleanerFishDeployed
,hasInFeedTreatment
andhasMechanicalRemoval
- no longer available (seeliceTreatments
)
aquaCultureRegister
hasSalmonoidLicense
- replaceslocalityWeek.hasSalmonoids
hasGreenLicense
- replacesaquaCultureRegister.isGreen
isSlaughterHoldingCage
- replaceslocalityWeek.isSlaughterHoldingCage
productionTypes
- a list instead of a comma-delimited textpurposes
- a list instead of a comma-delimited textspecies
- a list instead of a comma-delimited textspeciesList
- no longer available (seespecies
)
controlAreas
- replacesilaSurveillanceZones
,ilaProtectionZones
,pdSurveillanceZones
andpdProtectionZones
diseases
- replacesilaPd
andilaPdCase
version
- new propertyversion = 1
: previouslyilaPd
name
- replacesdisease
status
- replacesruling
suspicionDate
- replacesfromDate
whenstatus=SUSPECTED
diagnosisDate
- replacesfromDate
whenstatus=DIAGNOSED
closureDate
- replacestoDate
version = 2
: previouslyilaPdCase
name
- replacesdisease
subType
- replacessubtype
createdDate
- no longer availablechangedDate
- no longer availablesuspicionDate
- replacessuspectedDate
diagnosisDate
- replacesconfirmedDate
disproved
- no longer availabledisprovedDate
- no longer availableclosureDate
- replacesclosedDate
version = 3
: disease cases after 2024 week 49
farmedFishEscapes
- replacesescapes
geometry
- replaceslat
andlon
liceReport
hasReported
- replaceslocalityWeek.hasReportedLice
isFallow
- replaceslocalityWeek.isFallow
adultFemaleLice
average
- replaceslocalityWeek.avgAdultFemaleLice
averageOfPreviousWeek
- replacesliceCountPreviousWeek.avgAdultFemaleLice
mobileLice
average
- replaceslocalityWeek.avgMobileLice
averageOfPreviousWeek
- replacesliceCountPreviousWeek.avgMobileLice
stationaryLice
average
- replaceslocalityWeek.avgStationaryLice
averageOfPreviousWeek
- replacesliceCountPreviousWeek.avgStationaryLice
totalLice
- new propertyseaTemperature
- replaceslocalityWeek.seaTemperature
liceTreatments
combinationTreatments
- replaceslocalityWeek.combinationTreatments
medicinalTreatments
- replaceslocalityWeek.medicinalTreatments
nonMedicinalTreatments
- replaceslocalityWeek.nonMedicinalTreatments
bathTreatments
- replaceslocalityWeek.bathTreatments
cleanerFishTreatment
- replaceslocalityWeek.cleanerFish
inFeedTreatments
- replaceslocalityWeek.inFeedTreatments
mechanicalRemovalTreatment
- replaceslocalityWeek.mechanicalRemoval
daysSinceLastChitinSynthesisInhibitorTreatment
- replacestimeSinceLastChitinSynthesisInhibitorTreatment
locality
- replacesaquaCultureRegister.name
,aquaCultureRegister.localityNo
municipality
- replacesaquaCultureRegister.municipalityNo
andaquaCultureRegister.municipality
productionArea
- certain properties are no longer available
-
GET
/v3/geodata/fishhealth/locality/{localityNo}/disease/{year}
Replaces
GET
/v2/geodata/fishhealth/locality/{localityNo}/disease/{year}
name
- replacesdisease
subType
- replacessubtype
version
- new propertysuspicionDate
- replacessuspectedDate
diagnosisDate
- replacesconfirmedDate
disproved
- no longer availabledisprovedDate
- no longer availableclosureDate
- replacesclosedDate